Hi, Le 2023-10-10 13:54, Diederik de Haas a écrit : > On Tuesday, 10 October 2023 12:10:07 CEST Emanuele Rocca wrote: > > CONFIG_PREEMPT_DYNAMIC is set to 'y' by default on amd64 due to > > HAVE_PREEMPT_DYNAMIC_CALL being 'y', see: > > https://sources.debian.org/src/linux/6.5.6-1/kernel/Kconfig.preempt/?hl=101# > > L101 > > > > arm64 does not have PREEMPT_DYNAMIC_CALL, this is why PREEMPT_DYNAMIC is > > not set by default there. > > Neither does amd64. So it appears something else is causing > CONFIG_PREEMPT_DYNAMIC to be enabled on amd64. From the commit message introducing PREEMPT_DYNAMIC:¹ CONFIG_PREEMPT_DYNAMIC is automatically selected by CONFIG_PREEMPT if the architecture provides the necessary support (CONFIG_STATIC_CALL_INLINE, CONFIG_GENERIC_ENTRY, and provide with __preempt_schedule_function() / __preempt_schedule_notrace_function()). Cheers, Vincent ¹ https://lore.kernel.org/all/20210118141223.123667-5-frederic@kernel.org/T/#u
Attachment:
signature.asc
Description: PGP signature