On Thu, Jul 31, 2025 at 04:51:43PM -0700, Kuniyuki Iwashima wrote: > Doesn't that end up implementing another tcp_mem[] which now > enforce limits on uncontrolled cgroups (memory.max == max) ? > Or it will simply end up with the system-wide OOM killer ? I meant to rely on use the exisiting mem_cgroup_charge_skmem(), i.e. there'd be always memory.max < max (ensured by the configuring agent). But you're right the OOM _may_ be global if the limit is too loose. Actually, as I think about it, another configuration option would be to reorganize the memcg tree and put all non-isolated memcgs under one ancestor and set its memory.max limit (so that it's shared among them like the global limit). HTH, Michal