On Sat, 2 Aug 2025 11:15:07 -0300 Daniel Almeida <daniel.alme...@collabora.com> wrote: > Btw, I can also try to implement a proof of concept, so long as > people agree that this approach makes sense.
It's not necessary to provide a full P.o.C but a small demonstration of the kind of ww_mutex API you would prefer would be helpful. Seeing a few sample Rust use-cases (especially in comparison to existing C implementations) would give a clearer picture for me. At the moment, the implementation is just a wrapper ([1]) around the C ww_mutex with no additional functionality, mostly because we don't have a solid consensus on the API design yet (we had some ideas about Tuple based approach, but seems like that isn't going to be useful for most of the ww_mutex users). [1]: https://github.com/onur-ozkan/linux/commits/673e01a9c309c > By the way, dri-devel seems to not be on cc? Added them now. Thanks! -- Regards, Onur