diff options
author | Colin Cross <ccross@android.com> | 2013-05-06 23:50:10 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-05-12 14:16:22 +0200 |
commit | 18ad0c6297df1d671ecea83b608cd9e432642a05 (patch) | |
tree | 58970dae7d585d0a6ba9d0a596fa757affea0567 /kernel/freezer.c | |
parent | 0f9548ca10916dec166eaf74c816bded7d8e611d (diff) |
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>
Diffstat (limited to 'kernel/freezer.c')
0 files changed, 0 insertions, 0 deletions