diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2007-05-09 02:34:33 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-09 12:30:53 -0700 |
commit | 49d769d52e16efabd3ad47b7995522fff771371d (patch) | |
tree | cf6ec2c39ae671c3f4cae34daf9d0558ca4fcf49 /kernel/kmod.c | |
parent | 73c279927f89561ecb45b2dfdf9314bafcfd9f67 (diff) |
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>
Diffstat (limited to 'kernel/kmod.c')
0 files changed, 0 insertions, 0 deletions