On 03/29/2013 01:13 PM, Glauber Costa wrote: > + if (dentry->d_flags & DCACHE_REFERENCED) { > + dentry->d_flags &= ~DCACHE_REFERENCED; > + spin_unlock(&dentry->d_lock); > + > + /* > + * XXX: this list move should be be done under d_lock. Need to > + * determine if it is safe just to do it under the lru lock. > + */ > + return 1; > + } I've carefully audited the list manipulations in dcache and determined this is safe. I've replaced the fixme string for the following text. Let me know if you believe this is not right.