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: <20090220180553.GB1490@ucw.cz>
Date:	Fri, 20 Feb 2009 19:05:53 +0100
From:	Pavel Machek <pavel@...e.cz>
To:	Oliver Neukum <oliver@...kum.org>
Cc:	Arjan van de Ven <arjan@...radead.org>,
	Benjamin Herrenschmidt <benh@...nel.crashing.org>,
	"Rafael J. Wysocki" <rjw@...k.pl>,
	pm list <linux-pm@...ts.linux-foundation.org>,
	LKML <linux-kernel@...r.kernel.org>,
	Arve Hj?nnev?g <arve@...roid.com>,
	Alan Stern <stern@...land.harvard.edu>,
	Nigel Cunningham <nigel@...el.suspend2.net>,
	Matthew Garrett <mjg59@...f.ucam.org>,
	mark gross <mgross@...ux.intel.com>,
	"Woodruff, Richard" <r-woodruff2@...com>,
	Uli Luckas <u.luckas@...d.de>,
	Igor Stoppa <igor.stoppa@...ia.com>,
	Brian Swetland <swetland@...gle.com>,
	Len Brown <lenb@...nel.org>
Subject: Re: [RFD] Automatic suspend

On Tue 2009-02-17 00:20:12, Oliver Neukum wrote:
> Am Monday 16 February 2009 18:31:08 schrieb Arjan van de Ven:
> > On Mon, 16 Feb 2009 17:48:06 +0100
> > Oliver Neukum <oliver@...kum.org> wrote:
> > 
> > > > Userspace should just be the part that says "I'm interested in link
> > > > notifications". The driver then just goes to the lowest power state
> > > > for its device that still gives those notifications.
> > > 
> > > Should there be a channel through which drivers can tell user space
> > > what the consequences in terms of reaching a sleep state are if a
> > > service is requested?
> > 
> > Personally, I don't think so.
> > Think about it: what would userspace do?
> > Not ask for the functionality if it means no sleep state?
> > Maybe it should just never ask for it then as a required functionality!
> 
> 1. You may have a human being using the information to make the tradeoff.
> 2. User space may be able to select among several devices the one cheapest
> to use

Well, that sounds complex/fragile... and it is really exporting
hardware impormation driver does not even neccessarily know.

If this is for user, perhaps it should be in documentation and/or
hardware user manual?

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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