diff options
author | Arnd Bergmann <arnd@arndb.de> | 2010-11-16 00:03:04 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2010-11-17 15:23:09 +0100 |
commit | 6585b93f25247fe064d245b1068dc3235b7d4800 (patch) | |
tree | 6c667e86ce9954c2b2cd91826cda20a1187e35eb /lib | |
parent | bb2d384ab8184eb7f7146897e47fa5b38583112c (diff) |
BKL: disable by default
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>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 28b42b9274d0..65aaefd96aab 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -471,12 +471,12 @@ config DEBUG_MUTEXES config BKL bool "Big Kernel Lock" if (SMP || PREEMPT) - default y + default !(SMP || PREEMPT) 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" |