summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2017-01-02 07:41:19 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2017-01-02 07:41:19 +0000
commit30d0abca5928210ae7660763e4ed5998496db623 (patch)
treeaadeb60dfacb0e885e0b8354682462fd2af705e7
parent0b9f84df0b042b838936f3f490befffc83bbb980 (diff)
delete obsolete (disabled) pool_cache_invalidate. pool caches were removed
many years ago, and the just reimported version doesn't cache constructed objects. from Nick Gonella
-rw-r--r--sys/arch/amd64/amd64/pmap.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/amd64/amd64/pmap.c b/sys/arch/amd64/amd64/pmap.c
index ec1c99b7e60..dbc8c1a757c 100644
--- a/sys/arch/amd64/amd64/pmap.c
+++ b/sys/arch/amd64/amd64/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.102 2016/09/17 07:37:57 mlarkin Exp $ */
+/* $OpenBSD: pmap.c,v 1.103 2017/01/02 07:41:18 tedu Exp $ */
/* $NetBSD: pmap.c,v 1.3 2003/05/08 18:13:13 thorpej Exp $ */
/*
@@ -2320,11 +2320,6 @@ pmap_growkernel(vaddr_t maxkvaddr)
&kpm->pm_pdir[PDIR_SLOT_KERN + old],
newpdes * sizeof (pd_entry_t));
}
-
- /* Invalidate the PDP cache. */
-#if 0
- pool_cache_invalidate(&pmap_pdp_cache);
-#endif
}
pmap_maxkvaddr = maxkvaddr;
splx(s);