Re: [GIT, RFC] Killing the Big Kernel Lock

From: Ingo Molnar
Date: Wed Mar 24 2010 - 18:23:45 EST



* Arnd Bergmann <arnd@xxxxxxxx> wrote:

> I've built-tested an allmodconfig kernel with CONFIG_BKL disabled on x86_64,
> i386, powerpc64, powerpc32, s390 and arm to make sure I catch all the
> modules that depend on BKL, and I've been running various versions of this
> tree on my desktop machine over the last few weeks while adding stuff.

Very nice work!

How about going one step further:

- remove CONFIG_BKL altogether
- remove all the remains of the BKL code in lib/kernel_lock.c and kernel/sched.c
- turn lock_kernel() into a WARN_ONCE() and unlock_kernel() into a NOP.
- ...
- Celebrate! :-)

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/