Trent Jaeger wrote:
> 
> On Nov 17, 2005, at 8:42 PM, Chris Wright wrote:
> > Little heavy on KERN_DEBUG printk's.  Could you drop them (or perhaps
> > use pr_debug instead)?
> 
> You are right.  Are there guidelines for when to use KERN_DEBUGs that  
> I should be aware of?

Never. Just use pr_debug(). 

Debugging output is just for developers getting rid of bugs :-)

Other verbose output should be rate limited and only enabled by setting some
admin configurable variable.

Rationale: The common use case is, that your are NOT debugging the kernel, 
because
it just works and the messages are just filling your logs.


Regards

Ingo Oeser

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to