Thread (1 message) 1 message, 1 author, 2008-09-11

Re: FW: select with timeout across S3

From: Pavel Machek <hidden>
Date: 2008-09-11 09:24:10

On Thu 2008-09-11 02:17:10, Leisner, Martin wrote:
Hi,

I finally got 2.6.27-rc5 running...no change in my test program...

I'm going to look at the patches we're using for 2.4.20/2.6.20...
So the bug is still there, or did 2.6.27-rc5 magically solve the problem?
marty


-----Original Message-----
From: Pavel Machek [mailto:pavel@suse.cz]
Sent: Mon 9/1/2008 2:25 AM
To: Leisner, Martin
Cc: linux-kernel@vger.kernel.org; linux-pm@lists.linux-foundation.org
Subject: Re: FW: [linux-pm] select with timeout across S3
 
Hi!
quoted
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...
Can you test this on 2.6.27-rc? We did have some fixes in that
area....

							Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help