summaryrefslogtreecommitdiff
path: root/iosched.c
diff options
context:
space:
mode:
Diffstat (limited to 'iosched.c')
0 files changed, 0 insertions, 0 deletions
ue='reload'/>
authorRafael J. Wysocki <rjw@sisk.pl>2012-04-29 22:52:34 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2012-05-01 21:24:59 +0200
commit60af1066913162c5dd13fad3b872a67b1eb7da0f (patch)
treebd2c66ce4c9f78625c018674feedd482a4da97f4 /Documentation/ABI/testing/sysfs-devices-power
parent52d136cc2cf6659ee247dbcc88c9e7bd7428ad06 (diff)
PM / Sleep: Use wait queue to signal "no wakeup events in progress"
The current wakeup source deactivation code doesn't do anything when the counter of wakeup events in progress goes down to zero, which requires pm_get_wakeup_count() to poll that counter periodically. Although this reduces the average time it takes to deactivate a wakeup source, it also may lead to a substantial amount of unnecessary polling if there are extended periods of wakeup activity. Thus it seems reasonable to use a wait queue for signaling the "no wakeup events in progress" condition and remove the polling. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: mark gross <markgross@thegnar.org> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-devices-power')