aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorKirill A. Shutemov <[email protected]>2012-12-12 13:51:05 -0800
committerLinus Torvalds <[email protected]>2012-12-12 17:38:31 -0800
commit78ca0e679203bbf74f8febd9725a1c8dd083d073 (patch)
tree6b2541d8cb1ee2697eb12a299447e5afc78f830c /tools/perf/scripts/python/bin
parent80371957f09814d25c38733d2d08de47f59a13c2 (diff)
thp: lazy huge zero page allocation
Instead of allocating huge zero page on hugepage_init() we can postpone it until first huge zero page map. It saves memory if THP is not in use. cmpxchg() is used to avoid race on huge_zero_pfn initialization. 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/bin')
0 files changed, 0 insertions, 0 deletions