mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Vegard Nossum <vegard.nossum@gmail.com>,
	Alexey Dobriyan <adobriyan@gmail.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Greg KH <gregkh@suse.de>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.29-rc3: BUG: scheduling while atomic: udevd/917/0x10000100
Date: Wed, 11 Feb 2009 10:27:45 +0100	[thread overview]
Message-ID: <20090211092745.GB14265@elte.hu> (raw)
In-Reply-To: <1234342189.23438.113.camel@twins>


* Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:

> On Wed, 2009-02-11 at 09:32 +0100, Ingo Molnar wrote:
> 
> > There's a fourth possibility:
> > 
> >  - Given that it's udevd that does it - maybe we leaked a softirq preempt
> >    count in some rare sysfs file, and it did not get discovered until the
> >    next innocent piece of kernel code preempted?
> > 
> > But i thought lockdep would already warn if we exited a syscall with locks
> > held or with a preempt count elevated - Peter?
> 
> From a quick look it only checks task->lockdep_depth, in lockdep_sys_exit().

That could be broadened then i guess - there's never a good excuse for exiting a 
syscall with an elevated preempt count.

	Ingo

      reply	other threads:[~2009-02-11  9:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-11  8:09 Vegard Nossum
2009-02-11  8:32 ` Ingo Molnar
2009-02-11  8:49   ` Peter Zijlstra
2009-02-11  9:27     ` Ingo Molnar [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=20090211092745.GB14265@elte.hu \
    --to=mingo@elte.hu \
    --cc=a.p.zijlstra@chello.nl \
    --cc=adobriyan@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vegard.nossum@gmail.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

all inboxes | Powered by JetHome®