Re: [PATCH v6 6/7] kernfs: Introduce hashed rw-sem to replace per-fs kernfs_rwsem.

From: Tejun Heo
Date: Tue Feb 22 2022 - 13:09:56 EST


On Fri, Feb 18, 2022 at 03:25:31AM +0000, Al Viro wrote:
> There are very few sources of cross-directory moves in the entire system.
> One is cross-directory cgroup rename(2) (already serialized on per-fs basis
> on VFS level), another is device_move(). Which is uncommon (5 callers

FWIW, cgroup rename(2) doesn't allow changing the parent.

Thanks.

--
tejun