lkml.org 
[lkml]   [2009]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH RFC tip/core/rcu 18/18] rcu: add primitives to check for RCU read-side critical sections
From
Date
On Tue, 2009-12-15 at 15:02 -0800, Paul E. McKenney wrote:
>
> Also create rcu_dereference_check(), which takes a second boolean argument
> into which one puts rcu_read_lock_held() or similar. For example:
>
> rcu_dereference_check(gp, rcu_read_lock_held() ||
> lockdep_is_held(my_lock));

Ah, so you're going to tackle this the other way around, interesting :-)



\
 
 \ /
  Last update: 2009-12-16 14:05    [W:0.208 / U:0.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site