[lkml]   [2008]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH -V3 01/11] percpu_counters: make fbc->count read atomic on 32 bit architecture
    On Wed, 2008-08-27 at 14:22 -0700, Andrew Morton wrote:

    > btw, what the heck is percpu_counter_init_irq()? Some mysterious
    > lockdep-specific thing?
    > <does git-fiddle. Oh. crappy changelog.>
    > I let that one leak through uncommented. Must be getting old.
    > Probably it will need an EXPORT_SYMBOL() sometime.

    Basically all it does it break the percpu_counter lock into two classes.

    One for the irq-unsafe users and one for the irq-safe users. Without
    this lockdep goes splat complaining about irq recursion deadlocks and
    the like between these two separate users.

     \ /
      Last update: 2008-08-28 10:03    [W:0.019 / U:6.068 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site