FW: [linux-pm] select with timeout across S3

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Leisner, Martin
Date: Thursday, August 28, 2008 - 10:32 am

The behavior of linux (in both 2.4.x and 2.6.x) is when the processor
sleeps, timeouts on select don't take into account the sleep time,
only the run time.

For example, this program should pause for 10 minutes -- however
if we go into S3 in the middle its pausing for (10 minutes + time in
S3)

I saw this on both 2.6.20 and 2.6.22...

marty

-----Original Message-----
From: linux-pm-bounces@lists.linux-foundation.org
[mailto:linux-pm-bounces@lists.linux-foundation.org] On Behalf Of Pavel
Machek
Sent: Thursday, August 28, 2008 10:30 AM
To: Leisner, Martin
Cc: linux-pm@lists.linux-foundation.org
Subject: Re: [linux-pm] select with timeout across S3

On Wed 2008-08-27 15:23:13, Leisner, Martin wrote:
sleep
whenever

That sounds like a bug. Can you write small demo program and post it
to lkml?

--=20
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures)
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
_______________________________________________
linux-pm mailing list
linux-pm@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/linux-pm
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
FW: [linux-pm] select with timeout across S3, Leisner, Martin, (Thu Aug 28, 10:32 am)
Re: [linux-pm] select with timeout across S3, Andreas Mohr, (Thu Aug 28, 1:57 pm)
Re: FW: [linux-pm] select with timeout across S3, Pavel Machek, (Sun Aug 31, 11:25 pm)