Kconfig.debug 1.1 KB

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