diff options
author | Charles Haithcock <[email protected]> | 2020-11-01 17:07:56 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-11-02 12:14:19 -0800 |
commit | 66606567dedf395e0857f531976efad4cbbd39ea (patch) | |
tree | 3314ef554731de6cb840c181bf96d4158820a4cd /tools/perf/scripts/python/compaction-times.py | |
parent | 6993d0fdbee0eb38bfac350aa016f65ad11ed3b1 (diff) |
mm, oom: keep oom_adj under or at upper limit when printing
For oom_score_adj values in the range [942,999], the current
calculations will print 16 for oom_adj. This patch simply limits the
output so output is inline with docs.
Signed-off-by: Charles Haithcock <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Alexey Dobriyan <[email protected]>
Link: https://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