DragonFly BSD
DragonFly commits List (threaded) for 2004-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/kern kern_intr.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 27 Jun 2004 19:33:04 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]