[CRIU] [PATCH 5/5] vdso: x86 -- Add handling of vvar zones
Cyrill Gorcunov
gorcunov at gmail.com
Wed Jun 11 04:36:38 PDT 2014
On Wed, Jun 11, 2014 at 03:28:57PM +0400, Pavel Emelyanov wrote:
...
> > #ifdef CONFIG_VDSO
> > if (vma_entry_is(vma_entry, VMA_AREA_VDSO)) {
> > + VmaEntry *vma_vvar;
> > +
> > + if (i + 1 < args->nr_vmas) {
> > + vma_vvar = args->tgt_vmas + i + 1;
> > + if (!vma_entry_is(vma_entry, VMA_AREA_VVAR))
> > + vma_vvar = NULL;
> > + } else
> > + vma_vvar = NULL;
>
> So why do you consider vvar vma _in_ _images_ to strictly follow the vdso one?
It is that for x86-64 which the only arch we support vvars for. Look, this is
simplier solution for now, if we meet other layout the code need to be updated
accordingly, but until then I don't wanna make it more complex as it is now.
More information about the CRIU
mailing list