diff options
author | Adam Litke <agl@us.ibm.com> | 2005-10-30 02:16:46 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 05:40:43 +0100 |
commit | 4c887265977213985091476be40ab11dfdcb4caf (patch) | |
tree | 82ee135f8678094664d7311617287802d54d52cf /include/asm-xtensa | |
parent | [PATCH] hugetlb: remove repeated code (diff) | |
download | linux-4c887265977213985091476be40ab11dfdcb4caf.tar.xz linux-4c887265977213985091476be40ab11dfdcb4caf.zip |
[PATCH] hugetlb: demand fault handler
Below is a patch to implement demand faulting for huge pages. The main
motivation for changing from prefaulting to demand faulting is so that huge
page memory areas can be allocated according to NUMA policy.
Thanks to consolidated hugetlb code, switching the behavior requires changing
only one fault handler. The bulk of the patch just moves the logic from
hugelb_prefault() to hugetlb_pte_fault() and find_get_huge_page().
Signed-off-by: Adam Litke <agl@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-xtensa')
0 files changed, 0 insertions, 0 deletions