]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit49d769d52e16efabd3ad47b7995522fff771371d
treecf6ec2c39ae671c3f4cae34daf9d0558ca4fcf49
parent73c279927f89561ecb45b2dfdf9314bafcfd9f67
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