diff options
author | Guillem Jover <guillem@hadrons.org> | 2023-04-17 01:35:50 +0200 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2023-04-17 20:23:54 +0200 |
commit | 6c989df1af2ae2daf532c6c26b6300ac0039c4db (patch) | |
tree | e984a69d642eace85202d4ce4f37f8663c23368f | |
parent | 92b8493d81697e1505075c6843d1d06781b6cb27 (diff) |
proc.5: A process can increase its own /proc/PID/oom_adj setting
See kernel commit 8fb4fc68ca391862b061b3d358a288ccf6abed39.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r-- | man5/proc.5 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/man5/proc.5 b/man5/proc.5 index e037f2af8..152b73461 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -1633,7 +1633,10 @@ a new process inherits its parent's setting. A process must be privileged .RB ( CAP_SYS_RESOURCE ) -to update this file. +to update this file, +although a process can always increase its own +.I oom_adj +setting (since Linux 2.6.20). .IP Since Linux 2.6.36, use of this file is deprecated in favor of .IR /proc/ pid /oom_score_adj . |