]> git.baikalelectronics.ru Git - kernel.git/commit
mm: remove unnecessary reclaimability check from NUMA balancing target
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 3 May 2017 21:52:00 +0000 (14:52 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 May 2017 22:52:07 +0000 (15:52 -0700)
commit3c8732b42bea594fd24a2910c9f3d447608ae913
tree3e90905951527a79e880f6e19f8a798f21bc2e39
parentfcbcebf0112fd60e70ca38c2ec92203b1caff249
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.

Link: http://lkml.kernel.org/r/20170228214007.5621-5-hannes@cmpxchg.org
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Hillf Danton <hillf.zj@alibaba-inc.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Jia He <hejianet@gmail.com>
Cc: Mel Gorman <mgorman@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/migrate.c