Re: [linux-pm] [PATCH 0/8] Suspend block api (version 8)

Peter Zijlstra
2010-05-28T12:30:43Z

On Fri, 2010-05-28 at 13:21 +0100, Alan Cox wrote:
> [Total kernel changes
>
> Ability to mark/unmark a scheduler control group as outside of
> some parts of idle consideration. Generically useful and
> localised. Group latency will do most jobs fine (Zygo is correct
> it can't solve his backup case elegantly I think)
>
> Test in the idling logic to distinguish the case and only needed
> for a single Android specific power module. Generically useful
> and localised]

I really don't like this..

Why can't we go with the previously suggested: make bad apps block on
QoS resources or send SIGXCPU, SIGSTOP, SIGTERM and eventually SIGKILL?