[lkml]   [2009]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFD] Automatic suspend
    On Tue, Feb 17, 2009 at 06:20:01AM -0800, Brian Swetland wrote:

    > Of course that still doesn't address userspace. Aggressively going to
    > suspend lets us compensate for userspace programs that do somewhat silly
    > things (I agree that it would be best if they didn't but they do and
    > getting *everyone* to write their userspace code to avoid spinning or
    > avoid waking up on short-duration timers to poll is a losing battle).

    Like Pavel pointed out, you could (in principle) handle this by sending
    a SIGSTOP to everything. The obvious problem with doing so is that this
    wouldn't result in the processes letting go of the devices, so you
    wouldn't neccessarily actually get to enter the runtime idle state as a
    result. Hmm. I'll think about this.

    Matthew Garrett |

     \ /
      Last update: 2009-02-18 12:23    [W:0.021 / U:6.840 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site