Re: MPOL_INTERLEAVE page-wise binding dump

Andi Kleen <[email protected]> Thu, 22 Dec 2011 20:58:08 +0100
Newsgroups org.kernel.vger.linux-numa
Message-ID <[email protected]>
On Thu, Dec 22, 2011 at 05:12:41PM +0000, Ananya Muddukrishna wrote:
> Hi,
> 
> Is there an inexpensive way to determine 
> which pages (virtual addresses) 
> are bound to which NUMA nodes when 
> using MPOL_INTERLEAVE or MPOL_BIND 
> with a given set of nodes? 


get_mempolicy MPOL_F_ADDR|MPOL_F_NODE

> 
> I want to implement a strict 
> round-robin based interleaving 
> policy based on MPOL_INTERLEAVE. 

What's the rationale?


-Andi
-- 
[email protected] -- Speaking for myself only.