diff options
author | peter <peter@FreeBSD.org> | 2001-01-15 04:18:58 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-01-15 04:18:58 +0000 |
commit | 068a9ad88f4e55a2e766999e2f3322d780a660be (patch) | |
tree | 99c17248755aa88c679d108265336db3f33c20f6 /release | |
parent | e2baa95c06580714e09a865e2a018fa924bb5543 (diff) | |
download | FreeBSD-src-068a9ad88f4e55a2e766999e2f3322d780a660be.zip FreeBSD-src-068a9ad88f4e55a2e766999e2f3322d780a660be.tar.gz |
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]
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions