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);