diff options
Diffstat (limited to 'mm/vmscan.c')
-rw-r--r-- | mm/vmscan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c index b950f193816e..87779dda4ec6 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c | |||
@@ -1661,7 +1661,7 @@ int zone_reclaim(struct zone *zone, gfp_t gfp_mask, unsigned int order) | |||
1661 | * over remote processors and spread off node memory allocations | 1661 | * over remote processors and spread off node memory allocations |
1662 | * as wide as possible. | 1662 | * as wide as possible. |
1663 | */ | 1663 | */ |
1664 | node_id = zone->zone_pgdat->node_id; | 1664 | node_id = zone_to_nid(zone); |
1665 | mask = node_to_cpumask(node_id); | 1665 | mask = node_to_cpumask(node_id); |
1666 | if (!cpus_empty(mask) && node_id != numa_node_id()) | 1666 | if (!cpus_empty(mask) && node_id != numa_node_id()) |
1667 | return 0; | 1667 | return 0; |