Re: [PATCH] debugobjects: fix lockdep warning #2

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Daniel J Blueman
Date: Friday, August 29, 2008 - 2:57 pm

Hi Andrew, Vegard, Ingo,

On Fri, Aug 29, 2008 at 1:17 AM, Andrew Morton
<akpm@linux-foundation.org> wrote:

IRQ-safe xtime_lock is taken, then pool_lock is taken in
__debug_object_init, which is potentially unsafe. Upgrading
pool_lock's usage to IRQ-safe ensures there can be no potential for
deadlock.


I've done some fairly heavy testing with the patch at it's current
state (ie with the upgraded pool_lock, explained above), and it _is_
in fact solid; I wasn't looking at the right setup previously.

(with the other XFS tweaks too) I'm not able to cause any
deadlocks/stack traces/warnings with maximum debugging [* the KVM
errors are another story], which would be the first time so far, so
the patch looks good for mainline and 2.6.27 is looking very strong!

Daniel

--- [*]

emulation failed (pagetable) rip bf9032c5 0f 6f 17 0f
__ratelimit: 1804664 callbacks suppressed
Fail to handle apic access vmexit! Offset is 0xf0
-- 
Daniel J Blueman
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] debugobjects: fix lockdep warning #2, Vegard Nossum, (Thu Aug 28, 8:32 am)
Re: [PATCH] debugobjects: fix lockdep warning #2, Andrew Morton, (Thu Aug 28, 5:17 pm)
Re: [PATCH] debugobjects: fix lockdep warning #2, Thomas Gleixner, (Fri Aug 29, 3:42 am)
Re: [PATCH] debugobjects: fix lockdep warning #2, Thomas Gleixner, (Fri Aug 29, 7:02 am)
Re: [PATCH] debugobjects: fix lockdep warning #2, Daniel J Blueman, (Fri Aug 29, 2:57 pm)
[GIT pull] debugobject fixes for 2.6.27, Thomas Gleixner, (Mon Sep 1, 3:59 am)