[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1007261106350.1550-100000@iolanthe.rowland.org>
Date: Mon, 26 Jul 2010 11:13:23 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: Elly Jones <ellyjones@...gle.com>,
Oliver Neukum <oliver@...kum.org>
cc: David Miller <davem@...emloft.net>, <netdev@...r.kernel.org>,
USB list <linux-usb@...r.kernel.org>
Subject: Re: [patch] usbnet: fix 100% CPU use on suspended device
On Mon, 26 Jul 2010, Elly Jones wrote:
> > This isn't right. The problem should be fixed some other way. Under
> > what circumstances are URBs submitted incorrectly?
>
> When the device is autosuspended. What is the proper thing for a
> device to do here?
>From looking at the code, it appears that the EVENT_DEV_ASLEEP flag
should be tested in usbnet_bh() the way it is in rx_submit(). But I'm
not an expert on usbnet; we should ask someone who is, like Oliver.
Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists