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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Oren Laadan (orenl@xxxxxxxxxxxxxxx):
> 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@xxxxxxxxxxxxxxx>

Acked-by: Serge Hallyn <serue@xxxxxxxxxx>

(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@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux