From: Josh Triplett <josh@kernel.org>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: David Lang <david.lang@digitalinsight.com>,
Bill Davidsen <davidsen@tmr.com>,
Linus Torvalds <torvalds@linux-foundation.org>,
Pavel Machek <pavel@ucw.cz>,
linux-kernel@vger.kernel.org
Subject: Re: suspend2 merge (was Re: [Suspend2-devel] Re: CFS and suspend2: hang in atomic copy)
Date: Sat, 28 Apr 2007 18:34:34 -0700 [thread overview]
Message-ID: <4633F62A.2050801@kernel.org> (raw)
In-Reply-To: <20070429010428.GA8117@srcf.ucam.org>
Matthew Garrett wrote:
> On Sat, Apr 28, 2007 at 12:15:50PM -0700, David Lang wrote:
>> with dynaticks now in the kernel it may even be possible to have the idle
>> process decide that the next event is far enough away that it should
>> suspend-to-ram until that point.
>
> This would be ideal (and it's broadly what the OLPC guys are aiming for,
> I think), but on most platforms you're looking at at least a second or
> so to resume. As far as I know, we're still looking at ~60 ticks a
> second at best for an average desktop, so that's not going to be a win.
As long as the system has a clear idea of how long it will take to resume, it
can schedule a wakeup for a reasonable amount of time before that. Ideally, a
completely unused system might not need a tick for several seconds. However,
I agree that it doesn't make sense to add such functionality to the kernel
until someone can show a system that can actually wait that long between
ticks.
- Josh Triplett
next prev parent reply other threads:[~2007-04-29 1:34 UTC|newest]
Thread overview: 158+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-26 17:19 suspend2 merge (was Re: [Suspend2-devel] Re: CFS and suspend2: hang in atomic copy) Josh Triplett
2007-04-26 17:42 ` Linus Torvalds
2007-04-28 19:18 ` Bill Davidsen
2007-04-28 19:15 ` David Lang
2007-04-29 1:04 ` Matthew Garrett
2007-04-29 1:34 ` Josh Triplett [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-04-13 20:21 [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS] Ingo Molnar
2007-04-18 20:45 ` CFS and suspend2: hang in atomic copy Christian Hesse
2007-04-18 21:16 ` Ingo Molnar
2007-04-18 21:57 ` Christian Hesse
2007-04-18 22:02 ` Ingo Molnar
2007-04-19 1:52 ` [Suspend2-devel] " Nigel Cunningham
2007-04-19 7:04 ` Ingo Molnar
2007-04-24 20:23 ` suspend2 merge (was Re: [Suspend2-devel] Re: CFS and suspend2: hang in atomic copy) Pavel Machek
2007-04-24 20:41 ` Linus Torvalds
2007-04-24 20:51 ` Hua Zhong
2007-04-24 20:54 ` Ingo Molnar
2007-04-24 21:29 ` Pavel Machek
2007-04-24 22:24 ` Ray Lee
2007-04-25 21:41 ` Matt Mackall
2007-04-26 11:27 ` Pavel Machek
2007-04-26 19:04 ` Bill Davidsen
2007-04-24 21:24 ` Pavel Machek
2007-04-24 23:41 ` Linus Torvalds
2007-04-25 1:06 ` Olivier Galibert
2007-04-25 6:41 ` Ingo Molnar
2007-04-25 7:29 ` Pavel Machek
2007-04-25 7:48 ` Dumitru Ciobarcianu
2007-04-25 8:10 ` Pavel Machek
2007-04-25 8:22 ` Dumitru Ciobarcianu
2007-04-26 11:12 ` Pekka Enberg
2007-04-26 14:48 ` Rafael J. Wysocki
2007-04-26 16:10 ` Pekka Enberg
2007-04-26 19:28 ` Rafael J. Wysocki
2007-04-26 20:16 ` Nigel Cunningham
2007-04-26 20:37 ` Rafael J. Wysocki
2007-04-26 20:49 ` David Lang
2007-04-26 20:55 ` Nigel Cunningham
2007-04-26 21:22 ` Rafael J. Wysocki
2007-04-26 22:08 ` Nigel Cunningham
2007-04-25 8:48 ` Nigel Cunningham
2007-04-25 13:07 ` Federico Heinz
2007-04-25 19:38 ` Kenneth Crudup
2007-04-25 7:23 ` Pavel Machek
2007-04-25 8:48 ` Xavier Bestel
2007-04-25 8:50 ` Nigel Cunningham
2007-04-25 9:07 ` Xavier Bestel
2007-04-25 9:19 ` Nigel Cunningham
2007-04-26 18:18 ` Bill Davidsen
2007-04-25 9:02 ` suspend2 merge (was Re: [Suspend2-devel] Re: CFS and suspend2:hang " Romano Giannetti
2007-04-25 15:18 ` suspend2 merge (was Re: [Suspend2-devel] Re: CFS and suspend2: hang " Adrian Bunk
2007-04-25 17:34 ` Pavel Machek
2007-04-25 18:39 ` Adrian Bunk
2007-04-25 18:50 ` Linus Torvalds
2007-04-25 19:02 ` Hua Zhong
2007-04-25 19:25 ` Adrian Bunk
2007-04-25 19:38 ` Linus Torvalds
2007-04-25 20:08 ` Pavel Machek
2007-04-25 20:33 ` Rafael J. Wysocki
2007-04-25 20:31 ` Pavel Machek
2007-04-25 22:36 ` Manu Abraham
2007-04-25 20:20 ` Rafael J. Wysocki
2007-04-25 20:24 ` Linus Torvalds
2007-04-25 21:30 ` Pavel Machek
2007-04-25 21:40 ` Rafael J. Wysocki
2007-04-25 21:46 ` Pavel Machek
2007-04-25 22:22 ` Nigel Cunningham
2007-04-25 20:23 ` Adrian Bunk
2007-04-25 22:19 ` Kenneth Crudup
2007-04-25 19:41 ` Andrew Morton
2007-04-25 19:55 ` Pavel Machek
2007-04-25 22:13 ` Kenneth Crudup
2007-04-26 1:25 ` Antonino A. Daplas
2007-04-25 23:33 ` Olivier Galibert
2007-04-26 1:56 ` Nigel Cunningham
2007-04-26 7:27 ` David Lang
2007-04-26 9:45 ` Nigel Cunningham
2007-04-25 18:52 ` Alon Bar-Lev
2007-04-25 22:11 ` Kenneth Crudup
2007-04-25 19:43 ` Kenneth Crudup
2007-04-25 20:08 ` Linus Torvalds
2007-04-25 20:27 ` Pavel Machek
2007-04-25 20:44 ` Linus Torvalds
2007-04-25 21:07 ` Rafael J. Wysocki
2007-04-25 21:44 ` Pavel Machek
2007-04-25 22:18 ` Linus Torvalds
2007-04-25 22:27 ` Nigel Cunningham
2007-04-25 22:55 ` Linus Torvalds
2007-04-25 23:13 ` Pavel Machek
2007-04-25 23:29 ` Linus Torvalds
2007-04-25 23:45 ` Pavel Machek
2007-04-26 1:48 ` Nigel Cunningham
2007-04-26 1:40 ` Nigel Cunningham
2007-04-26 2:04 ` Linus Torvalds
2007-04-26 2:13 ` Nigel Cunningham
2007-04-26 3:03 ` Linus Torvalds
2007-04-26 3:34 ` Nigel Cunningham
2007-04-26 2:31 ` Nigel Cunningham
2007-04-26 10:39 ` Johannes Berg
2007-04-26 11:30 ` Pavel Machek
2007-04-26 11:41 ` Johannes Berg
2007-04-26 16:31 ` Johannes Berg
2007-04-26 18:40 ` Rafael J. Wysocki
2007-04-26 18:40 ` Johannes Berg
2007-04-26 19:02 ` Rafael J. Wysocki
2007-04-27 9:41 ` Johannes Berg
2007-04-27 10:18 ` Rafael J. Wysocki
2007-04-27 10:19 ` Johannes Berg
2007-04-27 12:09 ` Rafael J. Wysocki
2007-04-27 12:07 ` Johannes Berg
2007-04-25 22:42 ` Pavel Machek
2007-04-25 22:58 ` Linus Torvalds
2007-04-25 22:43 ` Chuck Ebbert
2007-04-25 23:00 ` Linus Torvalds
2007-04-25 22:49 ` Pavel Machek
2007-04-25 23:10 ` Linus Torvalds
2007-04-25 23:28 ` Pavel Machek
2007-04-25 23:57 ` Linus Torvalds
2007-04-25 22:57 ` Alan Cox
2007-04-25 23:20 ` Linus Torvalds
2007-04-25 23:52 ` Pavel Machek
2007-04-26 0:05 ` Linus Torvalds
2007-04-26 0:14 ` Pavel Machek
2007-04-25 23:51 ` David Lang
2007-04-26 0:38 ` Linus Torvalds
2007-04-26 2:04 ` H. Peter Anvin
2007-04-26 2:32 ` Linus Torvalds
2007-04-26 13:14 ` Alan Cox
2007-04-26 16:02 ` Linus Torvalds
2007-04-26 0:34 ` Linus Torvalds
2007-04-26 20:12 ` Rafael J. Wysocki
2007-04-26 0:24 ` Alan Cox
2007-04-26 1:10 ` Linus Torvalds
2007-04-26 14:04 ` Mark Lord
2007-04-26 16:10 ` Linus Torvalds
2007-04-26 21:00 ` Pavel Machek
2007-04-26 7:08 ` Andy Grover
2007-04-26 0:41 ` Thomas Orgis
2007-05-26 17:37 ` Martin Steigerwald
2007-05-26 20:35 ` Rafael J. Wysocki
2007-05-26 22:23 ` Martin Steigerwald
2007-04-26 10:17 ` Johannes Berg
2007-04-26 10:30 ` Pavel Machek
2007-04-26 10:40 ` Pavel Machek
2007-04-26 11:11 ` Johannes Berg
2007-04-26 11:16 ` Pavel Machek
2007-04-26 11:27 ` Johannes Berg
2007-04-26 11:26 ` Pavel Machek
2007-04-26 11:35 ` Johannes Berg
2007-04-26 11:33 ` Pavel Machek
2007-04-26 16:14 ` Chris Friesen
2007-04-26 16:27 ` Linus Torvalds
2007-04-26 17:11 ` Johannes Berg
2007-04-26 15:56 ` Linus Torvalds
2007-04-26 21:06 ` Theodore Tso
2007-04-26 21:12 ` Nigel Cunningham
2007-04-26 13:45 ` Johannes Berg
2007-04-26 11:04 ` Johannes Berg
2007-04-26 11:09 ` Pavel Machek
2007-04-26 15:53 ` Linus Torvalds
2007-04-26 18:21 ` Olivier Galibert
2007-04-26 21:30 ` Pavel Machek
2007-04-26 11:35 ` Christoph Hellwig
2007-04-26 12:15 ` Ingo Molnar
2007-04-26 12:41 ` Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4633F62A.2050801@kernel.org \
--to=josh@kernel.org \
--cc=david.lang@digitalinsight.com \
--cc=davidsen@tmr.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mjg59@srcf.ucam.org \
--cc=pavel@ucw.cz \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox