aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/x86
diff options
context:
space:
mode:
authorDave Jones <davej@codemonkey.org.uk>2016-01-11 12:04:28 -0500
committerIngo Molnar <mingo@kernel.org>2016-01-12 11:08:37 +0100
commitc9e0d39126af9e338495b719e9d565ca9ebcd4c5 (patch)
treeae2556de5071b03e48b9199e342207c9fe625b58 /tools/testing/selftests/x86
parentMerge commit 'linus' into x86/urgent, to pick up recent x86 changes (diff)
downloadwireguard-linux-c9e0d39126af9e338495b719e9d565ca9ebcd4c5.tar.xz
wireguard-linux-c9e0d39126af9e338495b719e9d565ca9ebcd4c5.zip
x86/mm/pat: Make split_page_count() check for empty levels to fix /proc/meminfo output
In CONFIG_PAGEALLOC_DEBUG=y builds, we disable 2M pages. Unfortunatly when we split up mappings during boot, split_page_count() doesn't take this into account, and starts decrementing an empty direct_pages_count[] level. This results in /proc/meminfo showing crazy things like: DirectMap2M: 18446744073709543424 kB Signed-off-by: Dave Jones <davej@codemonkey.org.uk> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Luis R. Rodriguez <mcgrof@suse.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Toshi Kani <toshi.kani@hp.com> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/testing/selftests/x86')
0 files changed, 0 insertions, 0 deletions