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?