Date: Mon, 19 Oct 2009 07:17:37 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern tty.c src/sys/sys ttyqueue.h Message-ID: <200910190719.n9J7JIgO018075@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2009-10-19 07:17:37 UTC FreeBSD src repository Modified files: sys/kern tty.c sys/sys ttyqueue.h Log: SVN rev 198223 on 2009-10-19 07:17:37Z by ed Properly set the low watermarks when reducing the baud rate. Now that buffers are deallocated lazily, we should not use tty*q_getsize() to obtain the buffer size to calculate the low watermarks. Doing this may cause the watermark to be placed outside the typical buffer size. This caused some regressions after my previous commit to the TTY code, which allows pseudo-devices to resize the buffers as well. Reported by: yongari, dougb MFC after: 1 week Revision Changes Path 1.332 +2 -2 src/sys/kern/tty.c 1.5 +14 -0 src/sys/sys/ttyqueue.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910190719.n9J7JIgO018075>