Re: [PATCH] usb-gadget-ether: Prevent oops caused by error interrupt race -V2 (comments update)
- From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
- Date: Sat, 22 Sep 2007 21:30:40 +0200
On Sat, 2007-09-22 at 12:18 -0700, David Brownell wrote:
I think you misread my comment. Those requests are **NOT** pending!!
So this update has a *MORE* incorrect description of the issue.
That's just the freelist ... it's a fairly conventional model whereby
there's a pool of "free" request slots which can be issued. When the
pool empties, the TX queue shuts down until one of the requests which
is pending in the hardware completes, and makes a slot free.
The problem you're addressing is that there's a small window where a
disconnect IRQ can shut down the TX queue (and empty that freelist)
after upper layers in the network stack started a transmission on
an active (pre-disconnect) TX queue.
That problem is *NOT* related to any pending requests at all!!
Sorry, I misunderstood your comment. Can you please add the correct
comment yourself before we play some more rounds of ping pong ?
tglx
-
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/
- Follow-Ups:
- References:
- [PATCH] usb-gadget-ether: Prevent oops caused by error interrupt race
- From: Thomas Gleixner
- Re: [PATCH] usb-gadget-ether: Prevent oops caused by error interrupt race
- From: David Brownell
- [PATCH] usb-gadget-ether: Prevent oops caused by error interrupt race -V2 (comments update)
- From: Thomas Gleixner
- Re: [PATCH] usb-gadget-ether: Prevent oops caused by error interrupt race -V2 (comments update)
- From: David Brownell
- [PATCH] usb-gadget-ether: Prevent oops caused by error interrupt race
- Prev by Date: [RFC] New kernel-message logging API
- Next by Date: Re: memset as memzero
- Previous by thread: Re: [PATCH] usb-gadget-ether: Prevent oops caused by error interrupt race -V2 (comments update)
- Next by thread: Re: [PATCH] usb-gadget-ether: Prevent oops caused by error interrupt race -V2 (comments update)
- Index(es):
Relevant Pages
|