Message ID | 20230505194858.23539-1-mike.kravetz@oracle.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | mbind.2: Clarify MPOL_MF_MOVE with MPOL_INTERLEAVE policy | expand |
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,
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
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,
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(+)