4 ms·
Not an expert but RCU is more complex with respect to checking the CPU states for activity to ensure consistency. Sequential locks use spinlocks and a counter
by tfigment 10y ago
Not an expert but RCU is more complex with respect to checking the CPU states for activity to ensure consistency. Sequential locks use spinlocks and a counter and allows for concurrent reads. This link [1] actually answers it specifically (sorry about the quora link).
[1] https://www.quora.com/What-is-difference-between-the-RCU-read-copy-update-and-the-sequential-locks-in-Linux-Kernel https://www.quora.com/What-is-difference-between-the-RCU-rea...
- r4um 10y agoLWN's coverage is pretty good https://lwn.net/Articles/262464/ https://lwn.net/Articles/262464/