From: Romano Giannetti <romanol@upco.es>
To: Arjan van de Ven <arjan@infradead.org>
Cc: Keith Owens <kaos@sgi.com>, Ingo Molnar <mingo@elte.hu>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.12-rc2 in_atomic() picks up preempt_disable()
Date: Thu, 7 Apr 2005 14:24:06 +0200 [thread overview]
Message-ID: <20050407122406.GA16360@pern.dea.icai.upco.es> (raw)
In-Reply-To: <1112869057.6290.36.camel@laptopd505.fenrus.org>
On Thu, Apr 07, 2005 at 12:17:37PM +0200, Arjan van de Ven wrote:
> On Thu, 2005-04-07 at 20:10 +1000, Keith Owens wrote:
> > 2.6.12-rc2, with CONFIG_PREEMPT and CONFIG_PREEMPT_DEBUG. The
> > in_atomic() macro thinks that preempt_disable() indicates an atomic
> > region so calls to __might_sleep() result in a stack trace.
>
> but you're not allowed to schedule when preempt is disabled!
>
Could it be related to this:
http://marc.theaimsgroup.com/?l=linux-kernel&m=111277325629959&w=2
--
Romano Giannetti - Univ. Pontificia Comillas (Madrid, Spain)
Electronic Engineer - phone +34 915 422 800 ext 2416 fax +34 915 596 569
next prev parent reply other threads:[~2005-04-07 12:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-07 10:10 Keith Owens
2005-04-07 10:17 ` Arjan van de Ven
2005-04-07 12:24 ` Romano Giannetti [this message]
2005-04-07 10:22 ` Andrew Morton
2005-04-07 14:54 ` Ingo Molnar
2005-04-07 18:40 Mikael Pettersson
2005-04-07 18:59 ` Ingo Molnar
2005-04-07 20:17 ` Arjan van de Ven
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=20050407122406.GA16360@pern.dea.icai.upco.es \
--to=romanol@upco.es \
--cc=arjan@infradead.org \
--cc=kaos@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=romano@dea.icai.upco.es \
/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®