diff options
author | 2016-09-16 13:43:41 +0000 | |
---|---|---|
committer | 2016-09-16 13:43:41 +0000 | |
commit | 98864f589939db0b6582c627876d85ceba87df74 (patch) | |
tree | 3063be471a8d3a5c3f957dec84824c51e290db4a /sys/net/route.c | |
parent | Use 'umount -f' so failing to umount root does not blow up install/upgrade (diff) | |
download | wireguard-openbsd-98864f589939db0b6582c627876d85ceba87df74.tar.xz wireguard-openbsd-98864f589939db0b6582c627876d85ceba87df74.zip |
Swap watermarks from high (4096) to low (128) when we get full buffers
into the read callback several times in succession; swap back when we
see empty buffers several times. This hopefully limits how much programs
that print a lot for a long period can monopolize tmux (like large, fast
compiling), without penalizing programs that print a lot briefly (like
most curses applications). Helps a lot for me, the actual numbers may
need tweaking later.
Diffstat (limited to 'sys/net/route.c')
0 files changed, 0 insertions, 0 deletions