aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMel Gorman <[email protected]>2013-07-03 15:01:47 -0700
committerLinus Torvalds <[email protected]>2013-07-03 16:07:28 -0700
commit2ab44f434586b8ccb11f781b4c2730492e6628f5 (patch)
tree5ff85d452c1fe1b34e04e3238c2de36e39203bcf /tools/perf/scripts/python
parentb8e83b942a16eb73e63406592d3178207a4f07a1 (diff)
mm: vmscan: decide whether to compact the pgdat based on reclaim progress
In the past, kswapd makes a decision on whether to compact memory after the pgdat was considered balanced. This more or less worked but it is late to make such a decision and does not fit well now that kswapd makes a decision whether to exit the zone scanning loop depending on reclaim progress. This patch will compact a pgdat if at least the requested number of pages were reclaimed from unbalanced zones for a given priority. If any zone is currently balanced, kswapd will not call compaction as it is expected the necessary pages are already available. Signed-off-by: Mel Gorman <[email protected]> Acked-by: Johannes Weiner <[email protected]> Reviewed-by: Michal Hocko <[email protected]> Cc: KAMEZAWA Hiroyuki <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Jiri Slaby <[email protected]> Cc: Valdis Kletnieks <[email protected]> Tested-by: Zlatko Calusic <[email protected]> Cc: dormando <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions