[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m14pf8omvz.fsf@ebiederm.dsl.xmission.com>
Date: Mon, 26 Nov 2007 11:57:36 -0700
From: ebiederm@...ssion.com (Eric W. Biederman)
To: Oleg Nesterov <oleg@...sign.ru>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Pavel Emelyanov <xemul@...nvz.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH? 3/3] move daemonized kernel threads into the swapper's session
Oleg Nesterov <oleg@...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@...sign.ru>
Acked-by: "Eric W. Biederman" <ebiederm@...ssion.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists