]> git.baikalelectronics.ru Git - kernel.git/commit
update the comment in kthread_stop()
authorOleg Nesterov <oleg@redhat.com>
Fri, 19 Jun 2009 00:51:13 +0000 (02:51 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 27 Jul 2009 19:15:46 +0000 (12:15 -0700)
commitf631a3d332154bccf308ff0959ac09ab1085ed0b
treed69e5b2e0863a34fe9ba0a7a10c24c3d42276d51
parentb714a85f96e4259f7175003ef40b2f35e43acbdf
update the comment in kthread_stop()

Commit a1a21fe3f06c5f375e47486800dd73bd39ab77b1 ("kthreads: rework
kthread_stop()") removed the limitation that the thread function mysr
not call do_exit() itself, but forgot to update the comment.

Since that commit it is OK to use kthread_stop() even if kthread can
exit itself.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/kthread.c