Re: [PATCH? 3/3] move daemonized kernel threads into the swapper's session

From: Eric W. Biederman
Date: Mon Nov 26 2007 - 14:24:48 EST


ebiederm@xxxxxxxxxxxx (Eric W. Biederman) writes:


> 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.

Well we can't reallocate the struct pid, if anyone was using
it we would have problems, but we can certainly remove all
pid_t values except for those in the init_pid_ns.

We definitely have some serious issues with kernel_thread
and signal sending though.

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/