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

Sebastian Andrzej Siewior posted 9 patches 3 years, 7 months ago
There is a newer version of this series
[PATCH 0/9] Replace PREEMPT_RT ifdefs with preempt_[dis|en]able_nested().
Posted by Sebastian Andrzej Siewior 3 years, 7 months ago
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/

Sebastian
Re: [PATCH 0/9] Replace PREEMPT_RT ifdefs with preempt_[dis|en]able_nested().
Posted by Peter Zijlstra 3 years, 7 months ago
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@infradead.org>
Re: [PATCH 0/9] Replace PREEMPT_RT ifdefs with preempt_[dis|en]able_nested().
Posted by Linus Torvalds 3 years, 7 months ago
On Wed, Aug 17, 2022 at 9:27 AM Sebastian Andrzej Siewior
<bigeasy@linutronix.de> wrote:
>
> 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.

Thanks. Apart from 1/9 where I had just that "this visually looks odd
and threw me" comment, this all looks like good nice cleanups to me.

             Linus