From owner-cvs-src-old@FreeBSD.ORG Mon Oct 19 07:19:18 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D36B61065672 for ; Mon, 19 Oct 2009 07:19:18 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 495928FC13 for ; Mon, 19 Oct 2009 07:19:18 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n9J7JI2C018076 for ; Mon, 19 Oct 2009 07:19:18 GMT (envelope-from ed@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n9J7JIgO018075 for cvs-src-old@freebsd.org; Mon, 19 Oct 2009 07:19:18 GMT (envelope-from ed@repoman.freebsd.org) Message-Id: <200910190719.n9J7JIgO018075@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ed@repoman.freebsd.org using -f From: Ed Schouten Date: Mon, 19 Oct 2009 07:17:37 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern tty.c src/sys/sys ttyqueue.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2009 07:19:18 -0000 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