Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755906Ab0AWCpU (ORCPT ); Fri, 22 Jan 2010 21:45:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753885Ab0AWCpT (ORCPT ); Fri, 22 Jan 2010 21:45:19 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:57171 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751976Ab0AWCpR (ORCPT ); Fri, 22 Jan 2010 21:45:17 -0500 Date: Fri, 22 Jan 2010 18:45:28 -0800 (PST) Message-Id: <20100122.184528.55590107.davem@davemloft.net> To: jesse.brandeburg@intel.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] net: NETDEV WATCHDOG should print something every time From: David Miller In-Reply-To: <20100122214333.14389.86017.stgit@jbrandeb-ich9b.jf.intel.com> References: <20100122214333.14389.86017.stgit@jbrandeb-ich9b.jf.intel.com> X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1091 Lines: 25 From: Jesse Brandeburg Date: Fri, 22 Jan 2010 13:43:33 -0800 > commit 5337407c changed NETDEV WATCHDOG messages into a message > that will only print once per driver load. This removed a significant amount > of information from an admin who might be missing that his system was having > NETDEV WATCHDOGs, esp since there is no other global counter available to > count these events. It's not once per driver load, it's once globally. Once per driver load would be in fact what I would actually consider more reasonable, so put the boolean state into struct netdev, and test it to decide whether to do the WARN_ON() print. Doing a message every time is way overboard and is going to spam some people's systems to the point where they can't even diagnose the problem, so I'm not accepting a patch which does that. -- 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/