Re: [RFC PATCH] mm/thp: Always allocate transparent hugepages on local node
From: Kirill A. Shutemov
Date: Mon Nov 24 2014 - 10:03:52 EST
On Mon, Nov 24, 2014 at 07:49:51PM +0530, Aneesh Kumar K.V wrote:
> This make sure that we try to allocate hugepages from local node. If
> we can't we fallback to small page allocation based on
> mempolicy. This is based on the observation that allocating pages
> on local node is more beneficial that allocating hugepages on remote node.
Local node on allocation is not necessary local node for use.
If policy says to use a specific node[s], we should follow.
I think it makes sense to force local allocation if policy is interleave
or if current node is in preferred or bind set.
--
Kirill A. Shutemov
--
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/