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