diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2012-02-11 00:00:34 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-02-13 16:26:05 +0100 |
commit | 6c83b4818dd65eb17e633b6b629a81da7bed90b3 (patch) | |
tree | 97eddcc6d07daf0ea1be84c57e7a687b3d406151 /kernel/power/power.h | |
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>
Diffstat (limited to 'kernel/power/power.h')
0 files changed, 0 insertions, 0 deletions