Re: [patch] lockdep: fix possible races while disabling lock-debugging

2006-12-10 Thread Ingo Molnar
* Jarek Poplawski <[EMAIL PROTECTED]> wrote: > > @@ -567,12 +601,10 @@ static noinline int print_circular_bug_t > > if (debug_locks_silent) > > return 0; > > > > - /* hash_lock unlocked by the header */ > > - __raw_spin_lock(&hash_lock); > > this.class = check_source->cl

Re: [patch] lockdep: fix possible races while disabling lock-debugging

2006-12-07 Thread Jarek Poplawski
On Thu, Dec 07, 2006 at 02:29:03PM +0100, Ingo Molnar wrote: > Subject: [patch] lockdep: fix possible races while disabling lock-debugging > From: Ingo Molnar <[EMAIL PROTECTED]> ... > (also note that as we all know the Linux kernel is, by definition, > bug-free and perfect,

[patch] lockdep: fix possible races while disabling lock-debugging

2006-12-07 Thread Ingo Molnar
Subject: [patch] lockdep: fix possible races while disabling lock-debugging From: Ingo Molnar <[EMAIL PROTECTED]> Jarek Poplawski noticed that lockdep global state could be accessed in a racy way if one CPU did a lockdep assert (shutting lockdep down), while the other CPU would try