From owner-cvs-all Sun Jan 14 20:19:19 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E970A37B400; Sun, 14 Jan 2001 20:18:58 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0F4Iwx30435; Sun, 14 Jan 2001 20:18:58 -0800 (PST) (envelope-from peter) Message-Id: <200101150418.f0F4Iwx30435@freefall.freebsd.org> From: Peter Wemm Date: Sun, 14 Jan 2001 20:18:58 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/isa icu_ipl.s X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG peter 2001/01/14 20:18:58 PST Modified files: sys/i386/isa icu_ipl.s Log: Implement an optimization for INTREN/INTRDIS that bde pointed out last time I tinkered around here. Since INTREN is called from the interrupt critical path now, it should not be too expensive. In this case, we look at the bits being changed to decide which 8 bit IO port to write to rather than unconditionally writing to both. I could probably have gone further and only done the write if the bits actually changed, but that seemed overkill for the usual case in interrupt threads. [an outb is rather expensive when it has to cross the ISA bus] Revision Changes Path 1.9 +15 -1 src/sys/i386/isa/icu_ipl.s To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message