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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

