diff options
author | Peter Hurley <[email protected]> | 2016-01-09 21:45:12 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2016-01-28 11:58:02 -0800 |
commit | 7bccc36544a8b4a7d768f8ccdd6001a52872aca9 (patch) | |
tree | 31560d1f0eaba903fbe7dd2d3032988ddfadb189 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | a8f3a29718f77df3116955d100756f67fafabec0 (diff) |
n_tty: Fix stuck write wakeup
If signal-driven i/o is disabled while write wakeup is pending (ie.,
n_tty_write() has set TTY_DO_WRITE_WAKEUP but then signal-driven i/o
is disabled), the TTY_DO_WRITE_WAKEUP bit will never be cleared and
will cause tty_wakeup() to always call n_tty_write_wakeup.
Unconditionally clear the write wakeup, and since kill_fasync()
already checks if the fasync ptr is null, call kill_fasync()
unconditionally as well.
Signed-off-by: Peter Hurley <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions