Re: orinoco driver causes *lots* of lockdep spew

From: John W. Linville
Date: Thu Aug 03 2006 - 15:59:11 EST


On Thu, Aug 03, 2006 at 11:54:41PM +1000, Herbert Xu wrote:
> Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:
> >
> > this is another one of those nasty buggers;
>
> Good catch. It's really time that we fix this properly rather than
> adding more kludges to the core code.
>
> Dave, once this goes in you can revert the previous netlink workaround
> that added the _bh suffix.
>
> [WIRELESS]: Send wireless netlink events with a clean slate
>
> Drivers expect to be able to call wireless_send_event in arbitrary
> contexts. On the other hand, netlink really doesn't like being
> invoked in an IRQ context. So we need to postpone the sending of
> netlink skb's to a tasklet.
>
> Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>

Does anyone have any objection to Herbert's patch? It seems
appropriate to me.

Arjan, did you convince yourself whether or not this patch actually
resolves the problem at hand? Applying it makes sense to me either
way, but it would be nice to believe it fixed a known issue. :-)

John
--
John W. Linville
linville@xxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/