From: Rafael J. Wysocki Date: Fri, 10 Feb 2012 23:00:34 +0000 (+0100) Subject: PM / Sleep: Do not check wakeup too often in try_to_freeze_tasks() X-Git-Tag: v3.4-rc1~173^2~7^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c83b4818dd65eb17e633b6b629a81da7bed90b3;p=pandora-kernel.git PM / Sleep: Do not check wakeup too often in try_to_freeze_tasks() Use the observation that it is more efficient to check the wakeup variable once before the loop reporting tasks that were not frozen in try_to_freeze_tasks() than to do that in every step of that loop. Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed