aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYaowei Bai <[email protected]>2015-11-05 18:47:20 -0800
committerLinus Torvalds <[email protected]>2015-11-05 19:34:48 -0800
commit21c527a3cba07f9a9ce17b3a445f110a847793e2 (patch)
treea87e5607b438dce4fce6c1cc49a6759d37e38712 /tools/perf/scripts/python
parent29d06bbb41595f82db309a5516426ef8bd0f27b7 (diff)
mm/compaction.c: add an is_via_compact_memory() helper
Introduce is_via_compact_memory() helper indicating compacting via /proc/sys/vm/compact_memory to improve readability. To catch this situation in __compaction_suitable, use order as parameter directly instead of using struct compact_control. This patch has no functional changes. Signed-off-by: Yaowei Bai <[email protected]> Cc: Mel Gorman <[email protected]> Acked-by: David Rientjes <[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