[CRIU] [PATCH] cr-service: add lazy-pages RPC feature check

Pavel Emelyanov xemul at virtuozzo.com
Mon Feb 20 01:50:48 PST 2017


On 02/17/2017 09:39 AM, Adrian Reber wrote:

> Pavel, do you know why we fork an additional CRIU process instead of
> just doing the feature check directly?

We did this because a) cr-service can be a long-running service if keep-open
option is set and b) checking features is implemented as sub-routines of
criu check command and none of them was verified to clean after itself. So
not to leak any resources on RPC check request the exact routines are called
in a subprocess.

-- Pavel



More information about the CRIU mailing list