Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753838Ab3JBMRI (ORCPT ); Wed, 2 Oct 2013 08:17:08 -0400 Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:42508 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752913Ab3JBMRG (ORCPT ); Wed, 2 Oct 2013 08:17:06 -0400 X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 108.39.110.144 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+jEkfwkRGleqWGIau4DTCdZgIG5p30Nks= Date: Wed, 2 Oct 2013 08:17:01 -0400 From: Jason Cooper To: Sebastian Hesselbarth Cc: David Miller , Lennert Buytenhek , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] net: mv643xx_eth: update statistics timer from timer context only Message-ID: <20131002121701.GI31178@titan.lakedaemon.net> References: <1380711442-24735-1-git-send-email-sebastian.hesselbarth@gmail.com> <1380711442-24735-2-git-send-email-sebastian.hesselbarth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1380711442-24735-2-git-send-email-sebastian.hesselbarth@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1192 Lines: 34 On Wed, Oct 02, 2013 at 12:57:20PM +0200, Sebastian Hesselbarth wrote: > Each port driver installs a periodic timer to update port statistics > by calling mib_counters_update. As mib_counters_update is also called > from non-timer context, we should not reschedule the timer there but > rather move it to timer-only context. > > Signed-off-by: Sebastian Hesselbarth > --- > Cc: David Miller > Cc: Lennert Buytenhek > Cc: Jason Cooper > Cc: netdev@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > --- > drivers/net/ethernet/marvell/mv643xx_eth.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) Acked-by: Jason Cooper Introduced by: 4ff3495a mv643xx_eth: enforce frequent hardware statistics polling which goes all the way back to v2.6.28 thx, Jason. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/