News for hackers. Stuff that matters.
Re:Linux-insides: Queued spinlocks in the Linux kernel by cyphar on Monday April 18, 2016 @12:27AM (#11517728)
I also started writing Linux kernel code a while ago and the one thing that I found really hard to follow was the locking hierarchies. It's not completely clear what protects what, and especially when you have two mutually exclusive locks (like a global lock and a lock for a specific variable) and you have to make sure you only grab one. RCU was much simpler to use. But my main worry with series like these is that they'll get out of date very quickly, but I mainly read them to understand the context of "how does this code differ in execution context to userspace code?". This series is very helpful in this regard.

There are no comments on this comment yet.