]> git.baikalelectronics.ru Git - kernel.git/commit
Change reparent_to_init to reparent_to_kthreadd
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 9 May 2007 09:34:33 +0000 (02:34 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:53 +0000 (12:30 -0700)
commit2792fbc3e9e27dd22a67c0e608a40d1aedf5580b
treecf6ec2c39ae671c3f4cae34daf9d0558ca4fcf49
parentb3f6b3157581fb2c582e8301abc840b6e1f68fc1
Change reparent_to_init to reparent_to_kthreadd

When a kernel thread calls daemonize, instead of reparenting the thread to
init reparent the thread to kthreadd next to the threads created by
kthread_create.

This is really just a stop gap until daemonize goes away, but it does
ensure no kernel threads are under init and they are all in one place that
is easy to find.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/exit.c