Skip to contentSkip to conversation

mm: remove unnecessary reclaimability check from NUMA balancing target

PATCH New [email protected] 1 participant 1 message May 3, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH 11/102 mm: remove unnecessary reclaimability check from NUMA balancing target

From: Johannes Weiner <[email protected]>
Subject: mm: remove unnecessary reclaimability check from NUMA balancing target

NUMA balancing already checks the watermarks of the target node to decide whether it's a suitable balancing target. Whether the node is reclaimable or not is irrelevant when we don't intend to reclaim.

---

 mm/migrate.c |    3 ---
 1 file changed, 3 deletions(-)
mm/migrate.c renamed from mm/migrate.c~mm-remove-unnecessary-reclaimability-check-from-numa-balancing-target +0 -2
diff -puN mm/migrate.c~mm-remove-unnecessary-reclaimability-check-from-numa-balancing-target mm/migrate.c
@@ -1722,9 +1722,6 @@ static bool migrate_balanced_pgdat(struc
 {
 	int z;
 
-	if (!pgdat_reclaimable(pgdat))
-		return false;