[lkml]   [2022]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [for-next][PATCH 13/25] x86/mm/kmmio: Use rcu_read_lock_sched_notrace()
On Sat, 10 Dec 2022 09:47:53 -0800
"Paul E. McKenney" <> wrote:

> > Note, the preempt_disable() is still needed as it uses preempt_enable_no_resched().
> >


> Executable code can be the best form of comment. ;-)
> This does mess with preempt_count() redundantly, but the overhead from
> that should be way down in the noise.

I was going to remove it, but then I realized that it would be a functional
change, as from the comment above, it uses "preempt_enable_no_resched(),
which there is not a rcu_read_unlock_sched() variant.

> Acked-by: Paul E. McKenney <>

Thanks! I'll add this to the commit.

-- Steve

 \ /
  Last update: 2022-12-10 19:35    [W:0.085 / U:3.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site