cvs commit: src/sys/kern kern_intr.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Jun 27 19:34:17 PDT 2004
dillon 2004/06/27 19:33:04 PDT
DragonFly src repository
Modified files:
sys/kern kern_intr.c
Log:
Fix three bugs in the livelock code. Fix a minor range error in an
assertion, fix an incorrect livelock wakeup argument type (which could lead
to crashes), and use the cpu timer instead of ticks since a livelock may
prevent ticks from incrementing.
For now set the livelock limit to 50,000 interrupts/sec, which is about
right for a ~600Mhz P3. But what we really need to do is scale it based
on the perceived speed of the system since GiGE is likely able to blow
away 50KI/S.
Tested with: inserting and removing cardbus cards quickly and repeatedly,
which normally locks up a FreeBSD box.
Revision Changes Path
1.16 +42 -22 src/sys/kern/kern_intr.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_intr.c.diff?r1=1.15&r2=1.16&f=u
More information about the Commits
mailing list