cvs commit: src/sys/bus/cam cam_xpt.c src/sys/dev/serial/cy cy.c src/sys/dev/serial/rc rc.c src/sys/dev/serial/sio sio.c src/sys/i386/i386 vm_machdep.c src/sys/i386/isa intr_machdep.c intr_machdep.h src/sys/kern kern_intr.c subr_taskqueue.c ...
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Feb 1 14:41:53 PST 2005
dillon 2005/02/01 14:41:31 PST
DragonFly src repository
Modified files:
sys/bus/cam cam_xpt.c
sys/dev/serial/cy cy.c
sys/dev/serial/rc rc.c
sys/dev/serial/sio sio.c
sys/i386/i386 vm_machdep.c
sys/i386/isa intr_machdep.c intr_machdep.h
sys/kern kern_intr.c subr_taskqueue.c
sys/opencrypto crypto.c
sys/sys interrupt.h systm.h
Log:
Add a intrmask_t pointer to register_int() and register_swi(), and make
the interrupt thread loop set the spl for the duration of the call to the
handler.
Allow interrupt threads to be run with or without a critical section based
on the kern.int_use_crit_section sysctl. The default is to conservatively
run with a critical section for now.
Turning this off will cause cpu usage in interrupts to be properly accounted
for by top, systat, and ps.
Revision Changes Path
1.20 +2 -2 src/sys/bus/cam/cam_xpt.c
1.15 +1 -1 src/sys/dev/serial/cy/cy.c
1.13 +1 -1 src/sys/dev/serial/rc/rc.c
1.22 +1 -1 src/sys/dev/serial/sio/sio.c
1.32 +1 -1 src/sys/i386/i386/vm_machdep.c
1.24 +1 -1 src/sys/i386/isa/intr_machdep.c
1.12 +0 -2 src/sys/i386/isa/intr_machdep.h
1.19 +83 -21 src/sys/kern/kern_intr.c
1.5 +1 -1 src/sys/kern/subr_taskqueue.c
1.7 +1 -1 src/sys/opencrypto/crypto.c
1.9 +2 -2 src/sys/sys/interrupt.h
1.27 +2 -1 src/sys/sys/systm.h
http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/cam_xpt.c.diff?r1=1.19&r2=1.20&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/serial/cy/cy.c.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/serial/rc/rc.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/serial/sio/sio.c.diff?r1=1.21&r2=1.22&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/vm_machdep.c.diff?r1=1.31&r2=1.32&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/i386/isa/intr_machdep.c.diff?r1=1.23&r2=1.24&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/i386/isa/intr_machdep.h.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_intr.c.diff?r1=1.18&r2=1.19&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_taskqueue.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/opencrypto/crypto.c.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/interrupt.h.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/systm.h.diff?r1=1.26&r2=1.27&f=u
More information about the Commits
mailing list