From owner-cvs-all Tue Feb 20 2:25:38 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 CB65837B401; Tue, 20 Feb 2001 02:25:29 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1KAPTa08045; Tue, 20 Feb 2001 02:25:29 -0800 (PST) (envelope-from jhb) Message-Id: <200102201025.f1KAPTa08045@freefall.freebsd.org> From: John Baldwin Date: Tue, 20 Feb 2001 02:25:29 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha interrupt.c src/sys/i386/isa ithread.c src/sys/kern kern_intr.c src/sys/sys interrupt.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jhb 2001/02/20 02:25:29 PST Modified files: sys/alpha/alpha interrupt.c sys/i386/isa ithread.c sys/kern kern_intr.c sys/sys interrupt.h Log: - Add a new ithread_schedule() function to do the bulk of the work of scheduling an interrupt thread to run when needed. This has the side effect of enabling support for entropy gathering from interrupts on all architectures. - Change the software interrupt and x86 and alpha hardware interrupt code to use ithread_schedule() for most of their processing when scheduling an interrupt to run. - Remove the pesky Warning message about interrupt threads having entropy enabled. I'm not sure why I put that in there in the first place. - Add more error checking for parameters and change some cases that returned EINVAL to panic on failure instead via KASSERT(). - Instead of doing a documented evil hack of setting the P_NOLOAD flag on every interrupt thread whose pri was SWI_CLOCK, set the flag explicity for clk_ithd's proc during start_softintr(). Revision Changes Path 1.42 +4 -39 src/sys/alpha/alpha/interrupt.c 1.17 +8 -53 src/sys/i386/isa/ithread.c 1.41 +102 -48 src/sys/kern/kern_intr.c 1.14 +3 -2 src/sys/sys/interrupt.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message