summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/apic_vector.S
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2004-05-16 22:11:50 +0000
committerpeter <peter@FreeBSD.org>2004-05-16 22:11:50 +0000
commitbe73fb5080c5b41a703ed42590b2a4cb67e1e595 (patch)
tree503f91b843b6bfb3a0c9bc8dfffc840c2cf500a3 /sys/amd64/amd64/apic_vector.S
parent54449ad4e304ed195ced286f0399df738fac6c87 (diff)
downloadFreeBSD-src-be73fb5080c5b41a703ed42590b2a4cb67e1e595.zip
FreeBSD-src-be73fb5080c5b41a703ed42590b2a4cb67e1e595.tar.gz
Kill the LAZYPMAP ifdefs. While they worked, they didn't do anything
to help the AMD cpus (which have a hardware tlb flush filter). I held off to see what the 64 bit Intel cpus did, but it doesn't seem to help much there either. Oh well, store it in the Attic.
Diffstat (limited to 'sys/amd64/amd64/apic_vector.S')
-rw-r--r--sys/amd64/amd64/apic_vector.S15
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/amd64/amd64/apic_vector.S b/sys/amd64/amd64/apic_vector.S
index 2f10e27..55e2c28 100644
--- a/sys/amd64/amd64/apic_vector.S
+++ b/sys/amd64/amd64/apic_vector.S
@@ -321,19 +321,4 @@ IDTVEC(rendezvous)
movl $0, LA_EOI(%rax) /* End Of Interrupt to APIC */
POP_FRAME /* Why not doreti? */
iretq
-
-#ifdef LAZY_SWITCH
-/*
- * Clean up when we lose out on the lazy context switch optimization.
- * ie: when we are about to release a PTD but a cpu is still borrowing it.
- */
- SUPERALIGN_TEXT
-IDTVEC(lazypmap)
- PUSH_FRAME
- call pmap_lazyfix_action
- movq lapic, %rax
- movl $0, LA_EOI(%rax) /* End Of Interrupt to APIC */
- POP_FRAME /* Why not doreti? */
- iretq
-#endif
#endif /* SMP */
OpenPOWER on IntegriCloud