From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e1.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id l6AFhDNJ008531 for ; Tue, 10 Jul 2007 11:43:13 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v8.3) with ESMTP id l6AFhDfP387756 for ; Tue, 10 Jul 2007 11:43:13 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l6AFhCGO027569 for ; Tue, 10 Jul 2007 11:43:12 -0400 Date: Tue, 10 Jul 2007 08:43:12 -0700 From: Nishanth Aravamudan Subject: Re: [RFC][PATCH] hugetlbfs read support Message-ID: <20070710154312.GE27655@us.ibm.com> References: <1184009291.31638.8.camel@dyn9047017100.beaverton.ibm.com> <20070710153752.GV26380@holomorphy.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070710153752.GV26380@holomorphy.com> Sender: owner-linux-mm@kvack.org Return-Path: To: Bill Irwin , Badari Pulavarty , Linux Memory Management , clameter@sgi.com, agl@us.ibm.com List-ID: On 10.07.2007 [08:37:52 -0700], Bill Irwin wrote: > On Mon, Jul 09, 2007 at 12:28:11PM -0700, Badari Pulavarty wrote: > > Support for reading from hugetlbfs files. libhugetlbfs lets application > > text/data to be placed in large pages. When we do that, oprofile doesn't > > work - since it tries to read from it. > > This code is very similar to what do_generic_mapping_read() does, but > > I can't use it since it has PAGE_CACHE_SIZE assumptions. Christoph > > Lamater's cleanup to pagecache would hopefully give me all of this. > > Signed-off-by: Badari Pulavarty > > What's the testing status of all this? I thoroughly approve of the > concept, of course. With this change, OProfile is able to do symbol lookup (which is achieved via libbfd, which does reads() of the appropriate files) with relinked binaries in post-processing. The file utility is also able to recognize persistent text segments as ELF executables. If you would like further testing, let me know what. Thanks, Nish -- Nishanth Aravamudan IBM Linux Technology Center -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org