summaryrefslogtreecommitdiffstats
path: root/sys/vm/pmap.h
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1997-12-14 02:11:23 +0000
committerdyson <dyson@FreeBSD.org>1997-12-14 02:11:23 +0000
commit738872cad6b501578d2839e485ca5a73de1bcee5 (patch)
tree03005c15fc08329aab24f55b693fb72f704b6dee /sys/vm/pmap.h
parentacf3f6c34674e4d5895a65c2500aa558ceeac52a (diff)
downloadFreeBSD-src-738872cad6b501578d2839e485ca5a73de1bcee5.zip
FreeBSD-src-738872cad6b501578d2839e485ca5a73de1bcee5.tar.gz
After one of my analysis passes to evaluate methods for SMP TLB mgmt, I
noticed some major enhancements available for UP situations. The number of UP TLB flushes is decreased much more than significantly with these changes. Since a TLB flush appears to cost minimally approx 80 cycles, this is a "nice" enhancement, equiv to eliminating between 40 and 160 instructions per TLB flush. Changes include making sure that kernel threads all use the same PTD, and eliminate unneeded PTD switches at context switch time.
Diffstat (limited to 'sys/vm/pmap.h')
-rw-r--r--sys/vm/pmap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/vm/pmap.h b/sys/vm/pmap.h
index 2c9697a..291cb01 100644
--- a/sys/vm/pmap.h
+++ b/sys/vm/pmap.h
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: pmap.h,v 1.23 1997/08/05 22:07:21 dyson Exp $
+ * $Id: pmap.h,v 1.24 1997/08/05 23:03:24 dyson Exp $
*/
/*
@@ -113,6 +113,7 @@ void pmap_pageable __P((pmap_t, vm_offset_t, vm_offset_t,
boolean_t));
vm_offset_t pmap_phys_address __P((int));
void pmap_pinit __P((pmap_t));
+void pmap_pinit0 __P((pmap_t));
void pmap_protect __P((pmap_t, vm_offset_t, vm_offset_t,
vm_prot_t));
void pmap_qenter __P((vm_offset_t, vm_page_t *, int));
OpenPOWER on IntegriCloud