[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTi=AGQyvG58n9FG2Axbz7Ue8a6E3kg@mail.gmail.com>
Date: Mon, 9 May 2011 23:22:24 +0800
From: Ming Lei <tom.leiming@...il.com>
To: Oliver Neukum <oliver@...kum.org>
Cc: netdev@...r.kernel.org, linux-usb@...r.kernel.org
Subject: Re: future developments of usbnet
Hi,
2011/5/9 Oliver Neukum <oliver@...kum.org>:
> Do we really need to avoid it, or do we just need to recover?
> If avoidance is needed, should we use NAPI?
IMO, OOM can recover it certainly but with much cost, so we should
avoid the case. I don't think NAPI can avoid it, because NAPI will
cause skb to be allocated without any limit if there are packets
coming, still no chance left for usbnet_bh to handle and free these
SKBs.
thanks,
--
Ming Lei
--
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