aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorWei Yang <[email protected]>2020-06-01 21:49:01 -0700
committerLinus Torvalds <[email protected]>2020-06-02 10:59:09 -0700
commit0fd0e19e4d0e9c84117584783535a57ec3ae98c6 (patch)
tree3973516dc52c52970a1747598d0c504ca7a8c946 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentabca1c84b7575b470789c8686688b11ba3bf138d (diff)
mm/swapfile.c: found_free could be represented by (tmp < max)
This is not necessary to use the variable found_free to record the status. Just check tmp and max is enough. Signed-off-by: Wei Yang <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: "Huang, Ying" <[email protected]> Cc: Tim Chen <[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/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions