mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
mm/page_alloc: fix nodes for reclaim in fast path
am: d1e8042628
Change-Id: I8535fbab1eede643a486709df9910876daa511b9
This commit is contained in:
@@ -2858,7 +2858,7 @@ bool zone_watermark_ok_safe(struct zone *z, unsigned int order,
|
||||
#ifdef CONFIG_NUMA
|
||||
static bool zone_allows_reclaim(struct zone *local_zone, struct zone *zone)
|
||||
{
|
||||
return node_distance(zone_to_nid(local_zone), zone_to_nid(zone)) <
|
||||
return node_distance(zone_to_nid(local_zone), zone_to_nid(zone)) <=
|
||||
RECLAIM_DISTANCE;
|
||||
}
|
||||
#else /* CONFIG_NUMA */
|
||||
|
||||
Reference in New Issue
Block a user