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

Pavel Emelyanov xemul at parallels.com
Thu Mar 6 06:30:27 PST 2014


On 03/06/2014 06:02 PM, Cyrill Gorcunov wrote:
> 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?
> 


Exactly.

Does it pass all the zdtm-s?
Pavel, does it work for you?


More information about the CRIU mailing list