]> git.baikalelectronics.ru Git - kernel.git/commit
softlockup: fix task state setting
authorDmitry Adamushko <dmitry.adamushko@gmail.com>
Fri, 8 Feb 2008 14:41:13 +0000 (15:41 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 29 Feb 2008 17:46:53 +0000 (18:46 +0100)
commit9dbeca624f63629e6f4d7ab32d34a5802a6e1cae
treefcc341251c8fcab1b950d7bda25de9ca09fc5363
parentfa7287240e09bbe1b0aea231c41797130668d5ed
softlockup: fix task state setting

kthread_stop() can be called when a 'watchdog' thread is executing after
kthread_should_stop() but before set_task_state(TASK_INTERRUPTIBLE).

Signed-off-by: Dmitry Adamushko <dmitry.adamushko@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/softlockup.c