From: Tejun Heo Date: Wed, 16 Feb 2011 17:10:19 +0000 (+0100) Subject: workqueue: make sure MAYDAY_INITIAL_TIMEOUT is at least 2 jiffies long X-Git-Tag: v2.6.38-rc6~22^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3233cdbd9fa347a6d6897a94cc6ed0302ae83c4f;p=pandora-kernel.git 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 Reported-by: Ray Jui Cc: stable@kernel.org --- Reading git-diff-tree failed