• Paul E. McKenney's avatar
    rcu: Provide optional RCU-reader exit delay for strict GPs · 3d29aaf1
    Paul E. McKenney authored
    The goal of this series is to increase the probability of tools like
    KASAN detecting that an RCU-protected pointer was used outside of its
    RCU read-side critical section.  Thus far, the approach has been to make
    grace periods and callback processing happen faster.  Another approach
    is to delay the pointer leaker.  This commit therefore allows a delay
    to be applied to exit from RCU read-side critical sections.
    
    This slowdown is specified by a new rcutree.rcu_unlock_delay kernel boot
    parameter that specifies this delay in microseconds, defaulting to zero.
    
    Reported-by Jann Horn <jannh@google.com>
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    3d29aaf1
kernel-parameters.txt 207 KB