Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-07-04 10:50:57 +0200
committerTakashi Iwai <tiwai@suse.de>2017-07-04 10:50:57 +0200
commit0ed4de5fd6b3e04dd6e0fba51c3f76e033eb9f94 (patch)
treed2f1c250d12eb31eb70260393b28c7beb96c69f3
parent59255c4b07fa2067e9a1028980924d6b6fbe419a (diff)
parentf3a38bbe00828ade3438655cf4482f445757533c (diff)
Merge branch 'SLE12-SP2' into users/tiwai/SLE12-SP3/for-updaterpm-4.4.75-8
-rw-r--r--mm/vmscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c
index bf48b6d7cab3..bf41907b09d0 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -2558,7 +2558,7 @@ static bool shrink_zones(struct zonelist *zonelist, struct scan_control *sc)
if (!populated_zone(zone))
continue;
- classzone_idx = requested_highidx;
+ classzone_idx = gfp_zone(sc->gfp_mask);
while (!populated_zone(zone->zone_pgdat->node_zones +
classzone_idx))
classzone_idx--;