Re: [RFC][PATCH 10/26] mm, mpol: Make mempolicy home-node aware
From: Christoph Lameter
Date: Fri Mar 16 2012 - 14:35:19 EST
On Fri, 16 Mar 2012, Peter Zijlstra wrote:
> Add another layer of fallback policy to make the home node concept
> useful from a memory allocation PoV.
>
> This changes the mpol order to:
>
> - vma->vm_ops->get_policy [if applicable]
> - vma->vm_policy [if applicable]
> - task->mempolicy
> - tsk_home_node() preferred [NEW]
> - default_policy
>
> Note that the tsk_home_node() policy has Migrate-on-Fault enabled to
> facilitate efficient on-demand memory migration.
The numa hierachy is already complex. Could we avoid adding another layer
by adding a MPOL_HOME_NODE and make that the default?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/