diff options
author | jake <jake@FreeBSD.org> | 2002-03-17 01:53:51 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2002-03-17 01:53:51 +0000 |
commit | 0fa4622b6586ab2df8824be20c60990998953acd (patch) | |
tree | 3a2c7fd64304cf4290d353c94f7827bbfbb0a87b /sys/sparc64 | |
parent | ab433ce9315248a8f326229470d63dddee8ff950 (diff) | |
download | FreeBSD-src-0fa4622b6586ab2df8824be20c60990998953acd.zip FreeBSD-src-0fa4622b6586ab2df8824be20c60990998953acd.tar.gz |
Don't demap the requested page from the tlb in pmap_kenter or pmap_kremove,
even on the local cpu. These are no longer used unsafely in MI code, and
the MD code has been adjusted to compensate.
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/sparc64/pmap.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/sparc64/sparc64/pmap.c b/sys/sparc64/sparc64/pmap.c index fcc0405..8efc097 100644 --- a/sys/sparc64/sparc64/pmap.c +++ b/sys/sparc64/sparc64/pmap.c @@ -675,8 +675,6 @@ pmap_kenter(vm_offset_t va, vm_offset_t pa) tp = tsb_kvtotte(va); CTR4(KTR_PMAP, "pmap_kenter: va=%#lx pa=%#lx tp=%p data=%#lx", va, pa, tp, tp->tte_data); - if ((tp->tte_data & TD_V) != 0) - tlb_page_demap(TLB_DTLB, TLB_CTX_KERNEL, va); *tp = tte; } @@ -698,8 +696,6 @@ pmap_kenter_flags(vm_offset_t va, vm_offset_t pa, u_long flags) tp = tsb_kvtotte(va); CTR4(KTR_PMAP, "pmap_kenter_flags: va=%#lx pa=%#lx tp=%p data=%#lx", va, pa, tp, tp->tte_data); - if ((tp->tte_data & TD_V) != 0) - tlb_page_demap(TLB_DTLB, TLB_CTX_KERNEL, va); *tp = tte; } @@ -728,7 +724,6 @@ pmap_kremove(vm_offset_t va) atomic_clear_long(&tp->tte_data, TD_V); tp->tte_vpn = 0; tp->tte_data = 0; - tlb_page_demap(TLB_DTLB, TLB_CTX_KERNEL, va); } /* |