From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Neukum Subject: Re: [PATCH] usbnet: ratelimit kevent may have been dropped warnings Date: Mon, 12 Nov 2012 08:11:17 +0100 Message-ID: <2307929.dSuWXzjfzE@linux-lqwf.site> References: <1352391981-15692-1-git-send-email-steve.glendinning@shawell.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: netdev@vger.kernel.org To: Steve Glendinning Return-path: Received: from cantor2.suse.de ([195.135.220.15]:46589 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751290Ab2KLHLJ (ORCPT ); Mon, 12 Nov 2012 02:11:09 -0500 In-Reply-To: <1352391981-15692-1-git-send-email-steve.glendinning@shawell.net> Sender: netdev-owner@vger.kernel.org List-ID: On Thursday 08 November 2012 16:26:21 Steve Glendinning wrote: > when something goes wrong, a flood of these messages can be > generated by usbnet (thousands per second). This doesn't > generally *help* the condition so this patch ratelimits the > rate of their generation. > > There's an underlying problem in usbnet's kevent deferral > mechanism which needs fixing, specifically that events *can* > get dropped and not handled. This patch doesn't address this, > but just mitigates fallout caused by the current implemention. > > Signed-off-by: Steve Glendinning Acked-by: Oliver Neukum