You know what sucks? Determining the owner of anonymous private or shared mappings? I feel like CONFIG_ANON_VMA_NAME could be really useful, but it's behind both a kernel config and a glibc tunable GLIBC_TUNABLES=glibc.mem.decorate_maps=1 ... we could make this better?
@codonell I'm confused as to why the anon vma name would be useful for determining the VMA's owner? And under what circumstances are you unaware of the mm that owns it (i.e. vma->vm_mm)?
Even from proc's perspective you're pulling it from /proc/$pid/maps at which point you're aware of who it belongs to?
I may be missing something here!