On Wed, 21 Jul 2021 03:46:52 +0100 Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote: > > Sure, let's go that way. Linus wasn't terribly enthusiastic about the > > folio patches and I can't claim to be overwhelmed by their value/churn > > ratio (but many MM developers are OK with it all, and that > > counts). Doing it this way retains options... > > I'm happy to take these three patches through my tree if it makes life > easier (and it does resolve the majority of the pain): > > mm, memcg: add mem_cgroup_disabled checks in vmpressure and swap-related functions > mm, memcg: inline mem_cgroup_{charge/uncharge} to improve disabled memcg config > mm, memcg: inline swap-related functions to improve disabled memcg config They're rather unimportant, can be deferred. I'll probably move these to the post-linux-next queue, but let's just do it and see how it goes.