mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-04 08:33:27 +01:00
Original posting: http://lkml.kernel.org/r/[email protected] Several architectures have similar stack debugging config options. They all pretty much do the same thing, some with slightly differing help text. This patch changes the architectures to instead enable a Kconfig boolean, and then use that boolean in the generic Kconfig.debug to present the actual menu option. This removes a bunch of duplication and adds consistency across arches. Signed-off-by: Dave Hansen <[email protected]> Reviewed-by: H. Peter Anvin <[email protected]> Reviewed-by: James Hogan <[email protected]> Acked-by: Chris Metcalf <[email protected]> [for tile] Signed-off-by: Dave Hansen <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
28 lines
922 B
Plaintext
28 lines
922 B
Plaintext
menu "Kernel hacking"
|
|
|
|
source "lib/Kconfig.debug"
|
|
|
|
config EARLY_PRINTK
|
|
bool "Early printk" if EMBEDDED
|
|
default y
|
|
help
|
|
Write kernel log output directly into the VGA buffer or to a serial
|
|
port.
|
|
|
|
This is useful for kernel debugging when your machine crashes very
|
|
early before the console code is initialized. For normal operation
|
|
it is not recommended because it looks ugly and doesn't cooperate
|
|
with klogd/syslogd or the X server. You should normally N here,
|
|
unless you want to debug such a crash.
|
|
|
|
config 16KSTACKS
|
|
bool "Use 16Kb for kernel stacks instead of 8Kb"
|
|
help
|
|
If you say Y here the kernel will use a 16Kb stacksize for the
|
|
kernel stack attached to each process/thread. The default is 8K.
|
|
This increases the resident kernel footprint and will cause less
|
|
threads to run on the system and also increase the pressure
|
|
on the VM subsystem for higher order allocations.
|
|
|
|
endmenu
|