From owner-cvs-all@FreeBSD.ORG Wed Apr 5 20:43:19 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 B915616A420; Wed, 5 Apr 2006 20:43:19 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 732FA43D46; Wed, 5 Apr 2006 20:43:19 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k35KhJWZ010607; Wed, 5 Apr 2006 20:43:19 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k35KhJr0010606; Wed, 5 Apr 2006 20:43:19 GMT (envelope-from jhb) Message-Id: <200604052043.k35KhJr0010606@repoman.freebsd.org> From: John Baldwin Date: Wed, 5 Apr 2006 20:43:19 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/amd64/amd64 io_apic.c src/sys/i386/i386 io_apic.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 05 Apr 2006 20:43:19 -0000 jhb 2006-04-05 20:43:19 UTC FreeBSD src repository Modified files: sys/amd64/amd64 io_apic.c sys/i386/i386 io_apic.c Log: Cache the value of the lower half of each I/O APIC redirection table entry so that we only have to do an ioapic_write() instead of an ioapic_read() followed by an ioapic_write() every time we mask and unmask level triggered interrupts. This cuts the execution time for these operations roughly in half. Profiled by: Paolo Pisati MFC after: 1 week Revision Changes Path 1.24 +4 -6 src/sys/amd64/amd64/io_apic.c 1.28 +4 -6 src/sys/i386/i386/io_apic.c