- Kill the pv_flags member of the alpha mdpage since it stop being used

in rev 1.61 of pmap.c.
- Now that pmap_page_is_free() is empty and since it is just a hack for
  the Alpha pmap, remove it.
This commit is contained in:
John Baldwin 2003-04-10 18:42:06 +00:00
parent 854e7ea788
commit d8fed0f0f2
4 changed files with 0 additions and 22 deletions

View File

@ -633,7 +633,6 @@ pmap_init(phys_start, phys_end)
m = &vm_page_array[i];
TAILQ_INIT(&m->md.pv_list);
m->md.pv_list_count = 0;
m->md.pv_flags = 0;
}
/*
@ -2901,19 +2900,6 @@ pmap_clear_modify(vm_page_t m)
}
}
/*
* pmap_page_is_free:
*
* Called when a page is freed to allow pmap to clean up
* any extra state associated with the page. In this case
* clear modified/referenced bits.
*/
void
pmap_page_is_free(vm_page_t m)
{
m->md.pv_flags = 0;
}
/*
* pmap_clear_reference:
*

View File

@ -161,7 +161,6 @@ struct pv_entry;
struct md_page {
int pv_list_count;
int pv_flags;
TAILQ_HEAD(,pv_entry) pv_list;
};

View File

@ -96,9 +96,6 @@ extern vm_offset_t kernel_vm_end;
extern int pmap_pagedaemon_waken;
#ifdef __alpha__
void pmap_page_is_free(vm_page_t m);
#endif
void pmap_change_wiring(pmap_t, vm_offset_t, boolean_t);
void pmap_clear_modify(vm_page_t m);
void pmap_clear_reference(vm_page_t m);

View File

@ -1098,10 +1098,6 @@ vm_page_free_toq(vm_page_t m)
*/
if (m->flags & PG_UNMANAGED) {
m->flags &= ~PG_UNMANAGED;
} else {
#ifdef __alpha__
pmap_page_is_free(m);
#endif
}
if (m->hold_count != 0) {