[CRIU] [PATCH 5/5] vdso: x86 -- Add handling of vvar zones
Andrew Vagin
avagin at parallels.com
Wed Jun 18 13:27:26 PDT 2014
On Tue, Jun 17, 2014 at 02:14:17AM +0400, Cyrill Gorcunov wrote:
> - pr_debug("vdso: Restore proxy status at %lx\n",
> + pr_debug("vdso: Restore proxy vDSO status at %lx\n",
> + (long)vma->e->start);
> + } else if (vma->e->start == proxy_vvar_addr) {
> + vma->e->status |= VMA_AREA_REGULAR | VMA_AREA_VVAR;
> + pr_debug("vdso: Restore proxy VVAR status at %lx\n",
> (long)vma->e->start);
> - break;
> }
> }
>
> pr_debug("vdso: Droppping marked vdso at %lx\n",
> - (long)vma->e->start);
> - list_del(&marked->list);
> - xfree(marked);
> + (long)proxy_vdso_marked->e->start);
> + list_del(&proxy_vdso_marked->list);
> + xfree(proxy_vdso_marked);
vma_area_list->nr--;
> +
> + if (proxy_vvar_marked) {
> + pr_debug("vdso: Droppping marked vvar at %lx\n",
> + (long)proxy_vvar_marked->e->start);
> + list_del(&proxy_vvar_marked->list);
> + xfree(proxy_vvar_marked);
vma_area_list->nr--;
> + }
> }
> ret = 0;
> err:
More information about the CRIU
mailing list