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 /man5/proc.5 | |
| parent | 92b8493d81697e1505075c6843d1d06781b6cb27 (diff) | |
| download | man-pages-6c989df1af2ae2daf532c6c26b6300ac0039c4db.tar.gz | |
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>
Diffstat (limited to 'man5/proc.5')
| -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 e037f2af82..152b73461a 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 . |
