lkml.org 
[lkml]   [2011]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/4] BKL: disable by default
Date
As discussed at the kernel summit, this change disables
the big kernel lock by default. It is still possible to
enable it in order to build the modules that use it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
lib/Kconfig.debug | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 2d05adb..f2a399c 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -472,12 +472,11 @@ config DEBUG_MUTEXES

config BKL
bool "Big Kernel Lock" if (SMP || PREEMPT)
- default y
help
This is the traditional lock that is used in old code instead
- of proper locking. All drivers that use the BKL should depend
- on this symbol.
- Say Y here unless you are working on removing the BKL.
+ of proper locking. The big kernel lock will go away in 2.6.39,
+ so all modules that still depend on it need to be changed or
+ they will be removed as well.

config DEBUG_LOCK_ALLOC
bool "Lock debugging: detect incorrect freeing of live locks"
--
1.7.1


\
 
 \ /
  Last update: 2011-01-18 22:21    [W:0.147 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site