Vineet Gupta | cfdbc2e | 2013-01-18 15:12:20 +0530 | [diff] [blame] | 1 | menu "Kernel hacking" |
| 2 | |
| 3 | source "lib/Kconfig.debug" |
| 4 | |
| 5 | config 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 | |
| 18 | config 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 | |
| 25 | config 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 | |
| 34 | endmenu |