On Wed, Jul 03, 2024 at 07:08:21AM -0700, Paul E. McKenney wrote:
> On Wed, Jul 03, 2024 at 09:50:57AM +0200, Peter Zijlstra wrote:
> > Would it make sense to disable it for those architectures that have
> > already done this work?
>
> It might well. Any architectures other than x86 at this point?
Per 408b961146be ("tracing: WARN on rcuidle")
and git grep "select.*ARCH_WANTS_NO_INSTR"
arch/arm64/Kconfig: select ARCH_WANTS_NO_INSTR
arch/loongarch/Kconfig: select ARCH_WANTS_NO_INSTR
arch/riscv/Kconfig: select ARCH_WANTS_NO_INSTR
arch/s390/Kconfig: select ARCH_WANTS_NO_INSTR
arch/x86/Kconfig: select ARCH_WANTS_NO_INSTR
I'm thinking you can simply use that same condition here?