Re: [linux-pm] [RFC] sleepy linux

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: ext Pavel Machek <pavel@...>
Cc: kernel list <linux-kernel@...>, Linux-pm mailing list <linux-pm@...>
Date: Wednesday, December 26, 2007 - 4:09 pm

Hi,
On Wed, 2007-12-26 at 00:07 +0100, ext Pavel Machek wrote:

Why can't these cases be based on CPUIdle?


This is about setting up properly the wakeup sources which means:

- the wakeup source is really capable of generating wakeups for the
target idle state

- the wakeup source is not actually capable of genrating wakeups from
the target idle state, which can be solved in 2 ways:

	- if the duration of the activity is known, set up an alarm 
	  (assuming alarms are proper wakeup sources) so that the
	   system is ready just in time, in a less efficient but more
	   responsive power saving state

	- if the duration of the activity is unknown choose the more 
	  efficient amongst the following solutions:

		- go to deep sleep state and periodically wakeup and
		  poll, with a period compatible with the timing 
		  of the event source

		- prevent too deep sleep states till the event happens


It might be that some hw doesn't provide deep power saving state for
some devices, but if the only missing feature is the wakeup capability,
it could be effectively replaced by some HW timer.



These are just few system specific case, but if you start including USB
devices, the situation is going to get quite complicated very soon, if
you explicitly include certain HW devices in your model.


-- 
Cheers, Igor

Igor Stoppa <igor.stoppa@nokia.com>
(Nokia Multimedia - CP - OSSO / Helsinki, Finland)
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] sleepy linux, Pavel Machek, (Tue Dec 25, 7:07 pm)
Re: [RFC] sleepy linux, Ingo Molnar, (Sun Dec 30, 7:15 am)
Re: [RFC] sleepy linux, Pavel Machek, (Sat Jan 5, 5:51 pm)
Re: [RFC] sleepy linux, Ingo Molnar, (Tue Jan 8, 12:37 pm)
Re: [RFC] sleepy linux, Pavel Machek, (Tue Jan 8, 3:15 pm)
Re: [linux-pm] [RFC] sleepy linux, Igor Stoppa, (Wed Dec 26, 4:09 pm)
Re: [RFC] sleepy linux, H. Peter Anvin, (Wed Dec 26, 2:56 pm)
Re: [RFC] sleepy linux, Oliver Neukum, (Wed Dec 26, 4:08 pm)
Re: [RFC] sleepy linux, H. Peter Anvin, (Wed Dec 26, 4:43 pm)
Re: [RFC] sleepy linux, Pavel Machek, (Wed Dec 26, 4:51 pm)
Re: [RFC] sleepy linux, H. Peter Anvin, (Wed Dec 26, 4:54 pm)
Re: [RFC] sleepy linux, Pavel Machek, (Sat Dec 29, 7:44 pm)
Re: [RFC] sleepy linux, Pavel Machek, (Wed Dec 26, 3:00 pm)
Re: [RFC] sleepy linux, H. Peter Anvin, (Wed Dec 26, 3:22 pm)
Re: [RFC] sleepy linux, Oliver Neukum, (Wed Dec 26, 1:28 pm)
Re: [RFC] sleepy linux, Pavel Machek, (Wed Dec 26, 4:17 pm)
Re: [RFC] sleepy linux, Oliver Neukum, (Wed Dec 26, 4:23 pm)
Re: [RFC] sleepy linux, Pavel Machek, (Wed Dec 26, 4:32 pm)
Re: [RFC] sleepy linux, Oliver Neukum, (Thu Dec 27, 5:41 am)
Re: [RFC] sleepy linux, Pavel Machek, (Sat Dec 29, 7:51 pm)
Re: [RFC] sleepy linux, Oliver Neukum, (Sun Dec 30, 12:39 pm)
Re: [RFC] sleepy linux, Pavel Machek, (Mon Dec 31, 10:44 am)
Re: [RFC] sleepy linux, Oliver Neukum, (Wed Jan 2, 6:52 am)
Re: [RFC] sleepy linux, Oliver Neukum, (Wed Dec 26, 7:15 pm)
Re: [RFC] sleepy linux, Pavel Machek, (Sat Dec 29, 7:48 pm)
Re: [RFC] sleepy linux, Pavel Machek, (Wed Dec 26, 3:02 pm)