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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Matthew Garrett
Date: Wednesday, May 26, 2010 - 5:49 am

While this approach could be made to work, it's ugly in other ways. 
After wakeup, userspace has to pause for a while before it can trigger 
another sleep in order to give all the apps an opportunity to check for 
wakeup events and block suspend if they wish to. That's additional 
runtime that doesn't exist in the kernel-mediated case.

-- 
Matthew Garrett | mjg59@srcf.ucam.org
--
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)