On Wed, 3 Aug 2022 15:09:23 -0700 Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote: > Admittedly I think "preempt_enable_under_spinlock()" may be a bit > *too* cumbersome as a name. It does explain what is going on - and > both the implementation and the use end up being fairly clear (and the > non-RT case could have some debug version that actually tests that > preemption has already been disabled). preempt_disable_inlock() ? -- Steve