lkml.org 
[lkml]   [2015]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH RFC tip/core/rcu 0/5] Expedited grace periods encouraging normal ones
    On Tue, Jun 30, 2015 at 08:37:01PM -0700, Paul E. McKenney wrote:
    > > Wait, what? Why is anything using traditional (non-S) RCU while *any*
    > > lock is held?
    >
    > In their defense, it is a sleeplock that is never taken except when
    > rearranging networking configuration. Sometimes they need a grace period
    > under the lock. So synchronize_net() checks to see if RTNL is held, and
    > does a synchronize_rcu_expedited() if so and a synchronize_rcu() if not.

    Sounds vile.


    \
     
     \ /
      Last update: 2015-07-01 12:21    [W:4.176 / U:0.812 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site