From owner-cvs-src@FreeBSD.ORG Mon Sep 15 06:49:19 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 868C016A4BF; Mon, 15 Sep 2003 06:49:19 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECF6243FE5; Mon, 15 Sep 2003 06:49:18 -0700 (PDT) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h8FDnI0U034502; Mon, 15 Sep 2003 06:49:18 -0700 (PDT) (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h8FDnIl4034501; Mon, 15 Sep 2003 06:49:18 -0700 (PDT) Message-Id: <200309151349.h8FDnIl4034501@repoman.freebsd.org> From: Bruce Evans Date: Mon, 15 Sep 2003 06:49:18 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/sio sio.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2003 13:49:19 -0000 bde 2003/09/15 06:49:18 PDT FreeBSD src repository Modified files: sys/dev/sio sio.c Log: Quick fix for a pessimization in rev.1.194. An extra i/o instruction was added to the fast path to support the COM_IIR_RXRDYBUG() case even when that case is not configured. This increased the relative overhead of sio input by almost 25% in the worst case and by 2-3% in the usual case (usually only about 0.2% absolute per port at 115200 bps). The quick fix is to significantly pessimize only the COM_IIR_RXRDYBUG() case. Revision Changes Path 1.405 +7 -2 src/sys/dev/sio/sio.c