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, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>