cvs commit: src/sys/kern kern_poll.c src/sys/net if_var.h netisr.c netisr.h
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Jun 27 12:40:52 PDT 2004
dillon 2004/06/27 12:40:14 PDT
DragonFly src repository
Modified files:
sys/kern kern_poll.c
sys/net if_var.h netisr.c netisr.h
Log:
The schednetisr() routine is supposed to be MP and interrupt safe, but wasn't
because it allocated its messages. Instead of allocating a message use a
fixed message in the netisr structure.
Get rid of #ifdef SMP/#error. DEVICE_POLLING now works on SMP builds.
Implement an emergency polling enable function to try to keep the system
operational in a degraded state if interrupt routing is blown. NOTE: only
vr0 uses the feature at the moment, and DEVICE_POLLING must be enabled.
Revision Changes Path
1.13 +20 -37 src/sys/kern/kern_poll.c
1.12 +1 -0 src/sys/net/if_var.h
1.18 +53 -13 src/sys/net/netisr.c
1.18 +2 -1 src/sys/net/netisr.h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_poll.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/if_var.h.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/netisr.c.diff?r1=1.17&r2=1.18&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/netisr.h.diff?r1=1.17&r2=1.18&f=u
More information about the Commits
mailing list