From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e5.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id l6AFSlTx007742 for ; Tue, 10 Jul 2007 11:28:47 -0400 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.3) with ESMTP id l6AFSlrx322920 for ; Tue, 10 Jul 2007 11:28:47 -0400 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l6AFSlAg008936 for ; Tue, 10 Jul 2007 11:28:47 -0400 Date: Tue, 10 Jul 2007 08:28:46 -0700 From: Nishanth Aravamudan Subject: Re: [RFC][PATCH] hugetlbfs read support Message-ID: <20070710152846.GD27655@us.ibm.com> References: <1184009291.31638.8.camel@dyn9047017100.beaverton.ibm.com> <20070710091720.GA28371@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070710091720.GA28371@infradead.org> Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Hellwig Cc: Badari Pulavarty , Linux Memory Management , clameter@sgi.com, Bill Irwin , agl@us.ibm.com List-ID: On 10.07.2007 [10:17:20 +0100], Christoph Hellwig wrote: > On Mon, Jul 09, 2007 at 12:28:11PM -0700, Badari Pulavarty wrote: > > Comments/flames ? > > > > Thanks, > > Badari > > > > 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. > > The code looks fine, but I really hate that we need it all all. We > really should make the general VM/FS code large page aware and get rid > of this whole hack called hugetlbfs.. I agree and sounds like something to bring up at KS (again?) or the VM/FS summit. But, for now, hugetlbfs is the supported interface and libhugetlbfs has run into this issue supporting one of its features. So I would like to see this make it in. Just my $0.02 as a libhuge developer. 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