[CRIU] [PATCH 3/3] restore: Add comment about vma_priv

Cyrill Gorcunov gorcunov at gmail.com
Wed Feb 25 06:56:03 PST 2015


On Wed, Feb 25, 2015 at 05:52:08PM +0300, Cyrill Gorcunov wrote:
> On Wed, Feb 25, 2015 at 05:43:21PM +0300, Pavel Emelyanov wrote:
> > On 02/25/2015 05:31 PM, Cyrill Gorcunov wrote:
> > > 
> > > Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> > > ---
> > >  include/restorer.h | 1 +
> > >  1 file changed, 1 insertion(+)
> > > 
> > 
> > So, privately_dump_vma() is the one which contents should be dumped
> > and vma_priv() is the one for which the contents should be restored.
> > 
> > Aren't these the same?
> 
> They are.

Except they took different type of arguments. privately_dump_vma
works with struct vma_area, while vma_priv works with VmaEntry.
I think this has been done for convenience.

	Cyrill


More information about the CRIU mailing list