[CRIU] size restrictions on restorer blob

Pavel Emelyanov xemul at parallels.com
Mon Jul 13 05:13:19 PDT 2015


On 06/30/2015 10:04 PM, CRIU criu wrote:
> Hi,
> 
> Are there any size restrictions on restorer binary blob? For restoring per-thread device state, I've added code to
> pie/restorer.c. My code is called only for main thread from __export_restore_task(). Does the code layout of restorer
> blob make any difference? The reason I ask is because sometimes (at random), I see "Thread pid mismatch" error. Thanks!

Pid mismatch has nothing to do with restorer blob size.
And no, we have no limitations on it :)

> Without my code in restorer:
> 
> # ls -l pie/restorer,built-in.bin.o
> 
> 96,392 bytes
> 
> With my code:
> 
> # ls -l pie/restorer,built-in.bin.o
> 
> 101,148 bytes
> 
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
> 



More information about the CRIU mailing list