[lkml]   [2010]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 09/18] fs: rework icount to be a locked variable
On Fri, Oct 08, 2010 at 06:50:01PM +1100, Dave Chinner wrote:
> > There's no need to lock a normal 32-bit variable for readers.
> Ok, but will need a memory barrier instead?

Isn't spin_unlock supposed to be one? I'll need some of the locking
experts to shime in.

 \ /
  Last update: 2010-10-08 10:19    [W:0.129 / U:2.124 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site