3 ms·
While the Linux kernel may rely on task-switch safe-points, user-land implementations can't which means they require an entirely different grace-period mechanis
by ratt 13y ago
While the Linux kernel may rely on task-switch safe-points, user-land implementations can't which means they require an entirely different grace-period mechanism to work. This is what makes user-land implementations tricky to get right. I won't go into the details here since it's somewhat involved and I need a white board to explain it properly. That being said, if you feel brave, head over to my github repo[1] and look for src/rcu.h and src/grcu.* .
[1]: https://github.com/RAttab/lockless https://github.com/RAttab/lockless