mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
mem: Remove zero page from the end of mem image files
This was required when pages were stored in elf files for exec. Now we can stop reading it on eof. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -195,9 +195,6 @@ struct page_entry {
|
||||
u8 data[PAGE_IMAGE_SIZE];
|
||||
} __packed;
|
||||
|
||||
#define final_page_va(va) ((va) == ~0LL)
|
||||
#define final_page_entry(page_entry) (final_page_va((page_entry)->va))
|
||||
|
||||
struct sa_entry {
|
||||
u64 sigaction;
|
||||
u64 flags;
|
||||
|
Reference in New Issue
Block a user