aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKirill A. Shutemov <[email protected]>2012-12-12 13:51:02 -0800
committerLinus Torvalds <[email protected]>2012-12-12 17:38:31 -0800
commit80371957f09814d25c38733d2d08de47f59a13c2 (patch)
tree2ebdedfa3a10af22941e44729f1c4c2623e8da74 /tools/perf/scripts/python
parentc5a647d09fe9fc3e0241c89845cf8e6220b916f5 (diff)
thp: setup huge zero page on non-write page fault
All code paths seems covered. Now we can map huge zero page on read page fault. We setup it in do_huge_pmd_anonymous_page() if area around fault address is suitable for THP and we've got read page fault. If we fail to setup huge zero page (ENOMEM) we fallback to handle_pte_fault() as we normally do in THP. Signed-off-by: Kirill A. Shutemov <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: Andi Kleen <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Mel Gorman <[email protected]> Cc: David Rientjes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions