Remember to lock user pmap in pmap_extract()
authorvisa <visa@openbsd.org>
Mon, 13 Sep 2021 12:19:10 +0000 (12:19 +0000)
committervisa <visa@openbsd.org>
Mon, 13 Sep 2021 12:19:10 +0000 (12:19 +0000)
commit19d4d0f4462f4a295c788f852362e942acda5d9e
treec5b6620896a4c80102ba0313c939225c76b8e87f
parent7d9d613f638ac6793c54330cd4462987742f1c7f
Remember to lock user pmap in pmap_extract()

pmap_extract() has to lock user pmap to prevent concurrent pruning
of the page table. The kernel pmap is exempt from this because it uses
a fixed page table structure.
sys/arch/mips64/mips64/pmap.c