• Paul E. McKenney's avatar
    rcu: Drive expedited grace periods from workqueue · 8b355e3b
    Paul E. McKenney authored
    The current implementation of expedited grace periods has the user
    task drive the grace period.  This works, but has downsides: (1) The
    user task must awaken tasks piggybacking on this grace period, which
    can result in latencies rivaling that of the grace period itself, and
    (2) User tasks can receive signals, which interfere with RCU CPU stall
    warnings.
    
    This commit therefore uses workqueues to drive the grace periods, so
    that the user task need not do the awakening.  A subsequent commit
    will remove the now-unnecessary code allowing for signals.
    Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
    8b355e3b
tree.h 29.5 KB