login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
October
»
3
Re: [regression] Latest git has WARN_ON storm with e1000e driver
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Thomas Gleixner
Subject:
Re: [regression] Latest git has WARN_ON storm with e1000e driver
Date: Friday, October 3, 2008 - 12:41 pm
On Fri, 3 Oct 2008, Linus Torvalds wrote:
quoted text
> On Fri, 3 Oct 2008, Christian Borntraeger wrote: > > > > kernel_init does lock_kernel (which does preempt_disable). > > The kernel_unlock is done in init_post. As far as I can see, this happens > > after the driver init calls. > > Yes. I just came to the same conclusion: preempt_count is 1 already in > do_one_initcall(). > > So this whole bug is actually because that debug test is just _broken_. It > shouldn't be WARN_ON(preempt_count()), it should be 'might_sleep()', which > does it right. > > The right thing to check is "in_atomic() || irqs_disabled()". > > Duh. That was wasted effort for a buggy test.
Stupid me. Yes I should have used might_sleep. It just did not trigger here as I did not have the driver compiled into the kernel. Sorry, tglx --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[regression] Latest git has WARN_ON storm with e1000e driver
, Christian Borntraeger
, (Fri Oct 3, 1:41 am)
Re: [regression] Latest git has WARN_ON storm with e1000e ...
, Linus Torvalds
, (Fri Oct 3, 7:52 am)
Re: [regression] Latest git has WARN_ON storm with e1000e ...
, Arjan van de Ven
, (Fri Oct 3, 8:08 am)
Re: [regression] Latest git has WARN_ON storm with e1000e ...
, Christian Borntraeger
, (Fri Oct 3, 8:20 am)
Re: [regression] Latest git has WARN_ON storm with e1000e ...
, Linus Torvalds
, (Fri Oct 3, 8:36 am)
Re: [regression] Latest git has WARN_ON storm with e1000e ...
, Christian Borntraeger
, (Fri Oct 3, 8:50 am)
Re: [regression] Latest git has WARN_ON storm with e1000e ...
, Christian Borntraeger
, (Fri Oct 3, 8:55 am)
Re: [regression] Latest git has WARN_ON storm with e1000e ...
, Linus Torvalds
, (Fri Oct 3, 9:05 am)
Re: [regression] Latest git has WARN_ON storm with e1000e ...
, Linus Torvalds
, (Fri Oct 3, 9:23 am)
RE: [regression] Latest git has WARN_ON storm with e1000e ...
, Brandeburg, Jesse
, (Fri Oct 3, 9:25 am)
Re: [regression] Latest git has WARN_ON storm with e1000e ...
, Christian Borntraeger
, (Fri Oct 3, 9:25 am)
RE: [regression] Latest git has WARN_ON storm with e1000e ...
, Linus Torvalds
, (Fri Oct 3, 9:36 am)
Re: [regression] Latest git has WARN_ON storm with e1000e ...
, Thomas Gleixner
, (Fri Oct 3, 12:41 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Dave Jones
Re: OT: character encodings (was: Linux 2.6.20-rc4)
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Sam Ravnborg
Re: [PATCH] kbuild: fix make V=1
Nick Piggin
Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures
Cong Wang
Re: [v2 Patch 3/3] bonding: make bonding support netpoll
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Junio C Hamano
Re: [PATCH 1/2] Teach git-describe to display distances from tags.
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
James Henstridge
Re: VCS comparison table
linux-netdev
:
Jarek Poplawski
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
Lennert Buytenhek
Re: Distributed Switch Architecture(DSA)
Daniel Schaffrath
Re: tcp bw in 2.6
Guo-Fu Tseng
Re: jme: UDP checksum error, and lots of them
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
openbsd-misc
:
Claudio Jeker
Re: Vlan Tag on Vlan Tag (l2tunneling)
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Pieter Verberne
File collision while using pkg_add
Tomas Bodzar
bsd: uvm_mapent_alloc: out of static map entries
Community First Financial
Teacher A+ Loan
git-commits-head
:
Linux Kernel Mailing List
ath9k: Added get_survey callback in order to get channel noise
Linux Kernel Mailing List
tracing: protect reader of cmdline output
Linux Kernel Mailing List
kconfig: recalc symbol value before showing search results
Linux Kernel Mailing List
[ARM] 5185/1: Fix spi num_chipselect for lubbock
Linux Kernel Mailing List
swsusp: provide users with a hint about the no_console_suspend option
Colocation donated by:
Syndicate