[CRIU] [PATCH] vdso: don't forget to adjust vma_area_list->nr
Pavel Emelyanov
xemul at parallels.com
Wed Jun 18 13:27:21 PDT 2014
On 06/19/2014 12:22 AM, Andrey Vagin wrote:
> A proxy vdso is removed from the vma_area_list list,
> so vma_area_list->nr must be decremented.
Is it for before or after Cyrill's vvar patches?
> Cc: Cyrill Gorcunov <gorcunov at openvz.org>
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
> ---
> arch/x86/vdso.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/x86/vdso.c b/arch/x86/vdso.c
> index 6e24d38..ed2b6cb 100644
> --- a/arch/x86/vdso.c
> +++ b/arch/x86/vdso.c
> @@ -145,6 +145,7 @@ int parasite_fixup_vdso(struct parasite_ctl *ctl, pid_t pid,
> (long)vma->e->start);
> list_del(&marked->list);
> xfree(marked);
> + vma_area_list->nr--;
> }
> ret = 0;
> err:
>
More information about the CRIU
mailing list