From: Andi Kleen <andi-Vw/NltI1exuRpAAqCnN02g@public.gmane.org>
To: Christoph Lameter <cl-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
Cc: Andi Kleen <andi-Vw/NltI1exuRpAAqCnN02g@public.gmane.org>,
mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] [2/3] Add missing migrate_pages manpage
Date: Fri, 6 Nov 2009 20:16:13 +0100 [thread overview]
Message-ID: <20091106191613.GE819@basil.fritz.box> (raw)
In-Reply-To: <alpine.DEB.1.10.0911061257171.5187@V090114053VZO-1>
On Fri, Nov 06, 2009 at 01:01:07PM -0500, Christoph Lameter wrote:
> On Fri, 6 Nov 2009, Andi Kleen wrote:
>
> > +moves all pages of the process
> > +.I pid
> > +that are in memory nodes
> > +.I old_nodes
> > +to
> > +.I new_nodes.
> > +Pages not placed in any node in
>
> in -> on?
Probably.
>
> > +Use
> > +.BR get_mempolicy (2)
> > +with the
> > +.B MPOL_F_MEMS_ALLOWED
> > +flag to obtain the set of nodes that are allowed by
> > +.\" FIXME Clarify "current cpuset". Is that the cpuset of the caller
> > +.\" or the target?
> > +the current cpuset.
>
> get_mempolicy is restricted to the cpuset of the caller. What target?
>
> If you are talking about migrate_pages() then the restriction is that the
> targets have to be within the callers cpuset.
I just copied that from the other manpage (it started as a copy),
I haven't really thought about that.
-Andi
--
ak-VuQAYsv1563Yd54FQh9/CA@public.gmane.org -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-11-06 19:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-06 17:52 [PATCH] [1/3] Document the prctl/signal hwpoison extensions for 2.6.32 Andi Kleen
[not found] ` <20091106652.255147301-Vw/NltI1exuRpAAqCnN02g@public.gmane.org>
2009-11-06 17:52 ` [PATCH] [2/3] Add missing migrate_pages manpage Andi Kleen
[not found] ` <20091106175212.4368EB1627-Oisruko67ZwogZNkvFMw5WD2FQJk+8+b@public.gmane.org>
2009-11-06 18:01 ` Christoph Lameter
2009-11-06 19:16 ` Andi Kleen [this message]
2010-06-12 15:28 ` Michael Kerrisk
2009-11-06 17:52 ` [PATCH] [3/3] Better documentation for the siginfo_t passed to signal handlers Andi Kleen
2010-06-19 7:13 ` [PATCH] [1/3] Document the prctl/signal hwpoison extensions for 2.6.32 Michael Kerrisk
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=20091106191613.GE819@basil.fritz.box \
--to=andi-vw/nlti1exurpaaqcnn02g@public.gmane.org \
--cc=cl-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/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;
as well as URLs for NNTP newsgroup(s).