aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWei Yang <richard.weiyang@gmail.com>2020-06-01 21:48:55 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-06-02 10:59:08 -0700
commit08d3090fc8dadd7b726dbda99d1baa39382c3f2c (patch)
tree013385473643942fa98063f9d16dfb3d2acfd79b /tools/perf/scripts/python/export-to-postgresql.py
parentmm/swapfile.c: remove the unnecessary goto for SSD case (diff)
downloadwireguard-linux-08d3090fc8dadd7b726dbda99d1baa39382c3f2c.tar.xz
wireguard-linux-08d3090fc8dadd7b726dbda99d1baa39382c3f2c.zip
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 <richard.weiyang@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Hugh Dickins <hughd@google.com> Link: http://lkml.kernel.org/r/20200325220309.9803-1-richard.weiyang@gmail.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions