Skip to content

Make the big kernel lock optional

Arnd Bergmann lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18hpet: kill BKL, add compat_ioctldrivers/char/hpet.c+64 -340 replies
2/18proc/pci: kill BKLdrivers/pci/proc.c+1 -30 replies
3/18s390/block: kill the big kernel lockdrivers/s390/block/dasd.c drivers/s390/block/dasd_ioctl.c drivers/s390/block/dcssblk.c+2 -260 replies
4/18isapnp: BKL removaldrivers/pnp/isapnp/proc.c+7 -61 reply
5/18alpha: kill big kernel lockarch/alpha/kernel/osf_sys.c arch/alpha/kernel/traps.c+0 -80 replies
6/18cris: autoconvert trivial BKL usersarch/cris/arch-v10/drivers/ds1302.c arch/cris/arch-v10/drivers/pcf8563.c arch/cris/arch-v10/drivers/sync_serial.c +5 more+36 -310 replies
7/18m68k: remove big kernel lockarch/m68k/kernel/sys_m68k.c+4 -30 replies
8/18parisc: remove big kernel lockarch/parisc/kernel/perf.c+0 -40 replies
9/18sh: kill big kernel lockarch/sh/kernel/ptrace_64.c+3 -60 replies
10/18uml: kill big kernel lockarch/um/drivers/harddog_kern.c arch/um/drivers/hostaudio_kern.c arch/um/drivers/ubd_kern.c +1 more+15 -160 replies
11/18fix rawctl compat ioctls breakage on amd64 and itanicdrivers/char/raw.c fs/compat_ioctl.c+140 -1730 replies
12/18tlclk: remove big kernel lockdrivers/char/tlclk.c+3 -30 replies
13/18i4l: kill big kernel lockdrivers/isdn/i4l/isdn_tty.c+6 -50 replies
14/18misdn: kill big kernel lockdrivers/isdn/mISDN/stack.c+0 -70 replies
15/18dvb/bt8xx: kill the big kernel lockdrivers/media/dvb/bt8xx/dst_ca.c+4 -30 replies
16/18dvb-core: kill the big kernel lockdrivers/media/dvb/dvb-core/dmxdev.c drivers/media/dvb/dvb-core/dvb_ca_en50221.c drivers/media/dvb/dvb-core/dvb_net.c +1 more+11 -400 replies
17/18rtmutex-tester: make it build without BKLkernel/rtmutex-tester.c+6 -00 replies
18/18BKL: introduce CONFIG_BKL.drivers/gpu/drm/Kconfig drivers/isdn/capi/Kconfig drivers/media/Kconfig +35 more+53 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/18] Make the big kernel lock optional

This is a set of simple patches to remove the big kernel lock in some remaining areas and introduce a Kconfig option which I'd like to have included in linux-next and get included in the 2.6.37 merge window.

I have a total of five topic branches, which together remove the BKL from all code except those modules which get marked as 'depends on BKL' in the final patch of this series.

It's fine if maintainers want to add some of these patches to their own queue, as long as they all make it into linux-next.

Stephen, please add git+ssh://master.kernel.org/pub/scm/linux/kernel/git/arnd/bkl.git config

Arnd Bergmann (17):
hpet: kill BKL, add compat_ioctl
proc/pci: kill BKL
s390/block: kill the big kernel lock
isapnp: BKL removal
alpha: kill big kernel lock
cris: autoconvert trivial BKL users
m68k: remove big kernel lock
parisc: remove big kernel lock
sh: kill big kernel lock
uml: kill big kernel lock
tlclk: remove big kernel lock
i4l: kill big kernel lock
misdn: kill big kernel lock
dvb/bt8xx: kill the big kernel lock
dvb-core: kill the big kernel lock
rtmutex-tester: make it build without BKL
BKL: introduce CONFIG_BKL.

Al Viro (1):
fix rawctl compat ioctls breakage on amd64 and itanic

 arch/alpha/kernel/osf_sys.c                 |    5 -
 arch/alpha/kernel/traps.c                   |    3 -
 arch/cris/arch-v10/drivers/ds1302.c         |    7 +-
 arch/cris/arch-v10/drivers/pcf8563.c        |    6 +-
 arch/cris/arch-v10/drivers/sync_serial.c    |   11 +-
 arch/cris/arch-v32/drivers/cryptocop.c      |    4 +-
 arch/cris/arch-v32/drivers/mach-a3/gpio.c   |   11 +-
 arch/cris/arch-v32/drivers/mach-fs/gpio.c   |   11 +-
 arch/cris/arch-v32/drivers/pcf8563.c        |    6 +-
 arch/cris/arch-v32/drivers/sync_serial.c    |   11 +-
 arch/m68k/kernel/sys_m68k.c                 |    7 +-
 arch/parisc/kernel/perf.c                   |    4 -
 arch/sh/kernel/ptrace_64.c                  |    9 +-
 arch/um/drivers/harddog_kern.c              |   13 +-
 arch/um/drivers/hostaudio_kern.c            |    8 +-
 arch/um/drivers/ubd_kern.c                  |    8 +-
 arch/um/kernel/exec.c                       |    2 -
 drivers/char/hpet.c                         |   98 +++++++----
 drivers/char/raw.c                          |  243 +++++++++++++++-----------
 drivers/char/tlclk.c                        |    6 +-
 drivers/gpu/drm/Kconfig                     |    5 +-
 drivers/isdn/capi/Kconfig                   |    2 +-
 drivers/isdn/i4l/isdn_tty.c                 |   11 +-
 drivers/isdn/mISDN/stack.c                  |    7 -
 drivers/media/Kconfig                       |    1 +
 drivers/media/dvb/bt8xx/dst_ca.c            |    7 +-
 drivers/media/dvb/dvb-core/dmxdev.c         |   17 +--
 drivers/media/dvb/dvb-core/dvb_ca_en50221.c |    8 +-
 drivers/media/dvb/dvb-core/dvb_net.c        |    9 +-
 drivers/media/dvb/dvb-core/dvbdev.c         |   17 +-
 drivers/net/appletalk/Kconfig               |    1 +
 drivers/pci/proc.c                          |    4 +-
 drivers/pnp/isapnp/proc.c                   |   13 +-
 drivers/s390/block/dasd.c                   |    6 -
 drivers/s390/block/dasd_ioctl.c             |   17 +--
 drivers/s390/block/dcssblk.c                |    5 -
 drivers/staging/cx25821/Kconfig             |    1 +
 drivers/staging/easycap/Kconfig             |    1 +
 drivers/staging/go7007/Kconfig              |    1 +
 drivers/staging/usbip/Kconfig               |    2 +-
 drivers/usb/gadget/Kconfig                  |    2 +-
 fs/Kconfig                                  |    1 +
 fs/adfs/Kconfig                             |    1 +
 fs/afs/Kconfig                              |    1 +
 fs/autofs/Kconfig                           |    1 +
 fs/autofs4/Kconfig                          |    1 +
 fs/ceph/Kconfig                             |    1 +
 fs/coda/Kconfig                             |    1 +
 fs/compat_ioctl.c                           |   70 --------
 fs/ecryptfs/Kconfig                         |    1 +
 fs/freevxfs/Kconfig                         |    1 +
 fs/hpfs/Kconfig                             |    1 +
 fs/jffs2/Kconfig                            |    1 +
 fs/ncpfs/Kconfig                            |    1 +
 fs/nfs/Kconfig                              |    1 +
 fs/nfsd/Kconfig                             |    1 +
 fs/ocfs2/Kconfig                            |    1 +
 fs/qnx4/Kconfig                             |    1 +
 fs/reiserfs/Kconfig                         |    1 +
 fs/smbfs/Kconfig                            |    1 +
 fs/squashfs/Kconfig                         |    1 +
 fs/udf/Kconfig                              |    1 +
 fs/ufs/Kconfig                              |    1 +
 include/linux/smp_lock.h                    |    7 +-
 init/Kconfig                                |    2 +-
 kernel/rtmutex-tester.c                     |    6 +
 kernel/trace/Kconfig                        |    1 +
 lib/Kconfig.debug                           |    9 +
 net/ipx/Kconfig                             |    1 +
 net/irda/Kconfig                            |    1 +
 net/irda/irnet/Kconfig                      |    1 +
 net/x25/Kconfig                             |    1 +
 72 files changed, 355 insertions(+), 375 deletions(-)
Cc Al Viro <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Arjan van de Ven <[email protected]>
Cc Bob Picco <[email protected]>
Cc Clemens Ladisch <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Heiko Carstens <[email protected]>
Cc Helge Deller <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Ivan Kokshaysky <[email protected]>
Cc "James E.J. Bottomley" <[email protected]>
Cc Jaroslav Kysela <[email protected]>
Cc Jeff Dike <[email protected]>
Cc Jesper Nilsson <[email protected]>
Cc Jesse Barnes <[email protected]>
Cc Karsten Keil <[email protected]>
Cc Kyle McMartin <[email protected]>
Cc Linus Torvalds <[email protected]>
Cc Mark Gross <[email protected]>
Cc Martin Schwidefsky <[email protected]>
Cc Matt Turner <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Mikael Starvik <[email protected]>
Cc Paul Mundt <[email protected]>
Cc Richard Henderson <[email protected]>
Cc Roman Zippel <[email protected]>
Cc Stephen Rothwell <[email protected]>
Cc Tejun Heo <[email protected]>
Cc Thomas Gleixner <[email protected]>