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:
Mark Johnston 2020-01-23 17:18:58 +00:00
parent b94c55a9cb
commit dec6f6358e

View File

@ -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);