lkml.org 
[lkml]   [2010]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH tip/core/rcu 2/4] rcu: suppress RCU lockdep warnings during early boot
    On Thu, Mar 04, 2010 at 12:12:45PM +0100, Ingo Molnar wrote:
    >
    > * Paul E. McKenney <paulmck@linux.vnet.ibm.com> wrote:
    >
    > > @@ -154,6 +167,10 @@ static inline int rcu_read_lock_sched_held(void)
    > > # define rcu_read_acquire_sched() do { } while (0)
    > > # define rcu_read_release_sched() do { } while (0)
    > >
    > > +static inline void debug_lockdep_rcu_update(void)
    > > +{
    > > +}
    > > +
    >
    > Note, this method was only included for the !CONFIG_DEBUG_LOCK_ALLOC case, so
    > i left it out for the time being.
    >
    > Which may result in a somewhat incomplete debug state, but it would at least
    > build with lockdep enabled ;-)

    Indeed, I clearly didn't test with the boot-time lock testing enabled. :-/

    Please accept my apologies for my mess-up, and thank you for fixing it!

    Thanx, Paul


    \
     
     \ /
      Last update: 2010-03-04 21:39    [W:0.024 / U:0.024 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site