diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2016-03-15 14:55:30 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-15 16:55:16 -0700 |
commit | ea6eabb05b26bd3d6f60b29b77a03bc61479fc0f (patch) | |
tree | 17bca7cd84bf6f9782c81c3a8d8b4ebe5e851b01 /kernel/memremap.c | |
parent | d59b1087a98e402ed9a7cc577f4da435f9a555f5 (diff) | |
download | linux-ea6eabb05b26bd3d6f60b29b77a03bc61479fc0f.tar.gz linux-ea6eabb05b26bd3d6f60b29b77a03bc61479fc0f.tar.bz2 linux-ea6eabb05b26bd3d6f60b29b77a03bc61479fc0f.zip |
mm/debug_pagealloc: ask users for default setting of debug_pagealloc
Since commit 031bc5743f158 ("mm/debug-pagealloc: make debug-pagealloc
boottime configurable") CONFIG_DEBUG_PAGEALLOC is by default not adding
any page debugging.
This resulted in several unnoticed bugs, e.g.
https://lkml.kernel.org/g/<569F5E29.3090107@de.ibm.com>
or
https://lkml.kernel.org/g/<56A20F30.4050705@de.ibm.com>
as this behaviour change was not even documented in Kconfig.
Let's provide a new Kconfig symbol that allows to change the default
back to enabled, e.g. for debug kernels. This also makes the change
obvious to kernel packagers.
Let's also change the Kconfig description for CONFIG_DEBUG_PAGEALLOC, to
indicate that there are two stages of overhead.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/memremap.c')
0 files changed, 0 insertions, 0 deletions