[CRIU] Re: [PATCH cr 4/6] restore: wait while restroring pgid
Andrew Vagin
avagin at parallels.com
Mon Jul 2 07:38:13 EDT 2012
On Mon, Jul 02, 2012 at 02:55:29PM +0400, Pavel Emelyanov wrote:
> On 07/02/2012 11:42 AM, Andrey Vagin wrote:
> >
> > pgid can be restored, when a process group leader exists,
> > so we need a phase of restore here.
>
> Why do we need a global lock for that? Why not wait for every pgid
> to get restored?
In this case the code is very simple and here are not bloking operations.
>
> > Signed-off-by: Andrey Vagin <avagin at openvz.org>
> > ---
> > cr-restore.c | 15 +++++++++++++++
> > include/restorer.h | 1 +
> > 2 files changed, 16 insertions(+), 0 deletions(-)
> >
>
More information about the CRIU
mailing list