From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Berg Subject: Re: [RFC net-next 0/2] net: Use net__ratelimit Date: Tue, 15 May 2012 20:21:34 +0200 Message-ID: <1337106094.15553.5.camel@jlt3.sipsolutions.net> References: <20120515.134531.530903973750646107.davem@davemloft.net> <1337104765.7050.24.camel@joe2Laptop> <1337105028.15553.3.camel@jlt3.sipsolutions.net> <20120515.141348.892964316296815698.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: dev-yBygre7rU0TnMu66kgdUjQ@public.gmane.org, linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, coreteam-Cap9r6Oaw4JrovVCs/uTlw@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-decnet-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-sctp-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, netfilter-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, netfilter-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, joe-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org To: David Miller Return-path: In-Reply-To: <20120515.141348.892964316296815698.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dev-bounces-yBygre7rU0TnMu66kgdUjQ@public.gmane.org Errors-To: dev-bounces-yBygre7rU0TnMu66kgdUjQ@public.gmane.org List-Id: netfilter-devel.vger.kernel.org On Tue, 2012-05-15 at 14:13 -0400, David Miller wrote: > From: Johannes Berg > Date: Tue, 15 May 2012 20:03:48 +0200 > > > Oops. Yes, please do that, mac80211 doesn't have DEBUG yet > > If you want debugging messages you would turn on dynamic_debug > via sysctl or whatever, not define DEBUG in your sources. > > I don't think we should add yet another interface just to get > KERN_DEBUG in there. But don't you have to do something in the sources to actually get dynamic_debug enabled? I'm concerned this will make mac80211 debugging inconsistent - the normal bits are just printk() still, and the rate-limited bits need some special enabling? That seems odd. johannes