mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Benjamin Herrenschmidt" <benh@kernel.crashing.org>
To: "Jeff Garzik" <jgarzik@pobox.com>, "Justin T. Gibbs" <gibbs@scsiguy.com>
Cc: "Konstantin Kletschke" <konsti@ludenkalle.de>,
	<linux-kernel@vger.kernel.org>
Subject: Re: Quick aic7xxx bug hunt...
Date: Mon, 23 Sep 2002 09:44:11 +0200	[thread overview]
Message-ID: <20020923074411.31595@192.168.4.1> (raw)
In-Reply-To: <3D8FA39B.7020201@pobox.com>

>Jeff Garzik wrote:
>> ahc_reset
>>     aic7770_config -> can sleep
>>     ahc_pci_config -> can sleep
>>     ahc_shutdown -> can't sleep, whoops
>
>
>Though, to answer your question from a previous email, you can call the 
>function in_interrupt() to see if you're in interrupt context.

Well... no, you can't rely on it for knowing if you can sleep or
not. in_interrupt() won't tell you interesting things like you
are holding a spinlock...

Ben.



      reply	other threads:[~2002-09-24  9:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-23 18:00 2.4.20-pre7-ac3 aic7xxx broken? Konstantin Kletschke
2002-09-23 19:15 ` Justin T. Gibbs
2002-09-23 21:27   ` Quick aic7xxx bug hunt Jeff Garzik
2002-09-23 21:54     ` Justin T. Gibbs
2002-09-23 22:18       ` Jeff Garzik
2002-09-23 22:44         ` Justin T. Gibbs
2002-09-23 22:50           ` Jeff Garzik
2002-09-23 22:55             ` Justin T. Gibbs
2002-09-23 23:22               ` Jeff Garzik
2002-09-23 23:28                 ` Jeff Garzik
2002-09-23  7:44                   ` Benjamin Herrenschmidt [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=20020923074411.31595@192.168.4.1 \
    --to=benh@kernel.crashing.org \
    --cc=gibbs@scsiguy.com \
    --cc=jgarzik@pobox.com \
    --cc=konsti@ludenkalle.de \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®