aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorPeter Hurley <[email protected]>2016-01-09 21:45:14 -0800
committerGreg Kroah-Hartman <[email protected]>2016-01-28 11:58:02 -0800
commit87108bc9870ae86ca4fcc05115a134af7a0f4e96 (patch)
tree702f4aad21688cc01a3a92d4f2207bf408aa3615 /tools/perf/scripts/python/syscall-counts.py
parentffb91a459c6cacb10972f5dff893fb1292bac85d (diff)
tty: n_tty: fix SIGIO for output
According to fcntl(2), "a SIGIO signal is sent whenever input or output becomes possible on that file descriptor", i.e. after the output buffer was full and now has space for new data. But in fact SIGIO is sent after every write. n_tty_write() should set TTY_DO_WRITE_WAKEUP only when not all data could be written to the buffer. [pjh: Also fixes missed SIGIO if amt written just happens to be [ amount still to write Signed-off-by: Johannes Stezenbach <[email protected]> [pjh: minor patch edits and re-submit] Signed-off-by: Peter Hurley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions