[Devel] Re: [PATCH] vt: Make vt_pid a struct pid (making it pid wrap around safe).

Dave Hansen haveblue at us.ibm.com
Mon Sep 11 10:24:50 PDT 2006


On Sun, 2006-09-10 at 06:41 -0600, Eric W. Biederman wrote:
> 
> -               vc->vt_pid = current->pid;
> +               put_pid(xchg(&vc->vt_pid, get_pid(task_pid(current)))); 

Would it make any sense to have a get_current_pid()?  It might reduce
the horribly confusing number of parenthesis there.

-- Dave

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




More information about the Devel mailing list