linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx.manpages@gmail.com>
To: Guillem Jover <guillem@hadrons.org>, Alejandro Colomar <alx@kernel.org>
Cc: linux-man@vger.kernel.org
Subject: Re: [PATCH 2/4] proc.5: A process can increase its own /proc/PID/oom_adj setting
Date: Mon, 17 Apr 2023 20:20:58 +0200	[thread overview]
Message-ID: <cbd5bdd6-faf3-49ec-6952-089e8eda96c1@gmail.com> (raw)
In-Reply-To: <20230416233552.283776-3-guillem@hadrons.org>


[-- Attachment #1.1: Type: text/plain, Size: 1035 bytes --]

Hi Guillem,

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

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2023-04-17 18:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-16 23:35 [PATCH 0/4] proc.5: Fixes and updates Guillem Jover
2023-04-16 23:35 ` [PATCH 1/4] proc.5: Document exact /proc/PID/exe behavior on unlinked pathnames Guillem Jover
2023-04-17 18:18   ` Alejandro Colomar
2023-04-16 23:35 ` [PATCH 2/4] proc.5: A process can increase its own /proc/PID/oom_adj setting Guillem Jover
2023-04-17 18:20   ` Alejandro Colomar [this message]
2023-04-16 23:35 ` [PATCH 3/4] proc.5: Document that /proc/<pid>/oom_adj is no longer present Guillem Jover
2023-04-17 18:28   ` Alejandro Colomar
2023-04-16 23:35 ` [PATCH 4/4] proc.5: tfix Guillem Jover
2023-04-17 18:29   ` Alejandro Colomar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cbd5bdd6-faf3-49ec-6952-089e8eda96c1@gmail.com \
    --to=alx.manpages@gmail.com \
    --cc=alx@kernel.org \
    --cc=guillem@hadrons.org \
    --cc=linux-man@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).