From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [rfc] split_page function to split higher order pages? From: Arjan van de Ven In-Reply-To: <20060123084715.GA9241@osiris.boeblingen.de.ibm.com> References: <20060121124053.GA911@wotan.suse.de> <1137853024.23974.0.camel@laptopd505.fenrus.org> <20060123054927.GA9960@wotan.suse.de> <20060123084715.GA9241@osiris.boeblingen.de.ibm.com> Content-Type: text/plain Date: Mon, 23 Jan 2006 09:54:05 +0100 Message-Id: <1138006445.2977.24.camel@laptopd505.fenrus.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Heiko Carstens Cc: Nick Piggin , Linux Kernel Mailing List , Linux Memory Management List List-ID: On Mon, 2006-01-23 at 09:47 +0100, Heiko Carstens wrote: > > > > Just wondering what people think of the idea of using a helper > > > > function to split higher order pages instead of doing it manually? > > > > > > Maybe it's worth documenting that this is for kernel (or even > > > architecture) internal use only and that drivers really shouldn't be > > > doing this.. > > > > I guess it doesn't seem like something drivers would need to use > > (and none appear to do anything like it). > > And I thought this could/should be used together with vm_insert_page() that > drivers are supposed to use nowadays instead of remap_pfn_range(). > Why shouldn't drivers use this? because in that case the drivers shouldn't allocate higher order pages in the first place... -- 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