* [PATCH man-pages] process_madvise.2: describe 6.13 behaviour permitting all madvise flags
@ 2024-11-29 9:55 Lorenzo Stoakes
2024-11-29 12:14 ` David Hildenbrand
2024-11-29 12:37 ` Alejandro Colomar
0 siblings, 2 replies; 5+ messages in thread
From: Lorenzo Stoakes @ 2024-11-29 9:55 UTC (permalink / raw)
To: Alejandro Colomar
Cc: linux-man, Suren Baghdasaryan, Liam R . Howlett, Matthew Wilcox,
Vlastimil Babka, Jann Horn, linux-mm
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.
Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
---
man/man2/process_madvise.2 | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/man/man2/process_madvise.2 b/man/man2/process_madvise.2
index b78a61553..d12407bdb 100644
--- a/man/man2/process_madvise.2
+++ b/man/man2/process_madvise.2
@@ -54,7 +54,7 @@ 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 prior to Linux 6.13, the
.I advice
argument is one of the following values:
.TP
@@ -74,6 +74,9 @@ 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH man-pages] process_madvise.2: describe 6.13 behaviour permitting all madvise flags
2024-11-29 9:55 [PATCH man-pages] process_madvise.2: describe 6.13 behaviour permitting all madvise flags Lorenzo Stoakes
@ 2024-11-29 12:14 ` David Hildenbrand
2024-11-29 12:16 ` Lorenzo Stoakes
2024-11-29 12:37 ` Alejandro Colomar
1 sibling, 1 reply; 5+ messages in thread
From: David Hildenbrand @ 2024-11-29 12:14 UTC (permalink / raw)
To: Lorenzo Stoakes, Alejandro Colomar
Cc: linux-man, Suren Baghdasaryan, Liam R . Howlett, Matthew Wilcox,
Vlastimil Babka, Jann Horn, linux-mm
On 29.11.24 10:55, 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.
>
> Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
> ---
> man/man2/process_madvise.2 | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/man/man2/process_madvise.2 b/man/man2/process_madvise.2
> index b78a61553..d12407bdb 100644
> --- a/man/man2/process_madvise.2
> +++ b/man/man2/process_madvise.2
> @@ -54,7 +54,7 @@ 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 prior to Linux 6.13, the
> .I advice
> argument is one of the following values:
> .TP
> @@ -74,6 +74,9 @@ 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
I was briefly concerned when reading the subject, then I realized here
"calling process" :)
Reviewed-by: David Hildenbrand <david@redhat.com>
--
Cheers,
David / dhildenb
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH man-pages] process_madvise.2: describe 6.13 behaviour permitting all madvise flags
2024-11-29 12:14 ` David Hildenbrand
@ 2024-11-29 12:16 ` Lorenzo Stoakes
0 siblings, 0 replies; 5+ messages in thread
From: Lorenzo Stoakes @ 2024-11-29 12:16 UTC (permalink / raw)
To: David Hildenbrand
Cc: Alejandro Colomar, linux-man, Suren Baghdasaryan,
Liam R . Howlett, Matthew Wilcox, Vlastimil Babka, Jann Horn,
linux-mm
On Fri, Nov 29, 2024 at 01:14:08PM +0100, David Hildenbrand wrote:
> On 29.11.24 10:55, 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.
> >
> > Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
> > ---
> > man/man2/process_madvise.2 | 5 ++++-
> > 1 file changed, 4 insertions(+), 1 deletion(-)
> >
> > diff --git a/man/man2/process_madvise.2 b/man/man2/process_madvise.2
> > index b78a61553..d12407bdb 100644
> > --- a/man/man2/process_madvise.2
> > +++ b/man/man2/process_madvise.2
> > @@ -54,7 +54,7 @@ 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 prior to Linux 6.13, the
> > .I advice
> > argument is one of the following values:
> > .TP
> > @@ -74,6 +74,9 @@ 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
>
> I was briefly concerned when reading the subject, then I realized here
> "calling process" :)
Haha yes, I did wonder how that would sound when I wrote it, but sort of
ran out of space in the subject and hoped the commit message would reduce
panic :P
>
> Reviewed-by: David Hildenbrand <david@redhat.com>
Thanks!
>
> --
> Cheers,
>
> David / dhildenb
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH man-pages] process_madvise.2: describe 6.13 behaviour permitting all madvise flags
2024-11-29 9:55 [PATCH man-pages] process_madvise.2: describe 6.13 behaviour permitting all madvise flags Lorenzo Stoakes
2024-11-29 12:14 ` David Hildenbrand
@ 2024-11-29 12:37 ` Alejandro Colomar
2024-11-29 14:38 ` Lorenzo Stoakes
1 sibling, 1 reply; 5+ messages in thread
From: Alejandro Colomar @ 2024-11-29 12:37 UTC (permalink / raw)
To: Lorenzo Stoakes
Cc: linux-man, Suren Baghdasaryan, Liam R . Howlett, Matthew Wilcox,
Vlastimil Babka, Jann Horn, linux-mm
[-- Attachment #1: Type: text/plain, Size: 1410 bytes --]
Hi Lorenzo,
On Fri, Nov 29, 2024 at 09:55:07AM +0000, 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.
>
> Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
> ---
> man/man2/process_madvise.2 | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/man/man2/process_madvise.2 b/man/man2/process_madvise.2
> index b78a61553..d12407bdb 100644
> --- a/man/man2/process_madvise.2
> +++ b/man/man2/process_madvise.2
> @@ -54,7 +54,7 @@ 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 prior to Linux 6.13, the
For consistency with other pages, how s/prior to/before/? Prior to is
ok; it's just for being able to grep for a single expression.
> .I advice
> argument is one of the following values:
> .TP
> @@ -74,6 +74,9 @@ See
> See
> .BR madvise (2).
> .P
> +Starting in Linux 6.13, when manipulating the calling process, any advice flag
> +is permitted.
Please use semantic newlines. See man-pages(7), and the other email.
Cheers,
Alex
> +.P
> The
> .I flags
> argument is reserved for future use; currently, this argument must be
> --
> 2.47.1
--
<https://www.alejandro-colomar.es/>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH man-pages] process_madvise.2: describe 6.13 behaviour permitting all madvise flags
2024-11-29 12:37 ` Alejandro Colomar
@ 2024-11-29 14:38 ` Lorenzo Stoakes
0 siblings, 0 replies; 5+ messages in thread
From: Lorenzo Stoakes @ 2024-11-29 14:38 UTC (permalink / raw)
To: Alejandro Colomar
Cc: linux-man, Suren Baghdasaryan, Liam R . Howlett, Matthew Wilcox,
Vlastimil Babka, Jann Horn, linux-mm
On Fri, Nov 29, 2024 at 01:37:41PM +0100, Alejandro Colomar wrote:
> Hi Lorenzo,
>
> On Fri, Nov 29, 2024 at 09:55:07AM +0000, 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.
> >
> > Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
> > ---
> > man/man2/process_madvise.2 | 5 ++++-
> > 1 file changed, 4 insertions(+), 1 deletion(-)
> >
> > diff --git a/man/man2/process_madvise.2 b/man/man2/process_madvise.2
> > index b78a61553..d12407bdb 100644
> > --- a/man/man2/process_madvise.2
> > +++ b/man/man2/process_madvise.2
> > @@ -54,7 +54,7 @@ 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 prior to Linux 6.13, the
>
> For consistency with other pages, how s/prior to/before/? Prior to is
> ok; it's just for being able to grep for a single expression.
Ah, I think I saw a 'prior to' somewhere but actually no, that was the 'starting
in' below, my mistake.
Will fix up!
>
> > .I advice
> > argument is one of the following values:
> > .TP
> > @@ -74,6 +74,9 @@ See
> > See
> > .BR madvise (2).
> > .P
> > +Starting in Linux 6.13, when manipulating the calling process, any advice flag
> > +is permitted.
>
> Please use semantic newlines. See man-pages(7), and the other email.
Ack, will do!
>
> Cheers,
> Alex
>
> > +.P
> > The
> > .I flags
> > argument is reserved for future use; currently, this argument must be
> > --
> > 2.47.1
>
> --
> <https://www.alejandro-colomar.es/>
Will respin and send a v2 shortly. Thanks!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-11-29 14:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-29 9:55 [PATCH man-pages] process_madvise.2: describe 6.13 behaviour permitting all madvise flags Lorenzo Stoakes
2024-11-29 12:14 ` David Hildenbrand
2024-11-29 12:16 ` Lorenzo Stoakes
2024-11-29 12:37 ` Alejandro Colomar
2024-11-29 14:38 ` Lorenzo Stoakes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox