Peter Hurley
|
addaebccf6
n_tty: Use separate head and tail indices for echo_buf
|
12 years ago |
Peter Hurley
|
ae56f33041
n_tty: Remove unused echo_overrun field
|
12 years ago |
Peter Hurley
|
9114fe8ccf
tty: Remove private constant from global namespace
|
12 years ago |
Peter Hurley
|
a7c8d58c79
tty: Fix unsafe vt paste_selection()
|
12 years ago |
Peter Hurley
|
47aa658a01
tty: Merge __tty_flush_buffer() into lone call site
|
12 years ago |
Peter Hurley
|
0f56bd2f6a
tty: Use non-atomic state to signal flip buffer flush pending
|
12 years ago |
Peter Hurley
|
8c1fb49ba1
tty: Avoid false-sharing flip buffer ptrs
|
12 years ago |
Peter Hurley
|
d7a68be4f2
tty: Only perform flip buffer flush from tty_buffer_flush()
|
12 years ago |
Peter Hurley
|
e9975fdec0
tty: Ensure single-threaded flip buffer consumer with mutex
|
12 years ago |
Peter Hurley
|
e8437d7ecb
tty: Make driver-side flip buffers lockless
|
12 years ago |
Peter Hurley
|
7bfe0b7116
tty: Track flip buffer memory limit atomically
|
12 years ago |
Peter Hurley
|
7391ee1695
tty: Simplify flip buffer list with 0-sized sentinel
|
12 years ago |
Peter Hurley
|
809850b7a5
tty: Use lockless flip buffer free list
|
12 years ago |
Peter Hurley
|
2cf7b67e87
tty: Use generic names for flip buffer list cursors
|
12 years ago |
Peter Hurley
|
11b9faa44d
tty: Merge tty_buffer_find() into tty_buffer_alloc()
|
12 years ago |
Peter Hurley
|
9dd5139f97
tty: Factor flip buffer initialization into helper function
|
12 years ago |
Peter Hurley
|
1cef50e317
tty: Fix flip buffer free list
|
12 years ago |
Peter Hurley
|
1fc359fc3e
tty: Compute flip buffer ptrs
|
12 years ago |
Peter Hurley
|
f0f947c124
n_tty: Queue buffer work on any available cpu
|
12 years ago |
Peter Hurley
|
3afb1b394a
n_tty: Special case pty flow control
|
12 years ago |
Peter Hurley
|
ee0bab83ce
n_tty: Move n_tty_write_wakeup() to avoid forward declaration
|
12 years ago |
Peter Hurley
|
6367ca72f1
n_tty: Factor throttle/unthrottle into helper functions
|
12 years ago |
Peter Hurley
|
9a4aec2dd5
n_tty: Move chars_in_buffer() to factor throttle/unthrottle
|
12 years ago |
Peter Hurley
|
d8c1f929aa
tty: Only guarantee termios read safety for throttle/unthrottle
|
12 years ago |
Peter Hurley
|
fb7aa03db6
n_tty: Separate buffer indices to prevent cache-line sharing
|
12 years ago |
Peter Hurley
|
f95499c303
n_tty: Don't wait for buffer work in read() loop
|
12 years ago |
Peter Hurley
|
d1913e3916
n_tty: Fix type mismatches in receive_buf raw copy
|
12 years ago |
Peter Hurley
|
6f9b028a8f
n_tty: Reset lnext if canonical mode changes
|
12 years ago |
Peter Hurley
|
6d76bd2618
n_tty: Make N_TTY ldisc receive path lockless
|
12 years ago |
Peter Hurley
|
a73d3d6987
n_tty: Replace canon_data with index comparison
|
12 years ago |