From: Michal Hocko <mhocko@suse.com>
To: Mike Kravetz <mike.kravetz@oracle.com>
Cc: linux-man@vger.kernel.org, linux-mm@kvack.org,
Alejandro Colomar <alx@kernel.org>,
Vlastimil Babka <vbabka@suse.cz>,
Lorenzo Stoakes <lstoakes@gmail.com>
Subject: Re: [PATCH] mbind.2: Clarify MPOL_MF_MOVE with MPOL_INTERLEAVE policy
Date: Sat, 6 May 2023 20:52:19 +0200 [thread overview]
Message-ID: <ZFah48yVd+nCcAP7@dhcp22.suse.cz> (raw)
In-Reply-To: <20230505194858.23539-1-mike.kravetz@oracle.com>
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
prev parent reply other threads:[~2023-05-06 18:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-05 19:48 Mike Kravetz
2023-05-05 19:58 ` Alejandro Colomar
2023-05-06 18:52 ` Michal Hocko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZFah48yVd+nCcAP7@dhcp22.suse.cz \
--to=mhocko@suse.com \
--cc=alx@kernel.org \
--cc=linux-man@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lstoakes@gmail.com \
--cc=mike.kravetz@oracle.com \
--cc=vbabka@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox