From: Herbert Xu <herbert@gondor.apana.org.au>
To: Arjan van de Ven <arjan@linux.intel.com>
Cc: Arjan van de Ven <arjan@infradead.org>,
davej@redhat.com, linux-kernel@vger.kernel.org,
netdev@vger.kernel.org, davem@davemloft.net,
linville@tuxdriver.com, jt@hpl.hp.com
Subject: Re: orinoco driver causes *lots* of lockdep spew
Date: Fri, 4 Aug 2006 11:05:50 +1000 [thread overview]
Message-ID: <20060804010550.GA12085@gondor.apana.org.au> (raw)
In-Reply-To: <44D214D2.70206@linux.intel.com>
On Thu, Aug 03, 2006 at 08:22:58AM -0700, Arjan van de Ven wrote:
>
> however I'm not quite yet convinced that this patch is going to solve
> this particular deadlock.
> (I agree with the principle of it and I think it's really needed,
> I just don't yet see how it's going to solve this specific deadlock. But
> then again it's early and I've not had sufficient coffee yet so I could
> well be wrong)
Well it solves the dead lock by breaking the chain that links the
netlink system with the jungle of wireless locking :)
The spin lock in sk_buff_head acts as a mediator. We only feed the
skb to the netlink system once that spin lock has been dropped.
> it's not just about irq context, it's about being called with any lock
> that's
> used in IRQ context; that is what makes this double nasty...
Yes it is nasty. However, so far wireless seems to be the only offender.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
next prev parent reply other threads:[~2006-08-04 1:06 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-02 21:59 Dave Jones
2006-08-03 12:15 ` Arjan van de Ven
2006-08-03 13:54 ` Herbert Xu
2006-08-03 14:11 ` Christoph Hellwig
2006-08-03 18:58 ` Jean Tourrilhes
2006-08-03 18:59 ` Dave Jones
2006-08-03 19:40 ` Jean Tourrilhes
2006-08-03 19:45 ` Arjan van de Ven
2006-08-03 18:59 ` Dave Jones
2006-08-03 15:22 ` Arjan van de Ven
2006-08-04 1:05 ` Herbert Xu [this message]
2006-08-03 18:55 ` Jean Tourrilhes
2006-08-03 19:53 ` John W. Linville
2006-08-04 1:06 ` Herbert Xu
2006-08-04 2:11 ` 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=20060804010550.GA12085@gondor.apana.org.au \
--to=herbert@gondor.apana.org.au \
--cc=arjan@infradead.org \
--cc=arjan@linux.intel.com \
--cc=davej@redhat.com \
--cc=davem@davemloft.net \
--cc=jt@hpl.hp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=netdev@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®