cvs commit: src/sys/i386/isa clock.c src/sys/kern kern_intr.c

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Oct 14 20:27:20 PDT 2005


dillon      2005/10/14 20:23:01 PDT

DragonFly src repository

  Modified files:
    sys/i386/isa         clock.c 
    sys/kern             kern_intr.c 
  Log:
  Implement an emergency interrupt polling feature.  When enabled, most
  interrupt handlers installed on the system will be polled at the specified
  frequency.  The exceptions are the 8254 clock and ATA interrupts (ATA can
  blow up if it gets a fake interrupt, and the 8254 needs to work for systimers
  to work which the poller is based on).  These variables may be specified
  in /boot/loader.conf and/or adjusted on a live system with sysctl.
  
  kern.emergency_intr_enable	(default 0 = off)
  kern.emergency_intr_freq	(default 10 = 10 hz)
  
  THIS FEATURE IS NOT DESIGNED TO BE USED ON PRODUCTION SYSTEMS.  It should be
  used only for kernel development, debugging, and testing, to get devices to
  work that would otherwise not work due to messed up interrupt routing, or if
  you have no other choice.  This feature has VERY HIGH OVERHEAD, as a dozen or
  more service routines may be called on each tick.  The feature can be
  life-safer e.g. on machines that would otherwise not work at all with
  DragonFly, to get them working well enough that they can communicate with
  the outside world.  As mentioned already, the primary use of this feature
  is to aid in kernel development.
  
  Revision  Changes    Path
  1.34      +4 -4      src/sys/i386/isa/clock.c
  1.26      +133 -1    src/sys/kern/kern_intr.c


http://www.dragonflybsd.org/cvsweb/src/sys/i386/isa/clock.c.diff?r1=1.33&r2=1.34&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_intr.c.diff?r1=1.25&r2=1.26&f=u





More information about the Commits mailing list