On Wed, 27 Mar 2013, Mike Turquette wrote:
Quoting Laurent Pinchart (2013-03-27 02:08:15)
I wonder if it would make sense to abstract these operations in a generic recursive mutex. Given that it would delay this patch past v3.10 I won't push for that.
Having a nice implementation of recursive mutexes would have saved me some time.
If you encapsulate stuff nicely like I suggested, then switching to a generic version later on is a nobrainer.
Thanks,
tglx