diff options
| author | Kirill A. Shutemov <[email protected]> | 2012-12-12 13:51:12 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-12-12 17:38:32 -0800 |
| commit | 79da5407eeadc740fbf4b45d6df7d7f8e6adaf2c (patch) | |
| tree | a9f1ca92b2711bb84a4707c904fcada24614d60e /tools/perf/scripts/python | |
| parent | d8a8e1f0da3d29d7268b3300c96a059d63901b76 (diff) | |
thp: introduce sysfs knob to disable huge zero page
By default kernel tries to use huge zero page on read page fault. It's
possible to disable huge zero page by writing 0 or enable it back by
writing 1:
echo 0 >/sys/kernel/mm/transparent_hugepage/khugepaged/use_zero_page
echo 1 >/sys/kernel/mm/transparent_hugepage/khugepaged/use_zero_page
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