From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 24 Nov 2006 10:11:55 -0800 (PST) From: Linus Torvalds Subject: Re: [PATCH 1/11] Add __GFP_MOVABLE flag and update callers In-Reply-To: Message-ID: References: <20061121225022.11710.72178.sendpatchset@skynet.skynet.ie> <20061121225042.11710.15200.sendpatchset@skynet.skynet.ie> <20061123163613.GA25818@skynet.ie> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Lameter Cc: Mel Gorman , linux-mm@kvack.org, Linux Kernel Mailing List List-ID: On Fri, 24 Nov 2006, Christoph Lameter wrote: > > So please do not require movable pages to be user allocations. I don't think you read the whole sentence I wrote. Go back: USER just means "it it can fail much more eagerly". It really has nothing to do with user-mode per se. It's just not so core that the kernel cannot handle allocation failures, so it doesn't get to retry the allocation so eagerly. THAT is why "movable" is almost guaranteed to also imply USER. Not because it's not a "kernel" allocation. After all, _all_ page allocations are kernel allocations, it's just that some are more likely to be associated with direct user requests, and some are more internal. Linus -- 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