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] [day] [month] [year] [list]
Date:	Wed, 28 Oct 2009 23:07:14 +0100
From:	"Rafael J. Wysocki" <rjw@...k.pl>
To:	Pavel Machek <pavel@....cz>
Cc:	kernel list <linux-kernel@...r.kernel.org>,
	linux-pm@...r.kernel.org
Subject: Re: 32-rc2: runtime_pm is noisy

On Tuesday 13 October 2009, Pavel Machek wrote:
> On Tue 2009-10-06 23:42:20, Rafael J. Wysocki wrote:
> > On Tuesday 06 October 2009, Pavel Machek wrote:
> > > Hi!
> > > 
> > > Maybe it is my config,
> > 
> > Yes it is.
> > 
> > > but pm_runtime_idle is a bit too noisy on
> > > zaurus... ok, I do have pm_debug & pm_verbose
> > 
> > Exactly.
> > 
> > > set... but still, is it useful to print message about devices that do not
> > > support it?
> > 
> > It may be useful, because, for example, PCI can put devices without drivers
> > into low power states using this mechanism.
> > 
> > Still, perhaps we can drop the debug messages from __pm_runtime_idle().
> > 
> > Care to send a patch?
> 
> Yep, something like this?

Applied to suspend-2.6/linux-next.

Thanks,
Rafael


> ---
> 
> pm_runtime_idle is somewhat noisy. Remove debug prints.
> 
> Signed-off-by: Pavel Machek <pavel@....cz>
> 
> --- a/drivers/base/power/runtime.c
> +++ b/drivers/base/power/runtime.c
> @@ -51,8 +51,6 @@ static int __pm_runtime_idle(struct device *dev)
>  {
>  	int retval = 0;
>  
> -	dev_dbg(dev, "__pm_runtime_idle()!\n");
> -
>  	if (dev->power.runtime_error)
>  		retval = -EINVAL;
>  	else if (dev->power.idle_notification)
> @@ -93,8 +91,6 @@ static int __pm_runtime_idle(struct device *dev)
>  	wake_up_all(&dev->power.wait_queue);
>  
>   out:
> -	dev_dbg(dev, "__pm_runtime_idle() returns %d!\n", retval);
> -
>  	return retval;
>  }
>  
> 
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ