Re: [PATCH 1/8] PM: Opportunistic suspend support.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Wednesday, May 26, 2010 - 5:57 am

On Wed, 2010-05-26 at 13:49 +0100, Matthew Garrett wrote:

Lack of quoting makes it hard to see what your 'this' refers to. I'll
assume its the userspace suspend manager.


I fail to see why. In both cases the woken userspace will contact a
central governing task, either the kernel or the userspace suspend
manager, and inform it there is work to be done, and please don't
suspend now.

Also, since we did get woken, there clearly is work to do and we should
only try suspending again once someone did inform us of completing it.

In both cases, once the event is fully handled, will there be
communication of this fact and suspend can be attempted.

I don't see a reason to 'wait' for anything -- except maybe speculate on
the avgerage wakeup rate and decide not to suspend quite yet.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/8] PM: Opportunistic suspend support., Alan Stern, (Tue May 25, 2:00 pm)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Rafael J. Wysocki, (Tue May 25, 2:44 pm)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Arve Hjønnevåg, (Tue May 25, 3:33 pm)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Peter Zijlstra, (Wed May 26, 1:42 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Peter Zijlstra, (Wed May 26, 1:42 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Peter Zijlstra, (Wed May 26, 1:53 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Florian Mickler, (Wed May 26, 2:23 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Peter Zijlstra, (Wed May 26, 2:33 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Arve Hjønnevåg, (Wed May 26, 2:54 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Peter Zijlstra, (Wed May 26, 3:06 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Arve Hjønnevåg, (Wed May 26, 3:17 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Peter Zijlstra, (Wed May 26, 3:21 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Pekka Enberg, (Wed May 26, 3:29 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Arve Hjønnevåg, (Wed May 26, 3:30 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Pekka Enberg, (Wed May 26, 3:35 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Matthew Garrett, (Wed May 26, 5:49 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Peter Zijlstra, (Wed May 26, 5:57 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Matthew Garrett, (Wed May 26, 6:20 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., James Bottomley, (Wed May 26, 9:18 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Peter Zijlstra, (Wed May 26, 9:28 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Kevin Hilman, (Wed May 26, 9:38 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., James Bottomley, (Wed May 26, 9:54 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Pavel Machek, (Wed May 26, 9:59 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Peter Zijlstra, (Wed May 26, 10:00 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Peter Zijlstra, (Wed May 26, 10:01 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., James Bottomley, (Wed May 26, 10:14 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Peter Zijlstra, (Wed May 26, 10:23 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., James Bottomley, (Wed May 26, 10:24 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Pekka Enberg, (Wed May 26, 10:25 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Pavel Machek, (Wed May 26, 10:28 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., James Bottomley, (Wed May 26, 10:33 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., James Bottomley, (Wed May 26, 10:40 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Pavel Machek, (Wed May 26, 10:42 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Thomas Gleixner, (Wed May 26, 10:51 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Pekka Enberg, (Wed May 26, 11:07 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., James Bottomley, (Wed May 26, 11:09 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., James Bottomley, (Wed May 26, 11:23 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Valdis.Kletnieks, (Wed May 26, 11:50 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Florian Mickler, (Wed May 26, 12:15 pm)
Re: [PATCH 1/8] PM: Opportunistic suspend support., James Bottomley, (Wed May 26, 1:06 pm)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Linus Walleij, (Wed May 26, 1:51 pm)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Rafael J. Wysocki, (Wed May 26, 3:03 pm)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Rafael J. Wysocki, (Wed May 26, 3:10 pm)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Rafael J. Wysocki, (Wed May 26, 3:13 pm)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Rafael J. Wysocki, (Wed May 26, 3:25 pm)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Neil Brown, (Thu May 27, 12:23 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Neil Brown, (Thu May 27, 12:34 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Bernd Petrovitsch, (Thu May 27, 1:13 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Bernd Petrovitsch, (Thu May 27, 1:17 am)
Re: [PATCH 1/8] PM: Opportunistic suspend support., Arve Hjønnevåg, (Thu May 27, 2:07 am)
Re: [linux-pm] [PATCH 1/8] PM: Opportunistic suspend support., Arve Hjønnevåg, (Fri May 28, 9:04 pm)
Re: [linux-pm] [PATCH 1/8] PM: Opportunistic suspend support., Rafael J. Wysocki, (Sun May 30, 12:52 pm)
Re: [linux-pm] [PATCH 1/8] PM: Opportunistic suspend support., Arve Hjønnevåg, (Mon May 31, 3:03 am)