lkml.org 
[lkml]   [2010]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Is module refcounting racy?
Date
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,
Rusty.


\
 
 \ /
  Last update: 2010-03-29 11:15    [from the cache]
©2003-2011 Jasper Spaans