[Devel] Re: [RFC v14-rc2][PATCH 19/29] Record 'struct file' object instead of the file name for VMAs

Serge E. Hallyn serue at us.ibm.com
Wed Apr 1 14:45:09 PDT 2009


Quoting Oren Laadan (orenl at cs.columbia.edu):
> The vma->vm_file can be an arbitrary file pointer, including one that
> is in use by a process as well and provided originally via the mmap()
> syscall.
> 
> Thus, when dumping the state of a VMA, save a file object instead
> of only the file name. As with other file objects, if it's seen for
> the first time it is dumped entirely, otherwise only the 'objref' is
> saved. The restart logic updated accordingly.
> 
> Changelog[v14]:
>   - Introduce patch
> 
> Signed-off-by: Oren Laadan <orenl at cs.columbia.edu>

Acked-by: Serge Hallyn <serue at us.ibm.com>

(I assume this was on your todo list before Alexey pointed it
out?  If not, it might be gracious to mention him)

-serge
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list