mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 22:35:33 +00:00
crtools: Don't hold pid on vma image
It's pointless. All vmas are stored in the per-pid image file. Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
committed by
Cyrill Gorcunov
parent
64f867f54e
commit
fb44c9d82b
@@ -57,7 +57,6 @@ struct vma_entry {
|
||||
u32 prot;
|
||||
u32 flags;
|
||||
u32 status;
|
||||
u32 pid;
|
||||
s64 fd;
|
||||
u64 ino;
|
||||
u32 dev_maj;
|
||||
|
4
util.c
4
util.c
@@ -176,14 +176,13 @@ void printk_vma(struct vma_area *vma_area)
|
||||
return;
|
||||
|
||||
printk("s: %16lx e: %16lx l: %4liK p: %8x f: %8x pg: %8lx "
|
||||
"fd: %4d pid: %4d dev:%02x:%02x:%08lx vf: %s st: %s spc: %s\n",
|
||||
"fd: %4d dev:%02x:%02x:%08lx vf: %s st: %s spc: %s\n",
|
||||
vma_area->vma.start, vma_area->vma.end,
|
||||
vma_area_len(vma_area) >> 10,
|
||||
vma_area->vma.prot,
|
||||
vma_area->vma.flags,
|
||||
vma_area->vma.pgoff,
|
||||
vma_area->vma.fd,
|
||||
vma_area->vma.pid,
|
||||
vma_area->vma.dev_maj,
|
||||
vma_area->vma.dev_min,
|
||||
vma_area->vma.ino,
|
||||
@@ -304,7 +303,6 @@ int parse_maps(pid_t pid, struct list_head *vma_area_list, bool use_map_files)
|
||||
}
|
||||
}
|
||||
|
||||
vma_area->vma.pid = pid;
|
||||
vma_area->vma.start = start;
|
||||
vma_area->vma.end = end;
|
||||
vma_area->vma.pgoff = pgoff;
|
||||
|
Reference in New Issue
Block a user