diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2010-09-06 17:36:50 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2010-09-06 17:36:50 +0000 |
commit | 9a6052c92f82f7e67d5eaf76b114d786abbbe3be (patch) | |
tree | 2a283c34446ea0edc4b3312a01c5903680816291 /sys/arch/amd64/include | |
parent | 22f4d14f677ab492dfa5dd810adc92ce0415b7af (diff) |
Stop sending so many superfluous IPIs: zero out pm_cpus in pmap_create(),
don't set the current cpu's bit in pmap_activate() unless we actually
set %cr3, and add a DIAGNOSTIC printf to pmap_destroy() to catch if we
ever stop tracking them accurately again. Also, GC the unused pm_flags
member.
ok deraadt@, oga@
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r-- | sys/arch/amd64/include/pmap.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/amd64/include/pmap.h b/sys/arch/amd64/include/pmap.h index 04929cb9072..ece79862e79 100644 --- a/sys/arch/amd64/include/pmap.h +++ b/sys/arch/amd64/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.33 2010/05/13 19:27:24 oga Exp $ */ +/* $OpenBSD: pmap.h,v 1.34 2010/09/06 17:36:49 guenther Exp $ */ /* $NetBSD: pmap.h,v 1.1 2003/04/26 18:39:46 fvdl Exp $ */ /* @@ -318,8 +318,6 @@ struct pmap { /* pointer to a PTP in our pmap */ struct pmap_statistics pm_stats; /* pmap stats (lck by object lock) */ - int pm_flags; /* see below */ - union descriptor *pm_ldt; /* user-set LDT */ int pm_ldt_len; /* number of LDT entries */ int pm_ldt_sel; /* LDT selector */ |