lkml.org 
[lkml]   [2008]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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...


    \
     
     \ /
      Last update: 2008-07-13 23:07    [W:0.036 / U:0.268 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site