Re: [RFC] sleepy linux



Am Mittwoch, 26. Dezember 2007 00:07:31 schrieb Pavel Machek:
Heute 00:07:31
 
This is RFC. It does not even work for me... it sleeps but it will not
wake up, because SATA wakeup code is missing. Code attached for illustration.

I wonder if this is the right approach? What is right interface to the
drivers?

IMHO you are making to many special cases. The system can be "sleepy"
if all devices can be runtime suspended and all CPUs are idle.

Regards
Oliver

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



Relevant Pages

  • Re: [RFC] sleepy linux
    ... it sleeps but it will not ... wake up, because SATA wakeup code is missing. ...
    (Linux-Kernel)
  • Re: [RFC] sleepy linux
    ... it sleeps but it will not ... wake up, because SATA wakeup code is missing. ... suspend() must be able to sleep and can fail. ...
    (Linux-Kernel)
  • Re: [RFC] sleepy linux
    ... it sleeps but it will not ... because SATA wakeup code is missing. ... Pretty much, except that "timer device" needs to be runtime suspended, ...
    (Linux-Kernel)
  • Re: [RFC] sleepy linux
    ... wake up, because SATA wakeup code is missing. ... or can wake up system on any packet (and not loose too many packets) ...
    (Linux-Kernel)
  • Re: [RFC] sleepy linux
    ... wake up, because SATA wakeup code is missing. ... What is right interface to the ... You're going to constantly wake up the machine due to broadcast packets, and spend a lot of power just going in and out of S3. ...
    (Linux-Kernel)