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 <firstname.lastname@example.org> Cc: Andi Kleen <email@example.com> Acked-by: William Lee Irwin III <firstname.lastname@example.org> Cc: Adam Litke <email@example.com> Signed-off-by: Andrew Morton <firstname.lastname@example.org> Signed-off-by: Linus Torvalds <email@example.com>