From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 15 May 2007 20:19:55 +0100 (IST) From: Mel Gorman Subject: Re: [PATCH 1/8] Do not depend on MAX_ORDER when grouping pages by mobility In-Reply-To: Message-ID: References: <20070515150311.16348.56826.sendpatchset@skynet.skynet.ie> <20070515150331.16348.18072.sendpatchset@skynet.skynet.ie> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Lameter Cc: linux-mm@kvack.org List-ID: On Tue, 15 May 2007, Christoph Lameter wrote: > On Tue, 15 May 2007, Mel Gorman wrote: > >> >> #define SECTION_BLOCKFLAGS_BITS \ >> - ((1 << (PFN_SECTION_SHIFT - (MAX_ORDER-1))) * NR_PAGEBLOCK_BITS) >> + ((1UL << (PFN_SECTION_SHIFT - pageblock_order)) * NR_PAGEBLOCK_BITS) >> > > Ahh, Blockflags so this is not related to SPARSEMEM... > Only in that a bitmap is allocated per memory section instead of having a sparsely populated bitmap allocated for the zone. -- 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