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

* Re: [PATCH] mbind.2: Clarify MPOL_MF_MOVE with MPOL_INTERLEAVE policy
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Alejandro Colomar @ 2023-05-05 19:58 UTC (permalink / raw)
  To: Mike Kravetz, linux-man, linux-mm, Alejandro Colomar
  Cc: Michal Hocko, Vlastimil Babka, Lorenzo Stoakes


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

Hi Mike,

On 5/5/23 21:48, Mike Kravetz wrote:
> 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>

Patch applied.

Thanks,
Alex

> ---
>  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,

-- 
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH] mbind.2: Clarify MPOL_MF_MOVE with MPOL_INTERLEAVE policy
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Michal Hocko @ 2023-05-06 18:52 UTC (permalink / raw)
  To: Mike Kravetz
  Cc: linux-man, linux-mm, Alejandro Colomar, Vlastimil Babka, Lorenzo Stoakes

On Fri 05-05-23 12:48:58, Mike Kravetz wrote:
> 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>

Acked-by: Michal Hocko <mhocko@suse.com>
Thanks!

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

-- 
Michal Hocko
SUSE Labs

^ permalink raw reply	[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).