From: Vlastimil Babka <vbabka@suse.cz>
To: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>,
Alejandro Colomar <alx@kernel.org>
Cc: linux-man@vger.kernel.org, Suren Baghdasaryan <surenb@google.com>,
"Liam R . Howlett" <Liam.Howlett@oracle.com>,
Matthew Wilcox <willy@infradead.org>,
Jann Horn <jannh@google.com>,
linux-mm@kvack.org
Subject: Re: [PATCH man-pages v2] process_madvise.2: describe 6.13 behaviour permitting all madvise flags
Date: Thu, 5 Dec 2024 18:41:54 +0100 [thread overview]
Message-ID: <a651283d-3af7-4deb-a729-5c3a1868c63c@suse.cz> (raw)
In-Reply-To: <20241129164422.89837-1-lorenzo.stoakes@oracle.com>
On 11/29/24 17:44, Lorenzo Stoakes wrote:
> Since Linux 6.13 it has become possible to use all madvise flags when targeting
> the calling process. Update the man page to reflect this change.
>
> Reviewed-by: David Hildenbrand <david@redhat.com>
> Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
FWIW,
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
> ---
>
> v2:
> * Use semantic newlines as suggested by Alejandro.
> v1:
> https://lore.kernel.org/all/20241129095507.11001-1-lorenzo.stoakes@oracle.com/
>
> man/man2/process_madvise.2 | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/man/man2/process_madvise.2 b/man/man2/process_madvise.2
> index b78a61553..2ebbfea44 100644
> --- a/man/man2/process_madvise.2
> +++ b/man/man2/process_madvise.2
> @@ -54,7 +54,9 @@ This value must be less than or equal to
> or accessible via the call
> .IR sysconf(_SC_IOV_MAX) ).
> .P
> -The
> +If manipulating another process,
> +or before Linux 6.13,
> +the
> .I advice
> argument is one of the following values:
> .TP
> @@ -74,6 +76,10 @@ See
> See
> .BR madvise (2).
> .P
> +Starting in Linux 6.13,
> +when manipulating the calling process,
> +any advice flag is permitted.
> +.P
> The
> .I flags
> argument is reserved for future use; currently, this argument must be
> --
> 2.47.1
prev parent reply other threads:[~2024-12-05 17:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-29 16:44 Lorenzo Stoakes
2024-12-04 10:13 ` Alejandro Colomar
2024-12-04 11:43 ` Lorenzo Stoakes
2024-12-05 17:41 ` Vlastimil Babka [this message]
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=a651283d-3af7-4deb-a729-5c3a1868c63c@suse.cz \
--to=vbabka@suse.cz \
--cc=Liam.Howlett@oracle.com \
--cc=alx@kernel.org \
--cc=jannh@google.com \
--cc=linux-man@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lorenzo.stoakes@oracle.com \
--cc=surenb@google.com \
--cc=willy@infradead.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