Re: [PATCH 5/4] x86/mm: Further simplify 1 GB kernel linear mappings handling

2015-03-05 Thread Ingo Molnar
* Jan Beulich wrote: > > +config X86_DIRECT_GBPAGES > > + def_bool (X86_64 && !DEBUG_PAGEALLOC && !KMEMCHECK) > > config X86_DIRECT_GBPAGES > def_bool y > depends on X86_64 && !DEBUG_PAGEALLOC && !KMEMCHECK > > or else it'll leave a pointless > > # CONFIG_X86_DIRECT_GBPAGES is

Re: [PATCH 5/4] x86/mm: Further simplify 1 GB kernel linear mappings handling

2015-03-05 Thread Jan Beulich
>>> On 05.03.15 at 08:23, wrote: > It's a bit pointless to allow Kconfig configuration for 1GB kernel > mappings, it's already hidden behind a 'default y' and CONFIG_EXPERT. > > Remove this complication and simplify the code by renaming > CONFIG_ENABLE_DIRECT_GBPAGES to

Re: [PATCH 5/4] x86/mm: Further simplify 1 GB kernel linear mappings handling

2015-03-05 Thread Ingo Molnar
* Jan Beulich jbeul...@suse.com wrote: +config X86_DIRECT_GBPAGES + def_bool (X86_64 !DEBUG_PAGEALLOC !KMEMCHECK) config X86_DIRECT_GBPAGES def_bool y depends on X86_64 !DEBUG_PAGEALLOC !KMEMCHECK or else it'll leave a pointless # CONFIG_X86_DIRECT_GBPAGES is not

Re: [PATCH 5/4] x86/mm: Further simplify 1 GB kernel linear mappings handling

2015-03-05 Thread Jan Beulich
On 05.03.15 at 08:23, mi...@kernel.org wrote: It's a bit pointless to allow Kconfig configuration for 1GB kernel mappings, it's already hidden behind a 'default y' and CONFIG_EXPERT. Remove this complication and simplify the code by renaming CONFIG_ENABLE_DIRECT_GBPAGES to

[PATCH 5/4] x86/mm: Further simplify 1 GB kernel linear mappings handling

2015-03-04 Thread Ingo Molnar
It's a bit pointless to allow Kconfig configuration for 1GB kernel mappings, it's already hidden behind a 'default y' and CONFIG_EXPERT. Remove this complication and simplify the code by renaming CONFIG_ENABLE_DIRECT_GBPAGES to CONFIG_X86_DIRECT_GBPAGES and document the DEBUG_PAGE_ALLOC and

[PATCH 5/4] x86/mm: Further simplify 1 GB kernel linear mappings handling

2015-03-04 Thread Ingo Molnar
It's a bit pointless to allow Kconfig configuration for 1GB kernel mappings, it's already hidden behind a 'default y' and CONFIG_EXPERT. Remove this complication and simplify the code by renaming CONFIG_ENABLE_DIRECT_GBPAGES to CONFIG_X86_DIRECT_GBPAGES and document the DEBUG_PAGE_ALLOC and