Re: [PATCH v2 02/10] freezer: skip waking up tasks withPF_FREEZER_SKIP set
From: Pavel Machek
Date: Fri May 03 2013 - 05:24:19 EST
On Wed 2013-05-01 18:35:00, Colin Cross wrote:
> Android goes through suspend/resume very often (every few seconds when
> on a busy wifi network with the screen off), and a significant portion
> of the energy used to go in and out of suspend is spent in the
> freezer. If a task has called freezer_do_not_count(), don't bother
> waking it up. If it happens to wake up later it will call
> freezer_count() and immediately enter the refrigerator.
>
> Combined with patches to convert freezable helpers to use
> freezer_do_not_count() and convert common sites where idle userspace
> tasks are blocked to use the freezable helpers, this reduces the
> time and energy required to suspend and resume.
>
> Signed-off-by: Colin Cross <ccross@xxxxxxxxxxx>
Acked-by: Pavel Machek <pavel@xxxxxx>
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/