Notify pmap when a page is freed on the alpha to allow it to clean up
its emulated modified/referenced bits.
This commit is contained in:
parent
c99399cccd
commit
56e7ede1c4
@ -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));
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user