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: <20100804233924.5303d19a@schatten.dmk.lab>
Date:	Wed, 4 Aug 2010 23:39:24 +0200
From:	Florian Mickler <florian@...kler.org>
To:	Pavel Machek <pavel@....cz>
Cc:	"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
	Matthew Garrett <mjg59@...f.ucam.org>,
	Arjan van de Ven <arjan@...radead.org>,
	Arve Hj?nnev?g <arve@...roid.com>,
	linux-pm@...ts.linux-foundation.org, linux-kernel@...r.kernel.org,
	rjw@...k.pl, stern@...land.harvard.edu, swetland@...gle.com,
	peterz@...radead.org, tglx@...utronix.de, alan@...rguk.ukuu.org.uk
Subject: Re: Attempted summary of suspend-blockers LKML thread

On Wed, 4 Aug 2010 23:15:13 +0200
Pavel Machek <pavel@....cz> wrote:

> Hi!
> 
> > > > > If this doesn't work for the Android folks for whatever reason, another
> > > > > approach would be to do the freeze in user code, which could track
> > > > > whether any user-level resources (pthread mutexes, SysV semas, whatever)
> > > > > where held, and do the freeze on a thread-by-thread basis within each
> > > > > "victim" application as the threads reach safe points.
> > > > 
> > > > The main problem I see with the cgroups solution is that it doesn't seem 
> > > > to do anything to handle avoiding loss of wakeup events.
> > > 
> > > In different message, Arve said they are actually using low-power idle
> > > to emulate suspend on Android.
> > 
> > Hello, Pavel,
> > 
> > Could you please point me at this message?
> 
> AFAICT, this tells us that idle and suspend is the same hardware state
> on current Android hardware:
> 								Pavel
> 
> Message-ID: <AANLkTinjH0C0bSK=Y2wKASnbJFsR2BN303xBXkaHbmRC@...l.gmail.com>
> 
> Arve said:
> 
> If you just program the alarm you will wake up see that the monotonic
> clock has not advanced and set the alarm another n seconds into the
> future. Or are proposing that suspend should be changed to keep the
> monotonic clock running? If you are, why? We can enter the same
> hardware states from idle, and modifying suspend to wake up more often
> would increase the average power consumption in suspend, not improve
> it for idle. In other words, if suspend wakes up as often as idle, why
> use suspend?
> 
> 

They always told us from the beginning, that on the msm platform they
reach the same powerlevel from suspend and idle. They still get gains
from using opportunistic suspend. 

Cheers,
Flo
--
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