aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorWei Yang <[email protected]>2020-06-01 21:48:55 -0700
committerLinus Torvalds <[email protected]>2020-06-02 10:59:08 -0700
commit08d3090fc8dadd7b726dbda99d1baa39382c3f2c (patch)
tree013385473643942fa98063f9d16dfb3d2acfd79b /tools/perf/scripts/python/compaction-times.py
parentbd2d18da4a4f182c3627a74dc768bd437e64c582 (diff)
mm/swapfile.c: simplify the calculation of n_goal
Use min3() to simplify the comparison and make it more self-explaining. Signed-off-by: Wei Yang <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Cc: Hugh Dickins <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions