lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1237159729.8619.7.camel@localhost>
Date:	Mon, 16 Mar 2009 10:28:49 +1100
From:	Michael Ellerman <michael@...erman.id.au>
To:	Jaswinder Singh Rajput <jaswinder@...nel.org>
Cc:	Matthew Wilcox <matthew@....cx>, Greg KH <greg@...ah.com>,
	linux-pci <linux-pci@...r.kernel.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: more than 50 percent of dmesg belongs only to PCI and USB

On Sat, 2009-03-14 at 13:11 +0530, Jaswinder Singh Rajput wrote:
> Can we make dmesg little bit better and remove some noise and put these
> debug messages on /sys/kernel/debug/ :

I think they should just be KERN_DEBUG, that way they won't be displayed
to most users, except people who want to see them.

The problem is it's easier to write:

  dev_info(&dev->dev, "transparent bridge\n");

than:

  dev_printk(KERN_DEBUG, &dev->dev, "transparent bridge\n");

and, dev_dbg() does not do what you want in this case.


What about:

#define dev_quietly(dev, format, arg...)            \
        dev_printk(KERN_DEBUG , dev , format , ## arg)

:)

cheers

-- 
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person

Download attachment "signature.asc" of type "application/pgp-signature" (198 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ