On Wed, Oct 18, 2023 at 7:32 PM Huan Yang <link@xxxxxxxx> wrote: > > Android can't use debugfs in production, but I > > think we'd prefer to use memory.reclaim for eviction anyway because it > > respects memcg limits and reclaims from slab. > Yes, shrink control this actually can use proactive reclaim. > > > > So maybe it's possible to add just aging functionality specific to > > MGLRU? It'd be nice to know how you're going to use the aging, or why > Due to debugfs not always mount, if we want to now lrugen's info, maybe > nice to offer a memcg's node to show per memcg's lrugen info. > > you want this version of eviction instead of what memory.reclaim does. > I think Yu's inquiry was about whether you will look at the lrugen info from the memcg file for a production use case, or just for debugging where you don't have debugfs for some reason. Because it's a long term commitment to add the file.