WSL2-Linux-Kernel/drivers/tty/vt
Alan Cox 84f904ecd3 vt: Fix deadlock on scroll-lock
Fixing the locking accidentally replaced a race in the scroll
lock handling with a deadlock. Turn it back into a race for
now.

The basic problem is that there are two paths into the tty
stop/start helpers. One via the tty layer ^S/^Q handling
where we need to take the kbd_event_lock and one via the
special keyboard handler for fn_hold where we already hold
it. Probably we need to split out into a separate LED lock
but for now just go back to the race as it's a bit close
to release.

Reported-by: Clemens Ladisch <clemens@ladisch.de>
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-01 14:01:28 -04:00
..
.gitignore TTY: move .gitignore from drivers/char/ to drivers/tty/vt/ 2010-11-05 22:18:23 -07:00
Makefile
consolemap.c TTY: Wrong unicode value copied in con_set_unimap() 2012-03-15 13:28:52 -07:00
cp437.uni
defkeymap.c_shipped
defkeymap.map
keyboard.c vt: Fix deadlock on scroll-lock 2012-05-01 14:01:28 -04:00
selection.c vt: tackle the main part of the selection logic 2012-03-08 11:11:39 -08:00
vc_screen.c vt: push down the tty lock so we can see what is left to tackle 2012-03-08 11:10:27 -08:00
vt.c printk(): add KERN_CONT where needed in hpet and vt code 2012-04-09 10:30:39 -07:00
vt_ioctl.c vt: waitevent is self locked so drop the tty_lock 2012-03-08 11:10:28 -08:00