Messages in this thread | | | Subject | Re: [PATCH 0/6] [RFC] Proposal for optimistic suspend idea. | From | Peter Zijlstra <> | Date | Wed, 28 Sep 2011 10:19:34 +0200 |
| |
On Tue, 2011-09-27 at 15:56 -0700, John Stultz wrote: > > That's just insane.. why bother running anything but the 'important' > > tasks. Idle is more power aware than running random crap tasks that have > > no business running in the first place. > > Its really not that different conceptually from aligning timers. Making > sure that when we fire, we expire as many timers as we can in one go, > and run all the tasks that need to run, so we can go back to idle for as > long as possible. > > But instead of idling "until the next timer group", we split stuff we > don't care that much about (but needs to be there), and stuff we do care > about, and only schedule the hardware to fire for the events we do care > about.
But but but, my badly coded bouncing cows thing simply doesn't need to run when we wake up to refill the sound buffers for the mp3 player while the screen is still off!
Yet the wakelock thing will wake the system and lets us schedule bouncing cows just fine..
I really don't get your argument. It just doesn't make any sense. What I'm saying is, what about those apps we really don't care about, and really don't need to be there.
| |