summaryrefslogtreecommitdiffstats
path: root/kernel/kmod.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-10-08 22:47:30 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2009-10-28 22:53:09 +0100
commitbe404f0212ffa8f67361f8ee460a25d901d88991 (patch)
treef3f30529e574a935c121926267e38b05388e3095 /kernel/kmod.c
parent964fe080d94db82a3268443e9b9ece4c60246414 (diff)
downloadlinux-be404f0212ffa8f67361f8ee460a25d901d88991.tar.bz2
PM / freezer: Don't get over-anxious while waiting
Freezing isn't exactly the most latency sensitive operation and there's no reason to burn cpu cycles and power waiting for it to complete. msleep(10) instead of yield(). This should improve reliability of emergency hibernation. [rjw: Modified the comment next to the msleep(10).] Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel/kmod.c')
0 files changed, 0 insertions, 0 deletions