summaryrefslogtreecommitdiff
path: root/kernel/power/power.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2012-02-11 00:00:34 +0100
committerRafael J. Wysocki <rjw@sisk.pl>2012-02-13 16:26:05 +0100
commit6c83b4818dd65eb17e633b6b629a81da7bed90b3 (patch)
tree97eddcc6d07daf0ea1be84c57e7a687b3d406151 /kernel/power/power.h
parent7c95149b7f1f61201b12c73c4862a41bf2428961 (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