Language Selection

English French German Italian Portuguese Spanish

Linux: Removing The Big Kernel Lock

Filed under

Arnd Bergmann noted that he's working on removing the BKL from the Linux kernel, "I've spent some time continuing the work of the people on Cc and many others to remove the big kernel lock from Linux and I now have [a] bkl-removal branch in my git tree".

He went on to explain that his branch is working, and lets him run the Linux kernel, "on [a] quad-core machine with the only users of the BKL being mostly obscure device driver modules." Arnd noted that this effort has a long history, "the oldest patch in this series is roughly eight years old and is Willy's patch to remove the BKL from fs/locks.c, and I took a series of patches from Jan that removes it from most of the VFS."

Arnd noted that his patch adds a global mutex to the TTY layer, which he called the 'Big TTY Mutex' and described as, "the basic idea here is to make recursive locking and the release-on-sleep explicit, so every mutex_lock, wait_event, workqueue_flush and schedule in the TTY layer now explicitly releases the BTM before blocking." Alan Cox suggested that this portion of the patch was best dropped for now."

rest here

More in Tux Machines

Today in Techrights

The BEST Android Phones Of 2015

Android has always been associated with the best known handsets, the best specs and for always being the platform with the most advanced features, whether imaging, processors or display technology. And 2015 was no exception. Apple’s iPhones have always been plenty powerful, but handsets from Samsung, LG and HTC have always strived to take things further, introducing never-before-seen-technology, features and USPs like water-and-dust-proofing, QHD screens and the first implementation of optical stabilised cameras (OIS) on mobile. Read more

KDE Plasma Screen Configuration Is Working On Wayland

Sebastian Kügler's latest KDE Wayland work has led him to discover that KScreen is now working on Wayland. Using KScreen for screen/monitor configuration with KDE Plasma on Wayland-based environments should now "just work" and is a step towards having suitable KDE Wayland multi-screen support. Read more

Turris Omnia Is a Linux-Based Powerful Open Source Router That Updates on the Fly

Turris Omnia is a new open source router that comes with powerful hardware and a Linux distro based on OpenWRT. It’s a smashing hit on Indiegogo, and there is still time to get one. Read more