FreeBSD/sys/arm/arm/pmap-v4.c
/*
 *	Clear the modify bits on the specified physical page.
 */
Clear the modify bits on the specified physical page.
Clear the modify bits on the specified physical page .
void
pmap_clear_modify(vm_page_t m)
{
	KASSERT((m->oflags & VPO_UNMANAGED) == 0,
	    ("pmap_clear_modify: page %p is not managed", m));
	VM_OBJECT_ASSERT_WLOCKED(m->object);
	KASSERT(!vm_page_xbusied(m),
	    ("pmap_clear_modify: page %p is exclusive busied", m));
	if ((m->aflags & PGA_WRITEABLE) == 0)
		return;
	if (m->md.pvh_attrs & PVF_MOD)
		pmap_clearbit(m, PVF_MOD);
}
void pmap_clear_modify ( vm_page_t m ) { KASSERT ( ( m -> oflags & VPO_UNMANAGED ) == 0 , ( " " , m ) ) ; VM_OBJECT_ASSERT_WLOCKED ( m -> object ) ; KASSERT ( ! vm_page_xbusied ( m ) , ( " " , m ) ) ; if ( ( m -> aflags & PGA_WRITEABLE ) == 0 ) return ; if ( m -> md . pvh_attrs & PVF_MOD ) pmap_clearbit ( m , PVF_MOD ) ; }
Clear the modify bits on the specified physical page.
Clear the modify bits on the specified physical page .
/*
	 * If the page is not PGA_WRITEABLE, then no mappings can be modified.
	 * If the object containing the page is locked and the page is not
	 * exclusive busied, then PGA_WRITEABLE cannot be concurrently set.
	 */