Date: Tue, 20 Feb 2001 02:25:29 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> 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 Message-ID: <200102201025.f1KAPTa08045@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102201025.f1KAPTa08045>