Commit 5da7ca86 authored by Committed by Linus TorvaldsBrowse files
[PATCH] Add NUMA policy support for huge pages.
The huge_zonelist() function in the memory policy layer provides an list of zones ordered by NUMA distance. The hugetlb layer will walk that list looking for a zone that has available huge pages but is also in the nodeset of the current cpuset. This patch does not contain the folding of find_or_alloc_huge_page() that was controversial in the earlier discussion. Signed-off-by: Christoph Lameter <email@example.com> Cc: Andi Kleen <firstname.lastname@example.org> Acked-by: William Lee Irwin III <email@example.com> Cc: Adam Litke <firstname.lastname@example.org> Signed-off-by: Andrew Morton <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org>