lkml.org 
[lkml]   [2010]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Attempted summary of suspend-blockers LKML thread
On Thu, Aug 05, 2010 at 07:07:06AM -0700, david@lang.hm wrote:
> On Thu, 5 Aug 2010, Matthew Garrett wrote:
>> The decision on whether or not to go to sleep isn't the difficult bit of
>> this problem space.
>
> but isn't that all that wakelocks do? affect the decision on whether or
> not to go to sleep.

You could think of them that way, but it's not the useful aspect of them
- that much could be implemented entirely in userspace. Wakelocks
provide a mechanism for userspace to ensure that it's handled all
received events before a system suspend takes place.

--
Matthew Garrett | mjg59@srcf.ucam.org


\
 
 \ /
  Last update: 2010-08-05 16:19    [W:0.193 / U:0.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site