建立主线内核(4.9.y atm)是一个好主意,没有DEBUG_KERNEL但启用了EXPERT? 我通过删除init / Kconfig中的第1383行(“select DEBUG_KERNEL”)来实现此目的:
> menuconfig EXPERT
> bool "Configure standard kernel features (expert users)"
> # Unhide debug options, to make the on-by-default options visible
> select DEBUG_KERNEL <--- *this line*
> help
> This option allows certain base
> kernel options and settings
> to be disabled or tweaked. This is for specialized
> environments which can tolerate a "non-standard" kernel.
> Only use this if you really know what you are doing.
我认为这应该可以减少开销但是会导致问题吗? 为什么DEBUG_KERNEL被迫来到这里?