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

From: Eric W. Biederman
Date: Tue Apr 10 2007 - 18:28:37 EST


Oleg Nesterov <oleg@xxxxxxxxxx> 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" <ebiederm@xxxxxxxxxxxx>

Regardless of whatever else we are doing getting junk out of a function
whose goal is to reparent a kernel thread makes sense.

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/