Commit eb9b1ab2 authored by Huang Qiang's avatar Huang Qiang Committed by Pavel Emelyanov

cr-restore: remove the duplicate round_up for restore_thread_vma_len

With some historical changes, the second page-aligned for
restore_thread_vma_len is reduplicate. So remove it.
Signed-off-by: 's avatarHuang Qiang <h.huangqiang@huawei.com>
Acked-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent e8d51194
......@@ -1361,8 +1361,6 @@ static int sigreturn_restore(pid_t pid, CoreEntry *core, struct list_head *tgt_v
current->nr_threads,
KBYTES(restore_thread_vma_len));
restore_thread_vma_len = round_up(restore_thread_vma_len, PAGE_SIZE);
exec_mem_hint = restorer_get_vma_hint(pid, tgt_vmas, &self_vma_list,
restorer_len +
restore_task_vma_len +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment