[Devel] [RFC][PATCH] Add child reaper to struct pspace

Cedric Le Goater clg at fr.ibm.com
Thu Sep 7 02:41:17 PDT 2006


Sukadev Bhattiprolu wrote:

<snip>

> @@ -620,8 +620,8 @@ static int de_thread(struct task_struct 
>  	 * Reparenting needs write_lock on tasklist_lock,
>  	 * so it is safe to do it under read_lock.
>  	 */
> -	if (unlikely(current->group_leader == child_reaper))
> -		child_reaper = current;
> +	if (unlikely(current->group->leader == current->pspace->child_reaper)
> +		current->pspace->child_reaper = current;
>  
>  	zap_other_threads(current);
>  	read_unlock(&tasklist_lock);

I'm unsure about this one ?

C.
_______________________________________________
Containers mailing list
Containers at lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers




More information about the Devel mailing list