lkml.org 
[lkml]   [2012]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH RFC tip/core/rcu 22/41] rcu: Simplify unboosting checks
    On Wed, Feb 01, 2012 at 11:41:40AM -0800, Paul E. McKenney wrote:
    > From: "Paul E. McKenney" <paul.mckenney@linaro.org>
    >
    > This is a port of commit #82e78d80 from TREE_PREEMPT_RCU to
    > TINY_PREEMPT_RCU.
    >
    > This commit uses the fact that current->rcu_boost_mutex is set
    > any time that the RCU_READ_UNLOCK_BOOSTED flag is set in the
    > current->rcu_read_unlock_special bitmask. This allows tests of
    > the bit to be changed to tests of the pointer, which in turn allows
    > the RCU_READ_UNLOCK_BOOSTED flag to be eliminated.

    Does this change affect rcu_read_unlock()'s logic to trigger the
    slowpath only when special flags get set?

    - Josh Triplett


    \
     
     \ /
      Last update: 2012-02-02 03:41    [W:4.088 / U:0.092 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site