aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorMel Gorman <[email protected]>2010-05-24 14:32:31 -0700
committerLinus Torvalds <[email protected]>2010-05-25 08:06:59 -0700
commit5e7719058079a1423ccce56148b0aaa56b2df821 (patch)
tree3666cb3d5540dcaa3d8e7df8c293a0ad603a181c /tools/perf/scripts/python/syscall-counts-by-pid.py
parent56de7263fcf3eb10c8dcdf8d59a9cec831795f3f (diff)
mm: compaction: add a tunable that decides when memory should be compacted and when it should be reclaimed
The kernel applies some heuristics when deciding if memory should be compacted or reclaimed to satisfy a high-order allocation. One of these is based on the fragmentation. If the index is below 500, memory will not be compacted. This choice is arbitrary and not based on data. To help optimise the system and set a sensible default for this value, this patch adds a sysctl extfrag_threshold. The kernel will only compact memory if the fragmentation index is above the extfrag_threshold. [[email protected]: Fix build errors when proc fs is not configured] Signed-off-by: Mel Gorman <[email protected]> Signed-off-by: Randy Dunlap <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Minchan Kim <[email protected]> Cc: KOSAKI Motohiro <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: KAMEZAWA Hiroyuki <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions