Re: [tip:sched/core] sched/core: Avoid _cond_resched() for PREEMPT=y

From: Peter Zijlstra
Date: Thu Sep 22 2016 - 14:42:54 EST


On Thu, Sep 22, 2016 at 02:25:01PM -0400, Mikulas Patocka wrote:
> I've found a document that says that cond_resched() is needed on
> preemptible kernels to mark RCU quiescent states:
>
> https://lwn.net/Articles/603252/
>
> Paul, is cond_resched() still needed on current RCU implementation? Or not?

No, we ripped that out. See 4a81e8328d37 ("rcu: Reduce overhead of
cond_resched() checks for RCU")