diff options
author | dyson <dyson@FreeBSD.org> | 1996-04-03 05:23:44 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1996-04-03 05:23:44 +0000 |
commit | ceb23bccb60c64de9d170e4b901a67f038e021fc (patch) | |
tree | 293823deb47769ff95cf0e675a7ce280e7ad2cf2 /sys/i386 | |
parent | 14009d1ae054998506dbe2ac7d4b3b8d471e0df0 (diff) | |
download | FreeBSD-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.h | 6 |
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; |