Get the latest tech news
Clang Thread Safety Checks Begin Uncovering Bugs In The Linux Kernel
Posted to the Linux kernel mailing list this week were two competing solutions for new LLVM Clang capability / thread safety analysis to the Linux kernel
Two developers had separately been working on implementations for the Linux kernel to make use of Clang's "-Wthread-safety" functionality. Bart Van Assche had concurrently been working on compile-time thread-safety checking for the Linux kernel and this week also posted this set of 33 RFC patches. We'll see what solution proves superior and is ultimately accepted upstream or if some new unified approach evolves.
Or read this on Phoronix