Re: [PATCH v10 3/3] mm: add anonymous vma name refcounting

From: Dave Hansen
Date: Fri Oct 08 2021 - 10:15:10 EST


On 10/7/21 11:34 PM, Michal Hocko wrote:
>> Yes, please. It really seems like the folks that are interested in this
>> feature want strings. (I certainly do.)
> I am sorry but there were no strong arguments mentioned for strings so
> far.

The folks who want this have maintained an out-of-tree patch using
strings. They've maintained it for the better part of a decade. I
don't know how widely this shipped in the Android ecosystem, but I
suspect we're talking about billions of devices. Right?

This is a feature that, if accepted into mainline, will get enabled and
used on billions of devices. If we dumb this down to integers, it's not
100% clear that it _will_ get used.

That's a pretty strong argument in my book, even if the contributors
have difficulty articulating exactly why they want strings.