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.

Get the Android app

Or read this on Phoronix

Read more on:

Photo of Bugs

Bugs

Photo of linux kernel

linux kernel

Related news:

News photo

Asahi Linux Lead Developer Hector Martin Resigns From Linux Kernel

News photo

Asahi Linux lead developer Hector Martin resigns from Linux kernel

News photo

Bcachefs Preps More Fixes For Linux 6.14, Continues Tracking Down Other Bugs