Re: [PATCH] [2/3] Add missing migrate_pages manpage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Christoph,

A long time after the fact, but...

On Fri, Nov 6, 2009 at 8:01 PM, Christoph Lameter
<cl@xxxxxxxxxxxxxxxxxxxx> 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?
>
>> +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.

Thanks for that clarification. I have added it to the current draft of the page.

Cheers,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface" http://blog.man7.org/
--
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


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux