[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.038 / U:41.132 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site