Re: [PATCH] VFS: make file->f_pos access atomic on 32bit arch
Date
Tue, 16 Sep 2008 22:54:21 +1000
On Tuesday 16 September 2008 21:11, Michael Trimarchi wrote: > Hi, > > > + if (offset != file_pos_read(file)) > > + file_pos_write(file, offset); > > retval = offset; > > } > > Is not more efficient here a compare xchg operation?