Re: Attempted summary of suspend-blockers LKML thread

From: david
Date: Thu Aug 05 2010 - 10:09:16 EST


On Thu, 5 Aug 2010, Matthew Garrett wrote:

On Wed, Aug 04, 2010 at 04:19:20PM -0700, david@xxxxxxx wrote:

only consider the activity of a subset of processes when deciding if we
should suspend or not. If the decision is to suspend, freeze everything.

you (and many other people) are confusing what I've proposed (use cgroups
to indicate what processes to care about and what ones to not care about
when deciding to suspend/go to idle) with the prior cgroup proposal (use
cgroups to freeze a subset of tasks while leaving others runnable)

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.

David Lang
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/