Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jan 2001 20:18:58 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/isa icu_ipl.s
Message-ID:  <200101150418.f0F4Iwx30435@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       2001/01/14 20:18:58 PST

  Modified files:
    sys/i386/isa         icu_ipl.s 
  Log:
  Implement an optimization for INTREN/INTRDIS that bde pointed out last
  time I tinkered around here.  Since INTREN is called from the interrupt
  critical path now, it should not be too expensive.  In this case, we
  look at the bits being changed to decide which 8 bit IO port to write to
  rather than unconditionally writing to both.  I could probably have gone
  further and only done the write if the bits actually changed, but that
  seemed overkill for the usual case in interrupt threads.
  
  [an outb is rather expensive when it has to cross the ISA bus]
  
  Revision  Changes    Path
  1.9       +15 -1     src/sys/i386/isa/icu_ipl.s



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101150418.f0F4Iwx30435>