summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2021-05-24 03:43:24 +0000
committerthorpej <thorpej@NetBSD.org>2021-05-24 03:43:24 +0000
commitb0101b19b5750a29bb878b2e8a93242e972393c8 (patch)
tree4c980e5dcca72635495af2e6edd49bd9bda2e2a5 /sys/dev
parentebb6e0692507664a060ffe08bca36a87a638436b (diff)
pmap_tlb_shootdown_all_user() can be called in the PV scenario as well
as the forward scenario, for example if a pmap_page_protect() to remove all mappings results in the freeing of a PT page. It therefore needs to do the same reference counting dance as pmap_tlb_shootdown_pv(). Also fix a use-after-free error in pmap_page_protect(). Add / tweak some assertions, and shrink the pmap::pm_count field from long to unsigned int (which gave me a spare unsigned int field for debugging purposes). PR port-alpha/56201.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions