Messages in this thread | | | Date | Wed, 14 Jun 2006 20:47:57 +0200 | From | Heiko Carstens <> | Subject | Re: [patch 7/8] lock validator: s390 use raw_spinlock in mcck handler |
| |
On Wed, Jun 14, 2006 at 09:25:16PM +0200, Ingo Molnar wrote: > > * Heiko Carstens <heiko.carstens@de.ibm.com> wrote: > > > From: Heiko Carstens <heiko.carstens@de.ibm.com> > > > > Machine checks on s390 are always enabled (except in the machine check > > handler itself). Therefore use a raw_spinlock in the machine check > > handler to avoid deadlocks in the lock validator. > > hm, couldnt you use the ->lockdep_recursion mechanism to take care of > such cases? Just call lockdep_off() when entering a machine exception > handler, and lockdep_on() when exiting it.
Ah, sure. Wasn't aware that there is such an interface. Will do. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |