[CRIU] About ashmem and Deleted Pages

Pavel Emelyanov xemul at virtuozzo.com
Wed Mar 30 03:08:22 PDT 2016


On 03/30/2016 11:16 AM, Abdullah Yousafzai wrote:
> Sorry for a bit late reply, Please find the attachment

OK, so the "bogus" mapping is

12c00000-12e01000 r--p 00000000 00:05 5475                               /dev/ashmem/dalvik-main space (deleted)

It's been detected as such because

a) it's private (the 'p' letter in the 2nd column)
b) it's detected and MAP_SHARED | MAP_ANON (criu created the MAP_SHARED | MAP_ANON mapping
   and found 00:05 device in the 4th column)

So in order to fix this we need a way to distinguish the anonymouns shared
memory from dalvik ashmem. Can you help with it, because none of us has
kernel experience with android?

-- Pavel



More information about the CRIU mailing list