PERFORCE change 28719 for review
John Baldwin
jhb at FreeBSD.org
Thu Apr 10 11:30:34 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=28719
Change 28719 by jhb at jhb_laptop on 2003/04/10 11:30:00
pmap_page_is_free() doesn't do anything on alpha anymore and is an
alpha-only function, so kill it entirely.
Affected files ...
.. //depot/projects/smpng/sys/alpha/alpha/pmap.c#43 edit
.. //depot/projects/smpng/sys/vm/pmap.h#16 edit
.. //depot/projects/smpng/sys/vm/vm_page.c#33 edit
Differences ...
==== //depot/projects/smpng/sys/alpha/alpha/pmap.c#43 (text+ko) ====
@@ -2901,20 +2901,6 @@
}
/*
- * 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)
-{
-
- /* XXX: Do we have any PV entries left to set FO[ERW] on? */
-}
-
-/*
* pmap_clear_reference:
*
* Clear the reference bit on the specified physical page.
==== //depot/projects/smpng/sys/vm/pmap.h#16 (text+ko) ====
@@ -96,9 +96,6 @@
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);
==== //depot/projects/smpng/sys/vm/vm_page.c#33 (text+ko) ====
@@ -1098,10 +1098,6 @@
*/
if (m->flags & PG_UNMANAGED) {
m->flags &= ~PG_UNMANAGED;
- } else {
-#ifdef __alpha__
- pmap_page_is_free(m);
-#endif
}
if (m->hold_count != 0) {
More information about the p4-projects
mailing list