Remove unused fields from the pmap.
This commit is contained in:
parent
0a9458250a
commit
6fe30ff3f2
@ -698,10 +698,8 @@ pmap_pinit(struct pmap *pmap)
|
||||
{
|
||||
int i;
|
||||
|
||||
pmap->pm_flags = 0;
|
||||
for (i = 0; i < 5; i++)
|
||||
pmap->pm_rid[i] = pmap_allocate_rid();
|
||||
pmap->pm_ptphint = NULL;
|
||||
pmap->pm_active = 0;
|
||||
TAILQ_INIT(&pmap->pm_pvlist);
|
||||
bzero(&pmap->pm_stats, sizeof pmap->pm_stats);
|
||||
|
@ -72,10 +72,8 @@ struct md_page {
|
||||
struct pmap {
|
||||
TAILQ_HEAD(,pv_entry) pm_pvlist; /* list of mappings in pmap */
|
||||
u_int32_t pm_rid[5]; /* base RID for pmap */
|
||||
int pm_flags; /* pmap flags */
|
||||
int pm_active; /* active flag */
|
||||
struct pmap_statistics pm_stats; /* pmap statistics */
|
||||
struct vm_page *pm_ptphint; /* pmap ptp hint */
|
||||
};
|
||||
|
||||
typedef struct pmap *pmap_t;
|
||||
|
Loading…
x
Reference in New Issue
Block a user