commit | cbaed698f37494b30b2449b51c728ae48630cb2b | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@tv-sign.ru> | Sat Aug 30 21:08:40 2008 +0400 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Sep 02 10:49:51 2008 -0700 |
tree | 470908bdfe0a5f6e5321c0e1010e80ebced701a4 | |
parent | 6781f4ae30bbb8ebf31187b3c9304be16966f5a0 [diff] |
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 <oleg@tv-sign.ru> Acked-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>