From owner-cvs-all@FreeBSD.ORG Thu Dec 25 14:14:26 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49BE016A4CE; Thu, 25 Dec 2003 14:14:26 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86DEF43D5A; Thu, 25 Dec 2003 14:14:25 -0800 (PST) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id hBPMEP0B018656; Thu, 25 Dec 2003 14:14:25 -0800 (PST) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id hBPMEPa7018655; Thu, 25 Dec 2003 14:14:25 -0800 (PST) (envelope-from phk) Message-Id: <200312252214.hBPMEPa7018655@repoman.freebsd.org> From: Poul-Henning Kamp Date: Thu, 25 Dec 2003 14:14:25 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/pci if_sis.c if_sisreg.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2003 22:14:26 -0000 phk 2003/12/25 14:14:25 PST FreeBSD src repository Modified files: sys/pci if_sis.c if_sisreg.h Log: Vastly improve performance of IRQ handling on stopped interfaces with this driver by introducing a flag saying we already stopped the device. On my Soekris net4801, this took a ping -i 0.001 from spending 80% of time in interrupt handling to 10% (approx numbers). This was a particular problem for the net4801 because the tree interfaces share the same interrupt, but it would be a problem for any configuration where an unused if_sis interface shares an interrupt with a busy device. Other drivers may have similar problems. Thanks to: Luigi Revision Changes Path 1.93 +4 -0 src/sys/pci/if_sis.c 1.26 +1 -0 src/sys/pci/if_sisreg.h