blob: 962c6099659edc01a7ed417705084846c0a11e9a [file] [log] [blame]
Vineet Guptacfdbc2e2013-01-18 15:12:20 +05301menu "Kernel hacking"
2
3source "lib/Kconfig.debug"
4
5config EARLY_PRINTK
6 bool "Early printk" if EMBEDDED
7 default y
8 help
9 Write kernel log output directly into the VGA buffer or to a serial
10 port.
11
12 This is useful for kernel debugging when your machine crashes very
13 early before the console code is initialized. For normal operation
14 it is not recommended because it looks ugly and doesn't cooperate
15 with klogd/syslogd or the X server. You should normally N here,
16 unless you want to debug such a crash.
17
18config DEBUG_STACKOVERFLOW
19 bool "Check for stack overflows"
20 depends on DEBUG_KERNEL
21 help
22 This option will cause messages to be printed if free stack space
23 drops below a certain limit.
24
25config 16KSTACKS
26 bool "Use 16Kb for kernel stacks instead of 8Kb"
27 help
28 If you say Y here the kernel will use a 16Kb stacksize for the
29 kernel stack attached to each process/thread. The default is 8K.
30 This increases the resident kernel footprint and will cause less
31 threads to run on the system and also increase the pressure
32 on the VM subsystem for higher order allocations.
33
34endmenu