cvs commit: src/sys/kern kern_intr.c subr_trap.c

Bruce Evans bde at FreeBSD.org
Wed Oct 18 04:48:10 UTC 2006


bde         2006-10-18 04:48:09 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_intr.c subr_trap.c 
  Log:
  kern_intr.c:
  - Count (scheduling of) software interrupts (SWIs) as SWIs, not as
    hardware interrupts.
  - Don't count (scheduling of) delayed SWIs as interrupts at all, since
    in the delayed case it is expected that there are many more scheduling
    calls than handling calls.  Perhaps all interrupts should be counted
    only when they are handled, but it is only counts of delayed SWIs that
    shouldn never be combined with the other counts.
  
  subr_trap.c:
  - Count (handling of) Asynchronous System Traps (ASTs) as traps, not as
    software interrupts.
  
  Before these changes, the counter for SWIs only counted ASTs, and SWIs
  weren't counted separately, but a subcounter for ASTs alone is less
  needed than for most other exception sources.
  
  4.4BSD-Lite uses the counters for similar things (actually matching
  their names) on its main arches (hp300, ..., !i386) where more of the
  exceptions are in hardware.
  
  Revision  Changes    Path
  1.134     +2 -2      src/sys/kern/kern_intr.c
  1.287     +1 -1      src/sys/kern/subr_trap.c


More information about the cvs-all mailing list