aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorJiri Kosina <[email protected]>2015-06-24 16:56:07 -0700
committerLinus Torvalds <[email protected]>2015-06-24 17:49:41 -0700
commitcd0924112119547b0d3fb13a9ed99717d924c2be (patch)
tree49a000c9132efe3fb88a9d31214511f6f38dae3b /tools/perf/scripts/python/check-perf-trace.py
parentebb09738d32b840be8157d556f7756e6dbcc1735 (diff)
thp: cleanup how khugepaged enters freezer
khugepaged_do_scan() checks in every iteration whether freezing(current) is true, and in such case breaks out of the loop, which causes try_to_freeze() to be called immediately afterwards in khugepaged_wait_work(). If nothing else, this causes unnecessary freezing(current) test, and also makes the way khugepaged enters freezer a bit less obvious than necessary. Let's just try to freeze directly, instead of splitting it into two (directly adjacent) phases. Signed-off-by: Jiri Kosina <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Andrea Arcangeli <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions