From: Mandeep Singh Baines Date: Sat, 17 Jan 2009 18:31:48 +0000 (-0800) Subject: softlockup: fix potential race in hung_task when resetting timeout X-Git-Tag: v2.6.30-rc1~1^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=603a148f434742fff08273207ffa44176cad13a1;p=pandora-kernel.git softlockup: fix potential race in hung_task when resetting timeout Impact: fix potential false panic A potential race exists if sysctl_hung_task_timeout_secs is reset to 0 while inside check_hung_uniterruptible_tasks(). If check_task() is entered, a comparison with 0 will result in a false hung_task being detected. If sysctl_hung_task_panic is set, the system will panic. Signed-off-by: Mandeep Singh Baines Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed