public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Heiko Carstens <heiko.carstens@de.ibm.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: Arjan van de Ven <arjan@infradead.org>,
	Andrew Morton <akpm@osdl.org>,
	linux-kernel@vger.kernel.org,
	Martin Schwidefsky <schwidefsky@de.ibm.com>
Subject: Re: [patch 7/8] lock validator: s390 use raw_spinlock in mcck handler
Date: Wed, 14 Jun 2006 20:47:57 +0200	[thread overview]
Message-ID: <20060614184757.GA10391@osiris.ibm.com> (raw)
In-Reply-To: <20060614182516.GB31243@elte.hu>

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.

      reply	other threads:[~2006-06-14 18:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-14 14:23 [patch 7/8] lock validator: s390 use raw_spinlock in mcck handler Heiko Carstens
2006-06-14 18:25 ` Ingo Molnar
2006-06-14 18:47   ` Heiko Carstens [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060614184757.GA10391@osiris.ibm.com \
    --to=heiko.carstens@de.ibm.com \
    --cc=akpm@osdl.org \
    --cc=arjan@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=schwidefsky@de.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox