From owner-cvs-all Thu May 17 15:43:30 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 6F07237B422; Thu, 17 May 2001 15:43:27 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4HMhR352963; Thu, 17 May 2001 15:43:27 -0700 (PDT) (envelope-from jhb) Message-Id: <200105172243.f4HMhR352963@freefall.freebsd.org> From: John Baldwin Date: Thu, 17 May 2001 15:43:27 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_intr.c src/sys/sys interrupt.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: X-Loop: FreeBSD.ORG jhb 2001/05/17 15:43:26 PDT Modified files: sys/kern kern_intr.c sys/sys interrupt.h Log: - Remove the global ithread_list_lock spin lock in favor of per-ithread sleep locks. - Delay returning from ithread_remove_handler() until we are certain that the interrupt handler being removed has in fact been removed from the ithread. - XXX: There is still a problem in that nothing protects the kernel from adding a new handler while the ithread is running, though with our current architectures this is not a problem. Requested by: gibbs (2) Revision Changes Path 1.55 +31 -38 src/sys/kern/kern_intr.c 1.17 +5 -1 src/sys/sys/interrupt.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message