commit | e1a556374abc0dbcc3815ba9b5a1ac2a082f23d9 | [log] [tgz] |
---|---|---|
author | Mel Gorman <[email protected]> | Thu Jul 28 15:46:26 2016 -0700 |
committer | Linus Torvalds <[email protected]> | Thu Jul 28 16:07:41 2016 -0700 |
tree | ba381015cdde7722351d4a15f6f07e8278654cd0 | |
parent | c4a25635b60d08853a3e4eaae3ab34419a36cfa2 [diff] |
mm, vmscan: only wakeup kswapd once per node for the requested classzone kswapd is woken when zones are below the low watermark but the wakeup decision is not taking the classzone into account. Now that reclaim is node-based, it is only required to wake kswapd once per node and only if all zones are unbalanced for the requested classzone. Note that one node might be checked multiple times if the zonelist is ordered by node because there is no cheap way of tracking what nodes have already been visited. For zone-ordering, each node should be checked only once. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Mel Gorman <[email protected]> Acked-by: Vlastimil Babka <[email protected]> Cc: Hillf Danton <[email protected]> Acked-by: Johannes Weiner <[email protected]> Cc: Joonsoo Kim <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Minchan Kim <[email protected]> Cc: Rik van Riel <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>