Re: [git pull] vfs.git pile 3 - dcache

From: Matthew Wilcox
Date: Wed Aug 03 2022 - 19:24:27 EST


On Wed, Aug 03, 2022 at 06:59:36PM -0400, Steven Rostedt wrote:
> 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() ?

preempt_disable_locked()?