From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 23 Mar 2007 15:15:55 +0000 (GMT) From: Mel Gorman Subject: Re: [patch] rfc: introduce /dev/hugetlb In-Reply-To: <20070323150924.GV2986@holomorphy.com> Message-ID: References: <20070323150924.GV2986@holomorphy.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: owner-linux-mm@kvack.org Return-Path: To: William Lee Irwin III Cc: Ken Chen , Adam Litke , Andrew Morton , Arjan van de Ven , Christoph Hellwig , linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: On Fri, 23 Mar 2007, William Lee Irwin III wrote: > On Fri, 23 Mar 2007, Ken Chen wrote: >>> -#ifdef HAVE_ARCH_HUGETLB_UNMAPPED_AREA >>> -unsigned long hugetlb_get_unmapped_area(struct file *file, unsigned long >>> addr, >>> - unsigned long len, unsigned long pgoff, unsigned long flags); >>> -#else >>> -static unsigned long >>> +unsigned long >>> hugetlb_get_unmapped_area(struct file *file, unsigned long addr, >>> unsigned long len, unsigned long pgoff, unsigned long flags) >> > On Fri, Mar 23, 2007 at 03:03:57PM +0000, Mel Gorman wrote: >> What is going on here? Why do arches not get to specify a >> get_unmapped_area any more? > > Lack of compiletesting beyond x86-64 in all probability. > Ok, this will go kablamo on Power then even if it compiles. I don't consider it a fundamental problem though. For the purposes of an RFC, it's grand and something that can be worked with. -- Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab -- 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