diff options
| author | Charles Haithcock <[email protected]> | 2020-11-02 01:07:56 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-11-02 20:14:19 +0000 |
| commit | 66606567dedf395e0857f531976efad4cbbd39ea (patch) | |
| tree | 3314ef554731de6cb840c181bf96d4158820a4cd /scripts/bpf_helpers_doc.py | |
| parent | kthread_worker: prevent queuing delayed work from timer_fn when it is being c... (diff) | |
| download | kernel-66606567dedf395e0857f531976efad4cbbd39ea.tar.gz kernel-66606567dedf395e0857f531976efad4cbbd39ea.zip | |
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 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions
