linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mbind.2: Clarify MPOL_MF_MOVE with MPOL_INTERLEAVE policy
@ 2023-05-05 19:48 Mike Kravetz
  2023-05-05 19:58 ` Alejandro Colomar
  2023-05-06 18:52 ` Michal Hocko
  0 siblings, 2 replies; 3+ messages in thread
From: Mike Kravetz @ 2023-05-05 19:48 UTC (permalink / raw)
  To: linux-man, linux-mm, Alejandro Colomar
  Cc: Michal Hocko, Vlastimil Babka, Lorenzo Stoakes, Mike Kravetz

There was user confusion about specifying MPOL_MF_MOVE* with
MPOL_INTERLEAVE policy [1].  Add clarification.

[1] https://lore.kernel.org/linux-mm/20230501185836.GA85110@monkey/

Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com>
---
 man2/mbind.2 | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/man2/mbind.2 b/man2/mbind.2
index d540bbe23..e4a187106 100644
--- a/man2/mbind.2
+++ b/man2/mbind.2
@@ -311,6 +311,10 @@ If
 is also specified, then the call fails with the error
 .B EIO
 if some pages could not be moved.
+If the
+.B MPOL_INTERLEAVE
+policy was specified, pages already residing on the specified
+nodes will not be moved such that they are interleaved.
 .PP
 If
 .B MPOL_MF_MOVE_ALL
@@ -326,6 +330,10 @@ If
 is also specified, then the call fails with the error
 .B EIO
 if some pages could not be moved.
+If the
+.B MPOL_INTERLEAVE
+policy was specified, pages already residing on the specified
+nodes will not be moved such that they are interleaved.
 .\" ---------------------------------------------------------------
 .SH RETURN VALUE
 On success,
-- 
2.40.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-06 18:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-05 19:48 [PATCH] mbind.2: Clarify MPOL_MF_MOVE with MPOL_INTERLEAVE policy Mike Kravetz
2023-05-05 19:58 ` Alejandro Colomar
2023-05-06 18:52 ` Michal Hocko

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).