DragonFly commits List (threaded) for 2004-06
cvs commit: src/sys/kern kern_intr.c
dillon 2004/06/27 19:33:04 PDT
DragonFly src repository
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
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