On Wed, 17 Feb 2016, Waiman Long wrote: > I know we can use RCU for singly linked list, but I don't think we can use > that for doubly linked list as there is no easy way to make atomic changes to > both prev and next pointers simultaneously unless you are taking about 16b > cmpxchg which is only supported in some architecture. But its supported in the most important architecutes. You can fall back to spinlocks on the ones that do not support it. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html