lkml.org 
[lkml]   [2017]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/3] srcu: queue work without holding the lock
On Wed, Oct 11, 2017 at 06:40:12PM +0200, Sebastian Andrzej Siewior wrote:
> On 2017-10-10 14:43:13 [-0700], Paul E. McKenney wrote:
> > > OK, internally I could get rid of raw_ at the expense of some code bloat,
> > > but in the call_srcu() case, the caller might well hold a raw_ lock.
> >
> > Except that none currently do, so maybe downgrading from raw_ locks is
> > a reasonable course of action. Does the following patch help?
>
> so you revert the raw_ access, this should work. I will apply it
> tomorrow and let you know.

Indeed. I checked and the current callers of call_srcu() are not
doing so while holding raw spinlocks. Now, call_rcu() is quite a
different story...

Thanx, Paul

\
 
 \ /
  Last update: 2017-10-11 18:47    [W:0.090 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site