summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1996-04-03 05:23:44 +0000
committerdyson <dyson@FreeBSD.org>1996-04-03 05:23:44 +0000
commitceb23bccb60c64de9d170e4b901a67f038e021fc (patch)
tree293823deb47769ff95cf0e675a7ce280e7ad2cf2 /sys/i386
parent14009d1ae054998506dbe2ac7d4b3b8d471e0df0 (diff)
downloadFreeBSD-src-ceb23bccb60c64de9d170e4b901a67f038e021fc.zip
FreeBSD-src-ceb23bccb60c64de9d170e4b901a67f038e021fc.tar.gz
Fixed a problem that the UPAGES of a process were being run down
in a suboptimal manner. I had also noticed some panics that appeared to be at least superficially caused by this problem. Also, included are some minor mods to support more general handling of page table page faulting. More details in a future commit.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/include/pmap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/include/pmap.h b/sys/i386/include/pmap.h
index 388eb99..3f54f18 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.33 1996/02/04 21:20:53 davidg Exp $
+ * $Id: pmap.h,v 1.34 1996/02/25 03:02:53 dyson Exp $
*/
#ifndef _MACHINE_PMAP_H_
@@ -52,6 +52,7 @@
typedef unsigned int *pd_entry_t;
typedef unsigned int *pt_entry_t;
+struct vm_map;
/*
* NKPDE controls the virtual space of the kernel, what ever is left, minus
@@ -145,11 +146,10 @@ pmap_kextract(vm_offset_t va)
struct pmap {
pd_entry_t *pm_pdir; /* KVA of page directory */
- boolean_t pm_pdchanged; /* pdir changed */
short pm_dref; /* page directory ref count */
short pm_count; /* pmap reference count */
struct pmap_statistics pm_stats; /* pmap statistics */
- long pm_ptpages; /* more stats: PT pages */
+ struct vm_map *pm_map; /* map that owns this pmap */
};
typedef struct pmap *pmap_t;
OpenPOWER on IntegriCloud