summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/pmap.h
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1996-10-12 21:35:25 +0000
committerdyson <dyson@FreeBSD.org>1996-10-12 21:35:25 +0000
commit57b4eae0a1b560daffdf0c095a7bcc36bc137858 (patch)
tree1514d1dde20f9ca659b86662c3565290d775a93e /sys/i386/include/pmap.h
parent01549fd11d3bc0ad90ac3bf29fa51ab279360b55 (diff)
downloadFreeBSD-src-57b4eae0a1b560daffdf0c095a7bcc36bc137858.zip
FreeBSD-src-57b4eae0a1b560daffdf0c095a7bcc36bc137858.tar.gz
Performance optimizations. One of which was meant to go in before the
previous snap. Specifically, kern_exit and kern_exec now makes a call into the pmap module to do a very fast removal of pages from the address space. Additionally, the pmap module now updates the PG_MAPPED and PG_WRITABLE flags. This is an optional optimization, but helpful on the X86.
Diffstat (limited to 'sys/i386/include/pmap.h')
-rw-r--r--sys/i386/include/pmap.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/i386/include/pmap.h b/sys/i386/include/pmap.h
index 03e58d5..78e335a 100644
--- a/sys/i386/include/pmap.h
+++ b/sys/i386/include/pmap.h
@@ -42,7 +42,7 @@
*
* from: hp300: @(#)pmap.h 7.2 (Berkeley) 12/16/90
* from: @(#)pmap.h 7.4 (Berkeley) 5/12/91
- * $Id: pmap.h,v 1.43 1996/09/08 16:57:45 dyson Exp $
+ * $Id: pmap.h,v 1.44 1996/10/12 20:36:04 bde Exp $
*/
#ifndef _MACHINE_PMAP_H_
@@ -198,7 +198,9 @@ typedef struct pv_entry {
pmap_t pv_pmap; /* pmap where mapping lies */
vm_offset_t pv_va; /* virtual address for mapping */
TAILQ_ENTRY(pv_entry) pv_list;
+#if PMAP_PVLIST
TAILQ_ENTRY(pv_entry) pv_plist;
+#endif
vm_page_t pv_ptem; /* VM page for pte */
} *pv_entry_t;
OpenPOWER on IntegriCloud