Re: [PATCH 2/4] proc.5: A process can increase its own /proc/PID/oom_adj setting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Guillem,

On 4/17/23 01:35, Guillem Jover wrote:
> See kernel commit 8fb4fc68ca391862b061b3d358a288ccf6abed39.
> 
> Signed-off-by: Guillem Jover <guillem@xxxxxxxxxxx>

Patch applied.

> ---
>  man5/proc.5 | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/man5/proc.5 b/man5/proc.5
> index 1947957ad..4bb7dd262 100644
> --- a/man5/proc.5
> +++ b/man5/proc.5
> @@ -1633,7 +1633,11 @@ 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,
> +.\" commit 8fb4fc68ca391862b061b3d358a288ccf6abed39
> +although a process can always increase its own
> +.I oom_adj
> +setting (since 2.6.20).

I specified "(since Linux 2.6.20)", for consistency.

Cheers,
Alex

>  .IP
>  Since Linux 2.6.36, use of this file is deprecated in favor of
>  .IR /proc/ pid /oom_score_adj .

-- 
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux