[CRIU] [PATCH 0/5] Speed up kdat checks (v3)

Pavel Emelyanov xemul at virtuozzo.com
Thu May 4 06:31:11 PDT 2017


In the previous discussion it was suggested not to compile-in
the kdat bits, but rather cache them in some place, that gets
evicted on node reboot.

Here's how this can look like.

Briefly -- when kerndat.c has finished auto-detection is writes
the kdat variable into the /run/criu.kdat file. On the next
start the file in question is loaded into memory (if present)
as is.

As the next step we can move the cpu_init() stuff into kdat and
(as Dima suggested) vdso_init().

-- Pavel


More information about the CRIU mailing list