Messages in this thread | | | Date | Mon, 21 Mar 2022 06:46:53 -1000 | From | Tejun Heo <> | Subject | Re: [RESEND PATCH v7 7/8] kernfs: Replace per-fs rwsem with hashed rwsems. |
| |
On Mon, Mar 21, 2022 at 07:29:45AM +0000, Al Viro wrote: ... > stabilizing the tree topology. Turn it into rwlock if you wish, > with that thing being a reader and existing users - writers. > And don't bother with further scaling, until and unless you see a real > contention on it.
Given how rare these renames are, in the (unlikely) case the rename rwsem becomes a problem, we should probably just switch it to a percpu_rwsem.
Thanks.
-- tejun
| |