[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <36D9DB17C6DE9E40B059440DB8D95F520655F9A0@orsmsx418.amr.corp.intel.com>
Date: Fri, 3 Oct 2008 09:25:06 -0700
From: "Brandeburg, Jesse" <jesse.brandeburg@...el.com>
To: "Linus Torvalds" <torvalds@...ux-foundation.org>,
"Christian Borntraeger" <borntraeger@...ibm.com>
Cc: "Thomas Gleixner" <tglx@...utronix.de>,
"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>,
"Arjan van de Ven" <arjan@...radead.org>
Subject: RE: [regression] Latest git has WARN_ON storm with e1000e driver
Linus Torvalds wrote:
> 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()".
okay, do you want me to post a patch? I think Thomas is probably
offline due to fridaynightitis. Change the code to:?
WARN_ON(in_atomic() || irqs_disabled);
> Duh. That was wasted effort for a buggy test.
Apologies for not catching it.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists