From 5dc7c1ee6efe81d68d153169ae72cd3ceeec26b8 Mon Sep 17 00:00:00 2001 From: Mike Kravetz Date: Fri, 5 May 2023 12:48:58 -0700 Subject: mbind.2: Clarify MPOL_MF_MOVE with MPOL_INTERLEAVE policy 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 Signed-off-by: Alejandro Colomar --- man2/mbind.2 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/man2/mbind.2 b/man2/mbind.2 index d540bbe23..73ca95efe 100644 --- a/man2/mbind.2 +++ b/man2/mbind.2 @@ -311,6 +311,11 @@ 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 +331,11 @@ 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, -- cgit v1.2.3