]> git.baikalelectronics.ru Git - kernel.git/commit
x86: add gbpages switches
authorIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:40:45 +0000 (17:40 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:40:45 +0000 (17:40 +0200)
commite23df31b7f361812c8829186b935d6dfd253675c
treeb5690b58de35efa2f928d1daaf24b21650ebc8a0
parent589551652268639e2c1f67a8d9d0ab8e77775992
x86: add gbpages switches

These new controls toggle experimental support for a new CPU feature,
the straightforward extension of largepages from the pmd level to the
pud level, which allows 1GB (kernel) TLBs instead of 2MB TLBs.

Turn it off by default, as this code has not been tested well enough yet.

Use the CONFIG_DIRECT_GBPAGES=y .config option or gbpages on the
boot line can be used to enable it. If enabled in the .config then
nogbpages boot option disables it.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Documentation/x86_64/boot-options.txt
arch/x86/Kconfig.debug
arch/x86/mm/init_64.c
include/asm-x86/pgtable_64.h