mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
Right now the contents of the sysvipc shmem segment is stored as raw blob in the ipcns-shm image. This is bad for two reasons. First is that huge segments with holes are filled with real zeroes in image. Second is that we prefer not to mix images with pb object and raw data. To fix both let's re-use the shmem.c code that keeps anon shared memory contents in pagemap/pages images. https://github.com/xemul/criu/issues/287 Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
9 lines
171 B
Protocol Buffer
9 lines
171 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
import "ipc-desc.proto";
|
|
|
|
message ipc_shm_entry {
|
|
required ipc_desc_entry desc = 1;
|
|
required uint64 size = 2;
|
|
optional bool in_pagemaps = 3;
|
|
}
|