diff options
author | Mel Gorman <mel@csn.ul.ie> | 2007-10-16 04:25:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:00 -0400 |
commit | ac0e5b7a6b93fb291b01fe1e951e3c16bcdd3503 (patch) | |
tree | 732f67c8de6e0d2e001b60c17af9599468b80163 /include | |
parent | 56fd56b868f19385c50af8941a4c78df433b2d32 (diff) |
remove PAGE_GROUP_BY_MOBILITY
Grouping pages by mobility can be disabled at compile-time. This was
considered undesirable by a number of people. However, in the current stack of
patches, it is not a simple case of just dropping the configurable patch as it
would cause merge conflicts. This patch backs out the configuration option.
Signed-off-by: Mel Gorman <mel@csn.ul.ie>
Acked-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mmzone.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index afdec8117458..09b2c4f50e38 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h | |||
@@ -33,21 +33,12 @@ | |||
33 | */ | 33 | */ |
34 | #define PAGE_ALLOC_COSTLY_ORDER 3 | 34 | #define PAGE_ALLOC_COSTLY_ORDER 3 |
35 | 35 | ||
36 | #ifdef CONFIG_PAGE_GROUP_BY_MOBILITY | ||
37 | #define MIGRATE_UNMOVABLE 0 | 36 | #define MIGRATE_UNMOVABLE 0 |
38 | #define MIGRATE_RECLAIMABLE 1 | 37 | #define MIGRATE_RECLAIMABLE 1 |
39 | #define MIGRATE_MOVABLE 2 | 38 | #define MIGRATE_MOVABLE 2 |
40 | #define MIGRATE_HIGHATOMIC 3 | 39 | #define MIGRATE_HIGHATOMIC 3 |
41 | #define MIGRATE_RESERVE 4 | 40 | #define MIGRATE_RESERVE 4 |
42 | #define MIGRATE_TYPES 5 | 41 | #define MIGRATE_TYPES 5 |
43 | #else | ||
44 | #define MIGRATE_UNMOVABLE 0 | ||
45 | #define MIGRATE_UNRECLAIMABLE 0 | ||
46 | #define MIGRATE_MOVABLE 0 | ||
47 | #define MIGRATE_HIGHATOMIC 0 | ||
48 | #define MIGRATE_RESERVE 0 | ||
49 | #define MIGRATE_TYPES 1 | ||
50 | #endif | ||
51 | 42 | ||
52 | #define for_each_migratetype_order(order, type) \ | 43 | #define for_each_migratetype_order(order, type) \ |
53 | for (order = 0; order < MAX_ORDER; order++) \ | 44 | for (order = 0; order < MAX_ORDER; order++) \ |