On 05/03/2012 02:39 PM, tao.peng at emc.com wrote: > I guess something like > old = current; > current = new; > __sync_synchronize(); > put_vnode_info(old); > > should be sufficient to fix it? It seems that we are not talking about the same problem. get/put_vnode_info() are executed in main thread, I guess there isn't race as you describe. Thanks, Yuan |