]> Git Repo - linux.git/commit - drivers/tty/tty_ioctl.c
tty: BKL pushdown
authorAlan Cox <[email protected]>
Wed, 30 Apr 2008 07:53:29 +0000 (00:53 -0700)
committerLinus Torvalds <[email protected]>
Wed, 30 Apr 2008 15:29:40 +0000 (08:29 -0700)
commit04f378b198da233ca0aca341b113dc6579d46123
tree696e7bd401125cee71ecaa2047c4273f38732554
parente52384426064bca0669a954736206adca7595d48
tty: BKL pushdown

- Push the BKL down into the line disciplines
- Switch the tty layer to unlocked_ioctl
- Introduce a new ctrl_lock spin lock for the control bits
- Eliminate much of the lock_kernel use in n_tty
- Prepare to (but don't yet) call the drivers with the lock dropped
  on the paths that historically held the lock

BKL now primarily protects open/close/ldisc change in the tty layer

[[email protected]: a couple of fixes]
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Jiri Slaby <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/char/n_hdlc.c
drivers/char/n_r3964.c
drivers/char/n_tty.c
drivers/char/pty.c
drivers/char/tty_io.c
drivers/char/tty_ioctl.c
drivers/char/vt.c
fs/compat_ioctl.c
include/linux/tty.h
This page took 0.057955 seconds and 4 git commands to generate.