2
0
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:
Pavel Emelyanov
2012-04-05 12:57:29 +04:00
parent b4edfa7891
commit 2a33c4d5dc
8 changed files with 6 additions and 25 deletions

View File

@@ -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;