commit | 6c83b4818dd65eb17e633b6b629a81da7bed90b3 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rjw@sisk.pl> | Sat Feb 11 00:00:34 2012 +0100 |
committer | Rafael J. Wysocki <rjw@sisk.pl> | Mon Feb 13 16:26:05 2012 +0100 |
tree | 97eddcc6d07daf0ea1be84c57e7a687b3d406151 | |
parent | 7c95149b7f1f61201b12c73c4862a41bf2428961 [diff] |
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 <rjw@sisk.pl>