From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 19 Sep 2006 08:41:11 -0700 (PDT) From: Christoph Lameter Subject: Re: [PATCH] Get rid of zone_table V2 In-Reply-To: <20060919083851.75b26075.akpm@osdl.org> Message-ID: References: <20060918132818.603196e2.akpm@osdl.org> <20060918161528.9714c30c.akpm@osdl.org> <20060918165808.c410d1d4.akpm@osdl.org> <20060918173134.d3850903.akpm@osdl.org> <20060918233337.ef539a2b.akpm@osdl.org> <20060919083851.75b26075.akpm@osdl.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Andrew Morton Cc: linux-mm@kvack.org, Andy Whitcroft , Dave Hansen List-ID: On Tue, 19 Sep 2006, Andrew Morton wrote: > So it's not completely obvious what the best approach is here. It's an > area of some delicacy which requires some thought and testing. The primary thing that I though was worth doing is to get the size of struct zone to a power of 2. Then the multiply is avoided in page_zone. It just happened that this was possible by removing the padding. Would be okay to grow the size of struct zone to the next power of 2 bytes? -- 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