lkml.org 
[lkml]   [2012]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC PATCH 5/6] implement per-cpu&per-domain state machine call_srcu()
    From
    Date
    On Tue, 2012-03-06 at 17:57 +0800, Lai Jiangshan wrote:
    > +/* Must called with sp->flip_check_mutex and sp->gp_lock held; */
    > +static bool check_zero_idx(struct srcu_struct *sp, int idx,
    > + struct srcu_head *head, int trycount)
    > +{
    > + unsigned long chck_seq;
    > + bool checked_zero;
    > +

    lockdep_assert_held(&sp->flip_check_mutex);
    lockdep_assert_held(&sp->gp_lock);

    and you can do away with your comment (also you forgot a verb).


    \
     
     \ /
      Last update: 2012-03-06 12:37    [W:0.019 / U:32.976 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site