[CRIU]
Re: [PATCH cr 02/10] pstree: simplify access to pid, real_pid,
born_sid
Cyrill Gorcunov
gorcunov at openvz.org
Tue Jun 19 15:03:28 EDT 2012
On Tue, Jun 19, 2012 at 10:26:50PM +0400, Pavel Emelyanov wrote:
> On 06/19/2012 04:46 PM, Andrey Vagin wrote:
> > I'm bored to write pi->pid.pid or pi->pid.read_pid.
>
> Shit :( How about
>
> struct pid {
> u32 r; /* real */
> u32 v; /* virtual */
> };
>
> s/->pid.pid/->pid.r/
> s/->pid.real_pid/->pid.v/
>
> ?
Guys, can it be real/virt then? r|v is a way
too short I think.
Cyrill
More information about the CRIU
mailing list