Thread (4 messages) 4 messages, 3 authors, 2024-12-05

Re: [PATCH man-pages v2] process_madvise.2: describe 6.13 behaviour permitting all madvise flags

From: Vlastimil Babka <hidden>
Date: 2024-12-05 17:42:00
Also in: linux-mm

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 <redacted>
Signed-off-by: Lorenzo Stoakes <redacted>
FWIW,
Reviewed-by: Vlastimil Babka <redacted>
quoted hunk ↗ jump to hunk
---

v2:
* Use semantic newlines as suggested by Alejandro.
v1:
https://lore.kernel.org/all/20241129095507.11001-1-lorenzo.stoakes@oracle.com/ (local)

 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
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help