diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2008-10-19 07:28:24 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-20 19:52:39 +0400 |
commit | 293adee601bcd4cdb5076a9bda187137de17e96e (patch) | |
tree | d7a67f8064f4db0f3b86855f3356c4037eff5e67 /fs/proc/vmcore.c | |
parent | 656eb2cd5da153762f2e8419ca117ce12ef522c3 (diff) | |
download | linux-293adee601bcd4cdb5076a9bda187137de17e96e.tar.xz |
kthread_bind: use wait_task_inactive(TASK_UNINTERRUPTIBLE)
Now that wait_task_inactive(task, state) checks task->state == state,
we can simplify the code and make this debugging check more robust.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Roland McGrath <roland@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/vmcore.c')
0 files changed, 0 insertions, 0 deletions