On Tue, Jan 2, 2024 at 1:59 PM Marco Elver <elver@xxxxxxxxxx> wrote: > > > I started looking into using percpu-rwsem, but it appears that it > > doesn't have the irqsave/irqrestore API flavor. I suspect that it > > shouldn't be hard to add it, but I'd rather not pursue this as a part > > of this series. > > > > So I still propose to keep the rwlock for now, and switch to > > percpu-rwsem later together with the other perf changes. > > I may have gotten lost in the post-vacation email avalanche and missed > it: did you already send the percpu-rwsem optimization? I am a little > worried about the contention the plain rwlock introduces on big > machines. I didn't get to working on that part unfortunately :( I filed https://bugzilla.kernel.org/show_bug.cgi?id=218312 for this.