Date: Sun, 21 Jan 2001 11:25:08 -0800 (PST) From: Jake Burkholder <jake@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha interrupt.c mp_machdep.c src/sys/alpha/include cpu.h globaldata.h src/sys/dev/usb ohci.c uhci.c usbdi.c src/sys/dev/vinum vinumhdr.h vinummemory.c src/sys/i386/i386 exception.s genassym.c mp_machdep.c trap.c ... Message-ID: <200101211925.f0LJP8k95687@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jake 2001/01/21 11:25:08 PST Modified files: sys/alpha/alpha interrupt.c mp_machdep.c sys/alpha/include cpu.h globaldata.h sys/dev/usb ohci.c uhci.c usbdi.c sys/dev/vinum vinumhdr.h vinummemory.c sys/i386/i386 exception.s genassym.c mp_machdep.c trap.c vm86bios.s sys/i386/include cpu.h globaldata.h sys/i386/isa apic_vector.s icu_vector.s intr_machdep.c ipl.s sys/ia64/ia64 interrupt.c mp_machdep.c sys/ia64/include cpu.h globaldata.h sys/kern kern_fork.c kern_malloc.c sys/sys proc.h Log: Make intr_nesting_level per-process, rather than per-cpu. Setup interrupt threads to run with it always >= 1, so that malloc can detect M_WAITOK from "interrupt" context. This is also necessary in order to context switch from sched_ithd() directly. Reviewed By: peter Revision Changes Path 1.34 +7 -7 src/sys/alpha/alpha/interrupt.c 1.8 +2 -2 src/sys/alpha/alpha/mp_machdep.c 1.21 +2 -4 src/sys/alpha/include/cpu.h 1.5 +1 -2 src/sys/alpha/include/globaldata.h 1.49 +2 -2 src/sys/dev/usb/ohci.c 1.56 +2 -2 src/sys/dev/usb/uhci.c 1.45 +2 -2 src/sys/dev/usb/usbdi.c 1.22 +2 -2 src/sys/dev/vinum/vinumhdr.h 1.25 +2 -2 src/sys/dev/vinum/vinummemory.c 1.79 +1 -6 src/sys/i386/i386/exception.s 1.102 +2 -2 src/sys/i386/i386/genassym.c 1.139 +4 -2 src/sys/i386/i386/mp_machdep.c 1.166 +5 -5 src/sys/i386/i386/trap.c 1.24 +1 -2 src/sys/i386/i386/vm86bios.s 1.55 +2 -2 src/sys/i386/include/cpu.h 1.20 +1 -3 src/sys/i386/include/globaldata.h 1.64 +11 -5 src/sys/i386/isa/apic_vector.s 1.26 +7 -3 src/sys/i386/isa/icu_vector.s 1.46 +2 -1 src/sys/i386/isa/intr_machdep.c 1.44 +1 -4 src/sys/i386/isa/ipl.s 1.6 +5 -3 src/sys/ia64/ia64/interrupt.c 1.6 +2 -2 src/sys/ia64/ia64/mp_machdep.c 1.8 +2 -2 src/sys/ia64/include/cpu.h 1.4 +1 -2 src/sys/ia64/include/globaldata.h 1.92 +2 -1 src/sys/kern/kern_fork.c 1.78 +3 -2 src/sys/kern/kern_malloc.c 1.140 +2 -1 src/sys/sys/proc.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?200101211925.f0LJP8k95687>