2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

crtools: change the minimal address for the restorer blob

It should be bigger than CONFIG_LSM_MMAP_MIN_ADDR.

v2: set a correct value

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrey Vagin
2012-12-21 18:58:14 +04:00
committed by Pavel Emelyanov
parent 6089f8c5a5
commit 48d0e78e36

View File

@@ -1262,7 +1262,7 @@ static long restorer_get_vma_hint(pid_t pid, struct list_head *tgt_vma_list,
struct vma_area end_vma;
end_vma.vma.start = end_vma.vma.end = TASK_SIZE_MAX;
prev_vma_end = PAGE_SIZE;
prev_vma_end = PAGE_SIZE * 0x10; /* CONFIG_LSM_MMAP_MIN_ADDR=65536 */
s_vma = list_first_entry(self_vma_list, struct vma_area, list);
t_vma = list_first_entry(tgt_vma_list, struct vma_area, list);