]> git.baikalelectronics.ru Git - kernel.git/commit
mm: remove seemingly spurious reclaimability check from laptop_mode gating
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 3 May 2017 21:51:57 +0000 (14:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 May 2017 22:52:07 +0000 (15:52 -0700)
commitfcbcebf0112fd60e70ca38c2ec92203b1caff249
tree7a95683d7cf2fdd558cc6e09a2b8d5a79a92528a
parentd0a2fdc3d0d221b017476ef2be50863e85b3e58a
mm: remove seemingly spurious reclaimability check from laptop_mode gating

Commit 0861ed25707a ("mm, vmscan: make kswapd reclaim in terms of
nodes") allowed laptop_mode=1 to start writing not just when the
priority drops to DEF_PRIORITY - 2 but also when the node is
unreclaimable.

That appears to be a spurious change in this patch as I doubt the series
was tested with laptop_mode, and neither is that particular change
mentioned in the changelog.  Remove it, it's still recent.

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