lkml.org 
[lkml]   [2010]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [linux-pm] [PATCH 1/8] PM: Add suspend block api.
    On Fri, May 07, 2010 at 10:40:43AM -0700, Daniel Walker wrote:
    > On Fri, 2010-05-07 at 18:36 +0100, Matthew Garrett wrote:
    > > If your wakeup latencies are sufficiently low and you have fine-grained
    > > enough control over your hardware then suspend in idle is a reasonable
    > > thing to do - but if you have a userspace app that's spinning then
    > > that doesn't solve the issue.
    >
    > If there's a userspace app spinning then you don't go idle (or that's my
    > assumption anyway). You mean like repeatedly blocking and unblocking
    > right?

    Right, that's the problem. idle-based suspend works fine if your
    applications let the system go idle, but if your applications are
    anything other than absolutely perfect in this respect then you consume
    significant power even if the device is sitting unused in someone's
    pocket.

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


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