Windows 7 and its dispatcher spin lock, and what about Linux kernel
Posted on 2009-05-12
Was watching Mark Russinovich talking about the redesigned dispatcher lock in the new Windows 7 kernel. The lock was single and global in previous Windows versions, which will become a bottleneck in a massively multicore system. The newly designed the lock has a "tiered" approach, so the fine grained locking mechanism wouldn't create too much blocking. That'll enable easy scaling to 256 cores.
That's certainly good. Anyone has any insight on similar issues for Linux kernel? I'm not talking about highly optimized ones running on things like Cray. How about the run of the mill kernel that's in our desktop distributions? Does it have any major global locks that may impede like the old Windows dispatcher lock? Not really a pro on Linux kernel so haven't found any good literature on that. Hopefully experts here may have a pointer or two. Good links would be much appreciated.