Re: [PATCH] RISC-V: Add debug defconfigs

From: Paul Walmsley
Date: Wed Dec 04 2019 - 22:03:23 EST


On Thu, 5 Dec 2019, Anup Patel wrote:

> Various Linux kernel DEBUG options have big performance impact
> so these should not be enabled in RISC-V normal defconfigs.
>
> Instead we should have separate RISC-V debug defconfigs having
> these DEBUG options enabled. This way Linux RISC-V can build both
> non-debug and debug kernels separately.

I respect your point of view, but until the RISC-V kernel port is more
mature, I personally am not planning to merge this patch, for reasons
discussed in the defconfig patch descriptions and the subsequent pull
request threads.

I'm sure we'll revisit this in the future to realign with the defconfig
debug settings for more mature architecture ports - but my guess is that
we'll probably avoid creating debug_defconfigs, since only S390 does that.


- Paul