summaryrefslogtreecommitdiff
path: root/fs/coda
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2012-04-29 20:52:34 (GMT)
committerRafael J. Wysocki <rjw@sisk.pl>2012-05-01 19:24:59 (GMT)
commit60af1066913162c5dd13fad3b872a67b1eb7da0f (patch)
treebd2c66ce4c9f78625c018674feedd482a4da97f4 /fs/coda
parent52d136cc2cf6659ee247dbcc88c9e7bd7428ad06 (diff)
downloadlinux-fsl-qoriq-60af1066913162c5dd13fad3b872a67b1eb7da0f.tar.xz
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 'fs/coda')
0 files changed, 0 insertions, 0 deletions