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.
This commit is contained in:
syphyr 2019-04-15 21:06:40 +02:00
parent 0bab0a32f6
commit 6604f82576

View file

@ -1137,8 +1137,6 @@ __rmqueue_fallback(struct zone *zone, int order, int start_migratetype)
if (!is_migrate_cma(migratetype) && if (!is_migrate_cma(migratetype) &&
(unlikely(current_order >= pageblock_order / 2) || (unlikely(current_order >= pageblock_order / 2) ||
start_migratetype == MIGRATE_RECLAIMABLE || start_migratetype == MIGRATE_RECLAIMABLE ||
start_migratetype == MIGRATE_UNMOVABLE ||
start_migratetype == MIGRATE_MOVABLE ||
page_group_by_mobility_disabled)) { page_group_by_mobility_disabled)) {
int pages; int pages;
pages = move_freepages_block(zone, page, 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 */ /* Claim the whole block if over half of it is free */
if (pages >= (1 << (pageblock_order-1)) || if (pages >= (1 << (pageblock_order-1)) ||
start_migratetype == MIGRATE_MOVABLE ||
page_group_by_mobility_disabled) page_group_by_mobility_disabled)
set_pageblock_migratetype(page, set_pageblock_migratetype(page,
start_migratetype); start_migratetype);