mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 01:51:51 +00:00
Attach the System V shared memory segments to the address space via shmat() to determine if they are backed by hugetlb and their page size. Use these information for setting the correct flags on restore. Signed-off-by: Bui Quang Minh <minhquangbui99@gmail.com>
13 lines
241 B
Protocol Buffer
13 lines
241 B
Protocol Buffer
// SPDX-License-Identifier: MIT
|
|
|
|
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;
|
|
optional uint32 hugetlb_flag = 4;
|
|
}
|