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

Andrei Vagin avagin at virtuozzo.com
Mon Feb 20 11:08:47 PST 2017


On Mon, Feb 20, 2017 at 12:50:48PM +0300, Pavel Emelyanov wrote:
> 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.

Adrian, I think we can send a response from this process.

> 
> -- Pavel
> 


More information about the CRIU mailing list