summaryrefslogtreecommitdiffstats
path: root/kernel/rtmutex.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-02-16 18:10:19 +0100
committerTejun Heo <tj@kernel.org>2011-02-16 18:10:19 +0100
commit3233cdbd9fa347a6d6897a94cc6ed0302ae83c4f (patch)
tree053948a81cb40a37d3afbd0f6ca8f3a106523c73 /kernel/rtmutex.h
parent58a69cb47ec6991bf006a3e5d202e8571b0327a4 (diff)
downloadlinux-3233cdbd9fa347a6d6897a94cc6ed0302ae83c4f.tar.gz
linux-3233cdbd9fa347a6d6897a94cc6ed0302ae83c4f.tar.bz2
linux-3233cdbd9fa347a6d6897a94cc6ed0302ae83c4f.zip
workqueue: make sure MAYDAY_INITIAL_TIMEOUT is at least 2 jiffies long
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> Cc: stable@kernel.org
Diffstat (limited to 'kernel/rtmutex.h')
0 files changed, 0 insertions, 0 deletions