summaryrefslogtreecommitdiffstats
path: root/sys/alpha/include
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2001-07-24 07:13:07 +0000
committerdfr <dfr@FreeBSD.org>2001-07-24 07:13:07 +0000
commitf8df84f8c525a08cf5d52a763ebe4685b7d3ebfd (patch)
tree009e3da4b45b743b1f15b9eb4bf59010f382c151 /sys/alpha/include
parente2364a508ff5d03a84eb5aebb0371980cc4a340e (diff)
downloadFreeBSD-src-f8df84f8c525a08cf5d52a763ebe4685b7d3ebfd.zip
FreeBSD-src-f8df84f8c525a08cf5d52a763ebe4685b7d3ebfd.tar.gz
Simplify the implementation of pmap_emulate_reference(). The new version
simply manipulates the pte which faulted instead of traversing the mapping list for that page. This makes it possible to complete the trap without needing locks and incidentally improves the accuracy of some statistics used by the VM system.
Diffstat (limited to 'sys/alpha/include')
-rw-r--r--sys/alpha/include/pmap.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/alpha/include/pmap.h b/sys/alpha/include/pmap.h
index 886627c..055ea36 100644
--- a/sys/alpha/include/pmap.h
+++ b/sys/alpha/include/pmap.h
@@ -165,15 +165,11 @@ struct md_page {
TAILQ_HEAD(,pv_entry) pv_list;
};
-#define PV_TABLE_MOD 0x01 /* modified */
-#define PV_TABLE_REF 0x02 /* referenced */
-
struct pmap {
pt_entry_t *pm_lev1; /* KVA of lev0map */
vm_object_t pm_pteobj; /* Container for pte's */
TAILQ_HEAD(,pv_entry) pm_pvlist; /* list of mappings in pmap */
int pm_count; /* reference count */
- int pm_flags; /* pmap flags */
u_int32_t pm_active; /* active cpus */
struct {
u_int32_t asn:8; /* address space number */
OpenPOWER on IntegriCloud