[Devel] Re: [PATCH] ia64 sn xpc: Convert to use kthread API.
Eric W. Biederman
ebiederm at xmission.com
Sat Apr 21 12:53:20 PDT 2007
Robin Holt <holt at sgi.com> writes:
> I think this was originally coded with daemonize to avoid issues with
> reaping children. Dean Nelson can correct me if I am wrong. I assume
> this patch is going in as part of the set which will make these threads
> clear themselves from the children list and if that is the case, I can
> see no issues.
One of my earlier patches guarantees that kthreadd will have pid == 2.
daemonize actually explicitly reparents to init so using daemonize and
kernel_thread provides no help at all with respect to scaling. It in
fact guarantees you will be on init's list of child processes.
The work to enhance wait is a little tricky and it conflicts with the
utrace patches, which makes it hard to pursue at the moment.
I'm actually sorting out kthread stop so I can complete the pid namespace.
But since all kthreads are children of kthreadd this helps in a small
way with the scaling issue.
Eric
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list