From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: [PATCH] hugetlb: restore interleaving of bootmem huge pages Date: Thu, 16 Jul 2009 20:17:45 +0200 Message-ID: <20090716181745.GF8046@one.firstfloor.org> References: <1247754662.4382.51.camel@useless.americas.hpqcorp.net> <20090716173158.GB9507@shadowen.org> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20090716173158.GB9507@shadowen.org> Sender: owner-linux-mm@kvack.org List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Andy Whitcroft Cc: Lee Schermerhorn , Andrew Morton , linux-mm , Mel Gorman , Nishanth Aravamudan , David Rientjes , Adam Litke , Eric Whitney , linux-numa > It looks like this behaviour was in the original implementation to my eye. > It does indeed seem to prefer taking all it can from one node before moving > on to the next. Your change seems reasonable to my eye though it may be > worth asking Andi if it was intended. The intent of this change seems > to bring the behaviour into line with that of alloc_fresh_huge_page() > used for orders less than MAX_ORDER. I don't remember intending it this way. The intention was always standard round robin one by one. If it didn't do that it wasn't extended. -Andi -- ak@linux.intel.com -- Speaking for myself only. -- 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