Hacker News new | ask | show | jobs
by MichaEiler 1820 days ago
I'm surprised nobody has mentioned Linus's rant about spinlocks in userspace: https://www.realworldtech.com/forum/?threadid=189711&curpost...
2 comments

His rant only applies to preemptible threads. If you don't have preemptible threads spinlocks works great. The linux kernel uses them in non-preemptible contexts.
There should be site like linus-rants.com