Re: [patch 7/8] lock validator: s390 use raw_spinlock in mcck handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 14, 2006 at 09:25:16PM +0200, Ingo Molnar wrote:
> 
> * Heiko Carstens <[email protected]> wrote:
> 
> > From: Heiko Carstens <[email protected]>
> > 
> > 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux