Messages in this thread | | | Date | Sun, 13 Jul 2008 14:03:52 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH 1/3] genclk: add generic framework for managing clocks. |
| |
On Mon, 14 Jul 2008 00:53:51 +0400 Dmitry <dbaryshkov@gmail.com> wrote:
> > > + list_del(&clk->priv.node); > > > + kref_put(&clk->priv.ref, clk_release); > > > > > > Might not be able to call kref_put(), either. > > I'll move it outside of the spinlock. But tell me please, why?
Because the release handler might not like being called under that lock. I didn't check...
| |