freezer: shorten freezer sleep time using exponential backoff
authorColin Cross <ccross@android.com>
Mon, 6 May 2013 23:50:10 +0000 (23:50 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 12 May 2013 12:16:22 +0000 (14:16 +0200)
commit18ad0c6297df1d671ecea83b608cd9e432642a05
tree58970dae7d585d0a6ba9d0a596fa757affea0567
parent0f9548ca10916dec166eaf74c816bded7d8e611d
freezer: shorten freezer sleep time using exponential backoff

All tasks can easily be frozen in under 10 ms, switch to using
an initial 1 ms sleep followed by exponential backoff until
8 ms.  Also convert the printed time to ms instead of centiseconds.

Acked-by: Pavel Machek <pavel@ucw.cz>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/process.c