cvs commit: src/sys/amd64/amd64 io_apic.c src/sys/i386/i386 io_apic.c

John Baldwin jhb at FreeBSD.org
Wed Apr 5 20:43:19 UTC 2006


jhb         2006-04-05 20:43:19 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      io_apic.c 
    sys/i386/i386        io_apic.c 
  Log:
  Cache the value of the lower half of each I/O APIC redirection table entry
  so that we only have to do an ioapic_write() instead of an ioapic_read()
  followed by an ioapic_write() every time we mask and unmask level triggered
  interrupts.  This cuts the execution time for these operations roughly in
  half.
  
  Profiled by:    Paolo Pisati <p.pisati at oltrelinux.com>
  MFC after:      1 week
  
  Revision  Changes    Path
  1.24      +4 -6      src/sys/amd64/amd64/io_apic.c
  1.28      +4 -6      src/sys/i386/i386/io_apic.c


More information about the cvs-src mailing list