Re: [RFC PATCH] kernfs: release kernfs_mutex before the inode allocation

From: Ian Kent

Date: Tue Jun 30 2026 - 21:26:43 EST


On 30/6/26 21:50, Tejun Heo wrote:
Hello,

On Tue, Jun 30, 2026 at 11:26:31AM +0800, Wenwu Hou wrote:
...
In our real-world case, thousands of nodejs processes hit the cgroup memory
limit and sleep on the OOM path, runc gets blocked, and consequently the node
remains in an unschedulable state for many hours.
I don't think we can work around thousands of processes stalling in OOM path
with kernfs locking changes. There are better ways to manage memory
pressure. Please look into memory.high and PSI driven userspace OOM

Sounds like your assuming misbehaviour or errant processes but if that's not

the case then it would be better to try and avoid the situation.


Ian