diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-05-22 22:12:43 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-05-22 22:12:43 +0000 |
commit | bf749462bddab29d6f6e792fbd12a784546e368b (patch) | |
tree | c20472f5630d20297317c5baa7bac8f15719e8d6 /sys | |
parent | 1500330fd3849a08f675ade312385568c6569114 (diff) |
Remove instruction TLB purges for direct mappings that will never have the
X bit set.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/hppa/hppa/pmap.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/hppa/hppa/pmap.c b/sys/arch/hppa/hppa/pmap.c index 9f8d672370c..04b6f9bc2ba 100644 --- a/sys/arch/hppa/hppa/pmap.c +++ b/sys/arch/hppa/hppa/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.153 2010/05/05 19:34:27 kettenis Exp $ */ +/* $OpenBSD: pmap.c,v 1.154 2010/05/22 22:12:42 kettenis Exp $ */ /* * Copyright (c) 1998-2004 Michael Shalayeff @@ -244,7 +244,6 @@ pmap_pde_release(struct pmap *pmap, vaddr_t va, struct vm_page *ptp) pa = VM_PAGE_TO_PHYS(ptp); pdcache(HPPA_SID_KERNEL, pa, PAGE_SIZE); pdtlb(HPPA_SID_KERNEL, pa); - pitlb(HPPA_SID_KERNEL, pa); uvm_pagefree(ptp); } } @@ -733,7 +732,6 @@ pmap_destroy(pmap) pa = VM_PAGE_TO_PHYS(pmap->pm_pdir_pg); pdcache(HPPA_SID_KERNEL, pa, PAGE_SIZE); pdtlb(HPPA_SID_KERNEL, pa); - pitlb(HPPA_SID_KERNEL, pa); uvm_pagefree(pmap->pm_pdir_pg); pmap->pm_pdir_pg = NULL; |