On Fri, Oct 10, 2025 at 2:34 PM Michael S. Tsirkin <[email protected]> wrote: > > On Fri, Oct 10, 2025 at 10:58:21AM +0200, Eugenio Pérez wrote: > > It will be used in a few more scenarios read-only so make it more > > scalable. > > Well a mutex is sleepable and rwlock is a spinlock. > > So this does much more than "make it more scalable". > > "A few more scenarios" and "scalable" is also vague. > RW has its own issues such as fairness. > > So tell us please, which operations do you want to speed up and why? > What kind of speedup was observed? >
I think you're totally right here. Yongji, would it work for you if we leave this conversion on top of the series with a simple mutex, and we have bandwith to explore the benefits of this? You were the one proposing it [1]. Thanks! [1] https://lore.kernel.org/all/CACycT3v=_Nm6fefJGFEyoU+Xf5G=kzi0sxhhabhnjqzcg-4...@mail.gmail.com/

