kernel - Refactor tty clist code
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 4 Oct 2018 21:37:12 +0000 (14:37 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 4 Oct 2018 22:29:49 +0000 (15:29 -0700)
commit4725869b060b0e647b6c64480a0ce50f64ff23bb
tree3c0c63ebe9f327363e317cbcbb1a37ccd45ccaea
parent2efb75f3055c1746efc358d68dbc2bf526faaf61
kernel - Refactor tty clist code

* Remove all the old cruft, completely rewrite the clist code to use
  a single linear buffer and a FIFO mechanism.

* The linear buffer just uses 16-bit elements in order to record
  TTY_QUOTE along with the character.

* Fixes bug in last commit (lack of global locks around global clist
  caches) by removing the cache entirely.
13 files changed:
sys/bus/u4b/serial/usb_serial.c
sys/dev/misc/syscons/syscons.c
sys/dev/serial/sio/sio.c
sys/kern/tty.c
sys/kern/tty_pty.c
sys/kern/tty_subr.c
sys/net/sl/if_sl.c
sys/netgraph/tty/ng_tty.c
sys/netgraph7/bluetooth/drivers/h4/ng_h4.c
sys/netgraph7/tty/ng_tty.c
sys/platform/vkernel64/platform/console.c
sys/sys/clist.h [deleted file]
sys/sys/tty.h