Re: [PATCH] mm: shmem: make unused huge shrinker memcg aware

From: Qi Zheng

Date: Wed Jul 15 2026 - 22:20:41 EST




On 7/16/26 3:40 AM, Andrew Morton wrote:
On Wed, 15 Jul 2026 14:49:28 +0800 Qi Zheng <qi.zheng@xxxxxxxxx> wrote:


This patch is based on next-20260701 because it doesn't include this patch:

https://lore.kernel.org/all/20260609123047.1948242-1-usama.arif@xxxxxxxxx/

Later on, Usama will consider moving this restriction down into the fs callback.

I'm not understanding. Was Usama's above patch ever included in
anything?

It's included in linux-next, e.g. next-20260710.

Oh, OK, it came in via Christian's vfs.git tree.

0baad6f9b997 ("fs/super: skip non-memcg-aware nr_cached_objects in memcg slab shrink")

Should we be asking Christian to make some alteration here?

I saw Usama posted an alternative (now at v2) and got Reviewed-bys:

https://lore.kernel.org/all/20260715103516.2410175-1-usama.arif@xxxxxxxxx/

Hi Christian, do you have plans to merge this into the vfs.git tree
recently?

Thanks,
Qi