mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-31 18:09:19 +00:00
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:
parent
0bab0a32f6
commit
6604f82576
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue