aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/sched.c
diff options
context:
space:
mode:
authorWang YanQing <udknight@gmail.com>2013-05-09 14:16:47 +0800
committerBen Hutchings <ben@decadent.org.uk>2013-05-30 14:35:04 +0100
commit40a2e8cd0cb2548bb78a8b8b3ace6b911f2bb98b (patch)
tree136f6981134d05aa47a657d4758f82de92e30998 /net/sunrpc/sched.c
parente75b61897276c5100e61c9c74fd55ded28f31431 (diff)
downloadkernel_samsung_smdk4412-40a2e8cd0cb2548bb78a8b8b3ace6b911f2bb98b.zip
kernel_samsung_smdk4412-40a2e8cd0cb2548bb78a8b8b3ace6b911f2bb98b.tar.gz
kernel_samsung_smdk4412-40a2e8cd0cb2548bb78a8b8b3ace6b911f2bb98b.tar.bz2
TTY: Fix tty miss restart after we turn off flow-control
commit dab73b4eb9ef924a2b90dab84e539076d82b256f upstream. I meet emacs hang in start if I do the operation below: 1: echo 3 > /proc/sys/vm/drop_caches 2: emacs BigFile 3: Press CTRL-S follow 2 immediately Then emacs hang on, CTRL-Q can't resume, the terminal hang on, you can do nothing with this terminal except close it. The reason is before emacs takeover control the tty, we use CTRL-S to XOFF it. Then when emacs takeover the control, it may don't use the flow-control, so emacs hang. This patch fix it. This patch will fix a kind of strange tty relation hang problem, I believe I meet it with vim in ssh, and also see below bug report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=465823 Signed-off-by: Wang YanQing <udknight@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'net/sunrpc/sched.c')
0 files changed, 0 insertions, 0 deletions