sparc64: Busy the TSB page before freeing it in pmap_release().
This is now required by vm_page_free(). PR: 243534 Reported and tested by: Michael Reim <kraileth@elderlinux.org>
This commit is contained in:
parent
b94c55a9cb
commit
dec6f6358e
@ -1302,6 +1302,7 @@ pmap_release(pmap_t pm)
|
|||||||
m = TAILQ_FIRST(&obj->memq);
|
m = TAILQ_FIRST(&obj->memq);
|
||||||
m->md.pmap = NULL;
|
m->md.pmap = NULL;
|
||||||
vm_page_unwire_noq(m);
|
vm_page_unwire_noq(m);
|
||||||
|
vm_page_xbusy(m);
|
||||||
vm_page_free_zero(m);
|
vm_page_free_zero(m);
|
||||||
}
|
}
|
||||||
VM_OBJECT_WUNLOCK(obj);
|
VM_OBJECT_WUNLOCK(obj);
|
||||||
|
Loading…
Reference in New Issue
Block a user