PM / freezer: Don't get over-anxious while waiting
authorTejun Heo <tj@kernel.org>
Thu, 8 Oct 2009 20:47:30 +0000 (22:47 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Wed, 28 Oct 2009 21:53:09 +0000 (22:53 +0100)
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>

No differences found