From: Oleg Nesterov Date: Sat, 30 Aug 2008 17:08:40 +0000 (+0400) Subject: softlockup: minor cleanup, don't check task->state twice X-Git-Tag: v2.6.27-rc6~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbaed698f37494b30b2449b51c728ae48630cb2b;p=pandora-kernel.git softlockup: minor cleanup, don't check task->state twice The recent commit 16d9679f33caf7e683471647d1472bfe133d858 changed check_hung_task() to filter out the TASK_KILLABLE tasks. We can move this check to the caller which has to test t->state anyway. Signed-off-by: Oleg Nesterov Acked-by: Andi Kleen Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed