[PATCH v2 0/2] make unused huge shrinker memcg aware
From: Qi Zheng
Date: Tue Jul 21 2026 - 04:40:06 EST
From: Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx>
Changes in v2:
- temporarily add the dependent patch from Usama to the series for review
convenience
- remove shrinklist_scan and shrinklist_isolated from struct shmem_inode_info,
and re-implement the logic by resuing the same info->shrinklist
(suggested by Baolin)
- add more comments (suggested by Andrew)
- fix missing initialization of info->shrinklist_memcg (pointed by sashiko)
- rebase onto the next-20260717
Qi Zheng (1):
mm: shmem: make unused huge shrinker memcg aware
Usama Arif (1):
fs: push nr_cached_objects memcg gating into individual filesystems
fs/btrfs/super.c | 10 +
fs/super.c | 19 +-
include/linux/memcontrol.h | 21 +++
include/linux/shmem_fs.h | 12 +-
mm/shmem.c | 370 ++++++++++++++++++++++++++++---------
5 files changed, 328 insertions(+), 104 deletions(-)
--
2.54.0