mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
56fd56b868
commit
ac0e5b7a6b
3 changed files with 2 additions and 62 deletions
|
@ -33,21 +33,12 @@
|
|||
*/
|
||||
#define PAGE_ALLOC_COSTLY_ORDER 3
|
||||
|
||||
#ifdef CONFIG_PAGE_GROUP_BY_MOBILITY
|
||||
#define MIGRATE_UNMOVABLE 0
|
||||
#define MIGRATE_RECLAIMABLE 1
|
||||
#define MIGRATE_MOVABLE 2
|
||||
#define MIGRATE_HIGHATOMIC 3
|
||||
#define MIGRATE_RESERVE 4
|
||||
#define MIGRATE_TYPES 5
|
||||
#else
|
||||
#define MIGRATE_UNMOVABLE 0
|
||||
#define MIGRATE_UNRECLAIMABLE 0
|
||||
#define MIGRATE_MOVABLE 0
|
||||
#define MIGRATE_HIGHATOMIC 0
|
||||
#define MIGRATE_RESERVE 0
|
||||
#define MIGRATE_TYPES 1
|
||||
#endif
|
||||
|
||||
#define for_each_migratetype_order(order, type) \
|
||||
for (order = 0; order < MAX_ORDER; order++) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue