[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-man
Subject:    Re: [PATCH] [2/3] Add missing migrate_pages manpage
From:       Andi Kleen <andi () firstfloor ! org>
Date:       2009-11-06 19:16:13
Message-ID: 20091106191613.GE819 () basil ! fritz ! box
[Download RAW message or body]

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@linux.intel.com -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic