Sorry for delay! On 04/09, Roland McGrath wrote:Agreed. I never understood why we need __WNOTHREAD. The same for ->pdeath_signal in its current "per-thread" form. I think it would be very nice to kill them both (or send the ->pdeath_signal when the whole process exits). Then we can place all childrens on one signal->children list. But this is a bit off-topic for now. I think the 4th patch has a small problem, reparent_zombie: if (p->exit_signal == -1 || (thread_group_empty(p) && ignoring_children(p->real_parent))) list_add(&p->ptrace_list, dead); The 2nd case, "thread_group_empty(p) && ignoring_children", looks racy. We didn't set ->exit_signal == -1, the new parent can call do_wait() and release "p" as soon as we drop tasklist_lock, before ptrace_exit_finish(). Yes! I thought about this too. Actually, I was very sure that this is your plan from the the very beginning ;) Oleg. --
| Roland Dreier | Re: Integration of SCST in the mainstream Linux kernel |
| Jan Engelhardt | intel iommu (Re: -mm merge plans for 2.6.23) |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| Linus Torvalds | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| Linus Torvalds | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Frans Pop | svc: failed to register lockdv1 RPC service (errno 97). |
