[CRIU] [PATCH] proc_parse: Borrow vmi iif there is file referenced

Cyrill Gorcunov gorcunov at gmail.com
Thu Mar 6 06:02:13 PST 2014


On Thu, Mar 06, 2014 at 04:51:38PM +0400, Pavel Emelyanov wrote:
> 
> Hm... Can we do it like this
> 
> if (prev->vm_file_fd < 0)
> 	return 0;
> 
> Since for anonymous mappings dev:ino would be 0:0 (matching) and we don't
> even need to try messing the map_files -- it will be absent for sure.

Like this?


More information about the CRIU mailing list