Re: [PATCH 1/3] reduce reparent_to_init()

2007-04-10 Thread Eric W. Biederman
Oleg Nesterov <[EMAIL PROTECTED]> writes: > Move some random stuff which doesn't need tasklist_lock from > reparent_to_init() > to its caller, daemonize(). Strictly speaking, rlim is protected by > task_lock() > but we don't need it to copy init_task->rlim. Acked-by: "Eric W. Biederman" <[EMAIL

[PATCH 1/3] reduce reparent_to_init()

2007-04-10 Thread Oleg Nesterov
Move some random stuff which doesn't need tasklist_lock from reparent_to_init() to its caller, daemonize(). Strictly speaking, rlim is protected by task_lock() but we don't need it to copy init_task->rlim. Signed-off-by: Oleg Nesterov <[EMAIL PROTECTED]> --- 2.6.21-rc5/kernel/exit.c~1_REDUCE 20