> Remember we copy over the metadata and create copies of the caches
> per-memcg. Therefore, a dentry belongs to a memcg if it was allocated
> from the slab pertaining to that memcg.
The dentry could be used by other processes in the system though. F.e.
directory names could easily be created by one process and then used by a
multitude of others.
> It is not 100 % accurate, but it is good enough.