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

Debian-Based Distribution Updated With KDE 3.5 Forked Desktop

Q4OS 1.2 "Orion" is the new release that is re-based on Debian Jessie, focused on shipping its own desktop utilities and customizations, and designed to run on both old and new hardware. Read more

Atom Shell is now Electron

Atom Shell is now called Electron. You can learn more about Electron and what people are building with it at its new home electron.atom.io. Read more Also: C++ Daddy Bjarne Stroustrup outlines directions for v17

A Fedora 22 beta walk-through

The new Fedora, with its GNOME 3.16 interface, is an interesting, powerful Linux desktop. Read more Also: Web software center for Fedora Red Hat's Cross-Selling and Product Development Will Power Long-Term Growth Red Hat Updates Open Source Developer and Admin Tools

Unix and Personal Computers: Reinterpreting the Origins of Linux

So, to sum up: What Linus Torvalds, along with plenty of other hackers in the 1980s and early 1990s, wanted was a Unix-like operating system that was free to use on the affordable personal computers they owned. Access to source code was not the issue, because that was already available—through platforms such as Minix or, if they really had cash to shell out, by obtaining a source license for AT&T Unix. Therefore, the notion that early Linux programmers were motivated primarily by the ideology that software source code should be open because that is a better way to write it, or because it is simply the right thing to do, is false. Read more Also: Anti-Systemd People