diff options
author | Bui Quang Minh <minhquangbui99@gmail.com> | 2021-12-15 18:53:09 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2022-04-29 03:53:52 +0300 |
commit | 4d77b19eb3f8f9ace4a1d67eb28d2986a36a7732 (patch) | |
tree | 2806dd2f6a8cc58f81fb3fa4b719d7af541d1aac /images | |
parent | f69c36591679bb5dbfd3dbf28057446fc61ad9c5 (diff) |
ipc: Add support for checkpoint/restore hugetlb System V shared memory
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>
Diffstat (limited to 'images')
-rw-r--r-- | images/ipc-shm.proto | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/images/ipc-shm.proto b/images/ipc-shm.proto index 7865dad8d..c5feebac0 100644 --- a/images/ipc-shm.proto +++ b/images/ipc-shm.proto @@ -8,4 +8,5 @@ message ipc_shm_entry { required ipc_desc_entry desc = 1; required uint64 size = 2; optional bool in_pagemaps = 3; + optional uint32 hugetlb_flag = 4; } |