Re: Potential data race in dput and __d_lookup
From: Al Viro
Date: Thu Nov 20 2014 - 13:12:04 EST
On Thu, Nov 20, 2014 at 05:41:01PM +0000, Will Deacon wrote:
> I think it should be fine. d_lock is #defined as d_lockref.lock, and the
> whole way the lockref works is that you can either cmpxchg the lock and the
> counter
... both by a single operation, that is.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/