[lkml]   [2013]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 02/10] freezer: skip waking up tasks with PF_FREEZER_SKIP set
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 <>

Acked-by: Pavel Machek <>

(cesky, pictures)

 \ /
  Last update: 2013-05-03 12:01    [W:0.381 / U:4.996 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site