From 6604f82576a43d294eb91c1adab4d51aaf806045 Mon Sep 17 00:00:00 2001 From: syphyr Date: Mon, 15 Apr 2019 21:06:40 +0200 Subject: [PATCH] mm/page_allo.c: Remove Samsung specific code from rmqueue_fallback This will be added back to try_to_steal_freepages in a future commit. --- mm/page_alloc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 53cfe44063fe..5f941f531040 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -1137,8 +1137,6 @@ __rmqueue_fallback(struct zone *zone, int order, int start_migratetype) if (!is_migrate_cma(migratetype) && (unlikely(current_order >= pageblock_order / 2) || start_migratetype == MIGRATE_RECLAIMABLE || - start_migratetype == MIGRATE_UNMOVABLE || - start_migratetype == MIGRATE_MOVABLE || page_group_by_mobility_disabled)) { int pages; pages = move_freepages_block(zone, page, @@ -1146,7 +1144,6 @@ __rmqueue_fallback(struct zone *zone, int order, int start_migratetype) /* Claim the whole block if over half of it is free */ if (pages >= (1 << (pageblock_order-1)) || - start_migratetype == MIGRATE_MOVABLE || page_group_by_mobility_disabled) set_pageblock_migratetype(page, start_migratetype);