summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1998-07-26 18:15:20 +0000
committerdfr <dfr@FreeBSD.org>1998-07-26 18:15:20 +0000
commit9c96ae361d462080d2a7e5dacf4dfd6fe98aab3e (patch)
tree4d75d45e564073b2de53c02b8cd02cc1e75a754b /sys/vm
parent03ddb15c2b5e111e284e50d715f2b4cc76ed7f60 (diff)
downloadFreeBSD-src-9c96ae361d462080d2a7e5dacf4dfd6fe98aab3e.zip
FreeBSD-src-9c96ae361d462080d2a7e5dacf4dfd6fe98aab3e.tar.gz
Notify pmap when a page is freed on the alpha to allow it to clean up
its emulated modified/referenced bits.
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/pmap.h5
-rw-r--r--sys/vm/vm_page.c6
2 files changed, 9 insertions, 2 deletions
diff --git a/sys/vm/pmap.h b/sys/vm/pmap.h
index 1770c11..1f35a6f 100644
--- a/sys/vm/pmap.h
+++ b/sys/vm/pmap.h
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: pmap.h,v 1.26 1998/01/22 17:30:30 dyson Exp $
+ * $Id: pmap.h,v 1.27 1998/02/01 20:08:39 bde Exp $
*/
/*
@@ -90,6 +90,9 @@ typedef struct pmap_statistics *pmap_statistics_t;
struct proc;
+#ifdef __alpha__
+void pmap_page_is_free __P((vm_page_t m));
+#endif
void pmap_change_wiring __P((pmap_t, vm_offset_t, boolean_t));
void pmap_clear_modify __P((vm_offset_t pa));
void pmap_clear_reference __P((vm_offset_t pa));
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index be0696b..b32229b 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)vm_page.c 7.4 (Berkeley) 5/7/91
- * $Id: vm_page.c,v 1.103 1998/07/11 07:46:14 bde Exp $
+ * $Id: vm_page.c,v 1.104 1998/07/15 04:17:55 bde Exp $
*/
/*
@@ -1117,6 +1117,10 @@ vm_page_freechk_and_unqueue(m)
}
}
+#ifdef __alpha__
+ pmap_page_is_free(m);
+#endif
+
return 1;
}
OpenPOWER on IntegriCloud