[CRIU] Re: [PATCH cr 4/8] ctrools: prepare to dump pid namespace

Pavel Emelyanov xemul at parallels.com
Wed May 16 07:41:18 EDT 2012


On 05/16/2012 12:32 PM, Andrey Vagin wrote:
> Add struct pid and use it everywhere.

Need a description of what this struct consists of. At least in the patch
comment. Not everybody understands that 2 pids is enough for us.

> @@ -206,17 +206,25 @@ struct rst_info {
>         struct list_head        eventpoll;
>  };
> 
> +struct pid
> +{
> +       union {

Why union?

> +       u32 real_pid;
> +       u32 pid;
> +       };
> +};


More information about the CRIU mailing list