From b2a0ac8875a0a3b9f0739b60526f8c5977d2200f Mon Sep 17 00:00:00 2001 From: Mel Gorman Date: Tue, 16 Oct 2007 01:25:48 -0700 Subject: Split the free lists for movable and unmovable allocations This patch adds the core of the fragmentation reduction strategy. It works by grouping pages together based on their ability to migrate or be reclaimed. Basically, it works by breaking the list in zone->free_area list into MIGRATE_TYPES number of lists. Signed-off-by: Mel Gorman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/linux/pageblock-flags.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux/pageblock-flags.h') diff --git a/include/linux/pageblock-flags.h b/include/linux/pageblock-flags.h index 96b623f9b4d..3619d52a425 100644 --- a/include/linux/pageblock-flags.h +++ b/include/linux/pageblock-flags.h @@ -31,6 +31,7 @@ /* Bit indices that affect a whole block of pages */ enum pageblock_bits { + PB_range(PB_migrate, 1), /* 1 bit required for migrate types */ NR_PAGEBLOCK_BITS }; -- cgit v1.2.3-70-g09d2