Re: [PATCH v4] clk: allow reentrant calls into the clk framework

From: Thomas Gleixner
Date: Wed Mar 27 2013 - 13:12:30 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/