Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751989AbaKKTSl (ORCPT ); Tue, 11 Nov 2014 14:18:41 -0500 Received: from shards.monkeyblade.net ([149.20.54.216]:60650 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751673AbaKKTSk (ORCPT ); Tue, 11 Nov 2014 14:18:40 -0500 Date: Tue, 11 Nov 2014 14:18:33 -0500 (EST) Message-Id: <20141111.141833.1514022968668773382.davem@davemloft.net> To: joe@perches.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, courmisch@gmail.com, nicolas.dichtel@6wind.com Subject: Re: [PATCH V2 net-next] net: Convert LIMIT_NETDEBUG to net_dbg_ratelimited From: David Miller In-Reply-To: <1415732357.16070.8.camel@perches.com> References: <1415560642.23530.43.camel@perches.com> <20141111.133027.1109527863491750125.davem@davemloft.net> <1415732357.16070.8.camel@perches.com> X-Mailer: Mew version 6.5 on Emacs 24.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.7 (shards.monkeyblade.net [149.20.54.216]); Tue, 11 Nov 2014 11:18:39 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Joe Perches Date: Tue, 11 Nov 2014 10:59:17 -0800 > Use the more common dynamic_debug capable net_dbg_ratelimited > and remove the LIMIT_NETDEBUG macro. > > All messages are still ratelimited. > > Some KERN_ uses are changed to KERN_DEBUG. > > This may have some negative impact on messages that were > emitted at KERN_INFO that are not not enabled at all unless > DEBUG is defined or dynamic_debug is enabled. Even so, > these messages are now _not_ emitted by default. > > This also eliminates the use of the net_msg_warn sysctl > "/proc/sys/net/core/warnings". For backward compatibility, > the sysctl is not removed, but it has no function. The extern > declaration of net_msg_warn is removed from sock.h and made > static in net/core/sysctl_net_core.c > > Miscellanea: > > o Update the sysctl documentation > o Remove the embedded uses of pr_fmt > o Coalesce format fragments > o Realign arguments > > Signed-off-by: Joe Perches > --- > > V2: Remove the EXPORT_SYMBOL for net_msg_warn and make > it a static in net/core/sysctl_net_core.c Applied, thanks a lot Joe. -- 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/