Big Kernel Lock

From RTwiki
(Difference between revisions)
Jump to: navigation, search
(The Big Kernel Lock is gone)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The Big Kernel Lock is the most annoying lock in the kernel. It was introduced to start with the SMP development of Linux more than 10 years ago. We still have users which rely on it. There has been some effort to push the BKL locking down into the files which (still) expect to be protected by it for whatever reason. This makes it easier to replace it by local locking.
+
The Big Kernel Lock was the most annoying lock in the kernel. It was introduced to start with the SMP development of Linux more than 10 years ago and finally removed in git commit [http://git.kernel.org/linus/4ba8216cd90560bc402f52076f64d8546e8aefcb 4ba8216c]
  
Some effort to remove the BKL locking in various places has already happened. The most prominent work is the removal of the BKL from reiserfs by Frederic Weisbecker. This work and other bits an pieces can be found in the kill-the-BKL branch of the [http://git.kernel.org/?p=linux/kernel/git/tip/linux-2.6-tip.git;a=summary -tip git repository]. Please check that first if you want to help with that effort. Secondly please add the file(s) you are working on to that page to avoid duplicate effort.
 
  
{| class="wikitable"
+
See also [http://kernelnewbies.org/BigKernelLock]
! File(s) !! Developer(s) !! Start Date !! Status !! Remarks
+
|-
+
| fs/reiserfs/* || Frederic || 01/05/2009 || Done ||
+
|-
+
| drivers/char/tty_io.c || Frederic || 08/01/2009 || Pending ||
+
|-
+
| arch/x86/kernel/cpuid.c || tglx || 08/13/2009 || Done || Leftover from the BKL pushdown. Protects nothing
+
|-
+
| arch/x86/kernel/msr.c || tglx || 08/13/2009 || Done || Leftover from the BKL pushdown. Protects nothing
+
|-
+
| kernel/pm_qos_params.c || corbet || 08/13/2009 || Done || Leftover from the BKL pushdown.
+
|-
+
| fs/squashfs/* || tglx || 08/14/2009 || Pending || Leftover from the BKL pushdown.
+
|-
+
| fs/ubifs/* || tglx || 08/14/2009 || Pending || Leftover from the BKL pushdown.
+
|}
+

Latest revision as of 13:01, 17 August 2011

The Big Kernel Lock was the most annoying lock in the kernel. It was introduced to start with the SMP development of Linux more than 10 years ago and finally removed in git commit 4ba8216c


See also [1]

Personal tools