Re: [PATCH 1/4] rcu: Speed up calling of RCU tasks callbacks

From: Steven Rostedt
Date: Fri May 25 2018 - 07:56:08 EST


On Wed, 23 May 2018 13:04:58 -0700
"Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx> wrote:

> Looks plausible to me!
>

BTW looking at the code:

> /* Invoke the callbacks. */
> while (list) {
> next = list->next;
> local_bh_disable();
> list->func(list);
> local_bh_enable();
> list = next;
> cond_resched();
> }
> schedule_timeout_uninterruptible(HZ/10);

What's the purpose of this final sleep?

-- Steve

> }
> }