diff options
author | Tejun Heo <tj@kernel.org> | 2011-02-16 18:10:19 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-24 14:54:32 -0800 |
commit | 142d511242fd3dbb10afe036baf2c810b021a2ac (patch) | |
tree | 527cc230a90a980e5141aa84f1fd17897f48a0c7 /CREDITS | |
parent | 1257389b28b59639173c961b49fefe06820f6fb6 (diff) |
workqueue: make sure MAYDAY_INITIAL_TIMEOUT is at least 2 jiffies long
commit 3233cdbd9fa347a6d6897a94cc6ed0302ae83c4f upstream.
MAYDAY_INITIAL_TIMEOUT is defined as HZ / 100 and depending on
configuration may end up 0 or 1. Even when it's 1, depending on when
the mayday timer is added in the current jiffy interval, it may expire
way before a jiffy has passed.
Make sure MAYDAY_INITIAL_TIMEOUT is at least two to guarantee that at
least a full jiffy has passed before calling rescuers.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Ray Jui <rjui@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions