[lkml]   [2010]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Is module refcounting racy?
    On Thu, 18 Mar 2010 09:25:34 pm Nick Piggin wrote:
    > Hey,
    > I've been looking at weird and wonderful ways to do scalable refcounting,
    > for the vfs...
    > Sadly, module refcounting doesn't fit my bill. But as far as I could see,
    > it is racy.

    Other than for advisory purposes, the refcount is only checked against zero
    under stop_machine. For exactly this reason.

    Hope that helps,

     \ /
      Last update: 2010-03-29 11:15    [W:0.019 / U:3.116 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site