Messages in this thread | | | From | (Eric W. Biederman) | Subject | Re: [PATCH? 3/3] move daemonized kernel threads into the swapper's session | Date | Mon, 26 Nov 2007 11:57:36 -0700 |
| |
Oleg Nesterov <oleg@tv-sign.ru> writes:
> Any reason why daemonized kthread still uses 1,1 special pids? This patch > sets 0,0 pids, this matches kthread_create'ed threads.
You got it in your reply...
> Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Hmm. I wonder if we could ensure kernel_thread always returns a global pid_t, and then reallocate the struct pid for the task we have just daemonized so that it only has a single pid in the init_pid_ns.
That would remove our capturing of child pid namespaces.
Eric - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |