Android: memcg v1 - v2
summary
Upgrade effort moves Android memcg from v1 to v2 to add real dma-buf accounting using a per-CPU counter that flushes to global totals, plus kernel-initiated proactive reclaim for backgrounded apps and working-set protection for foreground latency. Testing on kernels 5.10 vs 6.1 finds many fixes: reclaim slowdowns from 2,000 zombies (vs ~400–500 active cgroups), a big unexplained slab increase, and performance wins that reduce jank once patches are applied.
AI-written summary · about
related talks
37mMemory Hotplug on Android
18mEnd the Senseless Killing: Improving Memory Management for Mobile Operating Systems
39mUnderstanding Android memory usage
38mOptimize your app performance for the next generation of Android
36mAndroid memory and games
38mOptimize your app performance for the next generation of Android
15mPixel 6 support upstream and on android-mainline
37mRunning Android on the Mainline Graphics Stack
