Re: [PATCH 0/9] Replace PREEMPT_RT ifdefs with preempt_[dis|en]able_nested().

From: Peter Zijlstra
Date: Thu Aug 18 2022 - 04:21:10 EST


On Wed, Aug 17, 2022 at 06:26:54PM +0200, Sebastian Andrzej Siewior wrote:
> Folks,
>
> this is the follow up to the "vfs.git pile 3 - dcache" pull request [0].
> It was concluded that the introduction of
> preempt_disable_nested()
>
> in general makes sense and should be used in places where preemption on
> !RT is disabled by other means and PREEMPT_RT need to explicitly disable
> it.
>
> This series introduces the macro and converts already existing users to
> that macro. The u64_stat interface was simplified to make the change
> simpler and code easier to follow.
>
> [0] https://lore.kernel.org/all/YurA3aSb4GRr4wlW@ZenIV/

Acked-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>