lkml.org 
[lkml]   [2018]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/4] rcu: Speed up calling of RCU tasks callbacks
On Wed, 23 May 2018 13:04:58 -0700
"Paul E. McKenney" <paulmck@linux.vnet.ibm.com> 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

> }
> }

\
 
 \ /
  Last update: 2018-05-24 23:48    [W:0.078 / U:2.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site