This needs a fair bit of testing and a bit of review wouldn't go amiss, but it does drive the tty_lock() mess out of the console and correct chunks of console locking in the process. --- Alan Cox (6): vt: push the tty_lock down into the map handling vt: tackle the main part of the selection logic vt: waitevent is self locked so drop the tty_lock vt: push down tioclinux cases vt: push down the tty lock so we can see what is left to tackle vt: sort out locking for font handling drivers/tty/vt/consolemap.c | 119 ++++++++++++++++++++++++++++++++----------- drivers/tty/vt/selection.c | 49 +++++++++++++----- drivers/tty/vt/vc_screen.c | 4 + drivers/tty/vt/vt.c | 37 ++++++++++--- drivers/tty/vt/vt_ioctl.c | 68 ++++++++++++------------- include/linux/vt_kern.h | 1 6 files changed, 186 insertions(+), 92 deletions(-) -- "It's 106 miles to Chicago, we've got a full tank of gas, the sat-nav has crashed, it's dark and we're completely lost" -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html