Hi.
There could be really handy to have more debug options enabled in debug
kernel. Namely:
CONFIG_PREEMPT=y
CONFIG_DEBUG_PREEMPT=y
CONFIG_SLUB_DEBUG=y
CONFIG_SLUB_DEBUG_ON=y
CONFIG_DEBUG_PAGEALLOC=y
CONFIG_KASAN=y
CONFIG_PANIC_ON_OOPS=y
CONFIG_UBSAN=y
CONFIG_UBSAN_SANITIZE_ALL=y
KASan is especially useful.
However the overhead of KASan for example is quite significant. So the
question is, would it make sense to add these to the debug config?
Another option would be to introduce a "deeper-debug" config and do an
extra rpm for that. That would let user to choose between ordinary debug
kernel and deeper debug kernel.
What do you think?
Thanks!
Jiri
Show replies by thread