diff options
author | Kirill A. Shutemov <[email protected]> | 2018-02-14 21:25:35 +0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-02-16 10:48:47 +0100 |
commit | b16e770bfa5344f1cd4f7b4ecd7bbae25001e120 (patch) | |
tree | 47ba333dc01234e8e5d026296536d58b56a2b76f /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 4c2b4058ab32581931c2caf760b689fd4b019a87 (diff) |
x86/mm: Initialize 'pgdir_shift' and 'ptrs_per_p4d' at boot-time
Switching between paging modes requires the folding of the p4d page table level
when we only have 4 paging levels, which means we need to adjust 'pgdir_shift'
and 'ptrs_per_p4d' during early boot according to paging mode.
Signed-off-by: Kirill A. Shutemov <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Arjan van de Ven <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions