Language Selection

English French German Italian Portuguese Spanish

Linux: Removing The Big Kernel Lock

Filed under
Linux
Humor

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

Three serious Linux kernel security holes patched

The good news is developers are looking very closely at Linux's core code for possible security holes. The bad news is they're finding them. At least the best news is that they're fixing them as soon as they're uncovered. The latest three kernel vulnerabilities are designated CVE-2016-8655, CVE-2016-6480, and CVE-2016-6828. Of these, CVE-2016-8655 is the worst of the bunch. It enables local users, which can include remote users with virtual and cloud-based Linux instances, to crash the system or run arbitrary code as root. Read more

KDE neon User LTS Edition Out Now

KDE Plasma 5.8 is designated an LTS edition with bugfixes and new releases being made for 18 months (rather than the normal four months). This will please a category of user who don’t want new features on their desktop but do want it to keep working and bugs to be removed. Because Neon aims to service Plasma and its users in every way we have now created the KDE neon User LTS Edition. Read more

Bulgaria, France, UK, US support OGP free software policy

The United States of America and three EU Member states - Bulgaria, France and the United Kingdom - have pledged support for the open source policy, making it an official part of the ‘Paris Declaration’, the outcome of the 4th Global Summit of the Open Government Partnership (OGP), taking place in Paris this week. The open source policy is also supported by the city of Austin (USA). Read more

Wine 2.0 Takes Shape, First Release Candidate Updates the Mono Engine, More

A few moments ago, the Wine development team was proud to announce the general availability of the first Release Candidate of the upcoming Wine 2.0 open-source software for running Windows apps on Linux and UNIX-like operating systems. Read more Also: Wine 2.0-rc1 Arrives, Prepares For Wine 2.0