summaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/sys_wildfire.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-03-05 14:51:56 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-08 20:38:51 +0100
commit26b23209c0ea5503824df60b8f218fb04b80cad0 (patch)
tree6225f9e7e4db8dc77023887e8e70539f8b185396 /arch/alpha/kernel/sys_wildfire.c
parentTTY: serial, simplify ASYNC_USR_MASK (diff)
downloadlinux-26b23209c0ea5503824df60b8f218fb04b80cad0.tar.xz
linux-26b23209c0ea5503824df60b8f218fb04b80cad0.zip
TTY: tty_driver, document tty->ops->shutdown limitation
Note that tty->ops->shutdown is called from whatever context the user drops the last tty reference from. E.g. if one takes a reference in an ISR, tty close happens on other CPU and the final tty put is from the ISR, tty->ops->shutdown will be called from that hard irq context. We would have a problem in vt if we start using tty refcounting from other contexts than user there. It is because vt's shutdown uses mutexes. This is yet to be fixed. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Reported-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/alpha/kernel/sys_wildfire.c')
0 files changed, 0 insertions, 0 deletions