lkml.org 
[lkml]   [2010]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH RFC tip/core/rcu 23/23] vhost: add __rcu annotations
    From
    Date
    On Wed, 2010-05-12 at 16:00 -0700, Paul E. McKenney wrote:
    > Any thoughts? One approach would be to create a separate lockdep class
    > for vhost workqueue state, similar to the approach used in instrument
    > rcu_read_lock() and friends.

    workqueue_struct::lockdep_map, its held while executing worklets.

    lock_is_held(&vhost_workqueue->lockdep_map), should do as you want.


    \
     
     \ /
      Last update: 2010-05-13 15:11    [W:0.243 / U:0.020 seconds]
    ©2003-2014 Jasper Spaans. hosted at Digital Ocean