aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/debug.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2018-09-17 16:29:12 +0200
committerThomas Gleixner <[email protected]>2018-09-27 20:39:38 +0200
commit5c280cf6081ff99078e28b51172d78359f194fd9 (patch)
treeafe95954061d8f2350f4114c58f8570ddbd315d4 /tools/lib/api/debug.c
parent4046460b867f8b041c81c26c09d3bcad6d6e814e (diff)
x86/mm/cpa: Add large page preservation statistics
The large page preservation mechanism is just magic and provides no information at all. Add optional statistic output in debugfs so the magic can be evaluated. Defaults is off. Output: 1G pages checked: 2 1G pages sameprot: 0 1G pages preserved: 0 2M pages checked: 540 2M pages sameprot: 466 2M pages preserved: 47 4K pages checked: 800770 4K pages set-checked: 7668 Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Dave Hansen <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Bin Yang <[email protected]> Cc: Mark Gross <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions