When shooting pages in the KVA range, all pmaps have the page mapped,
authorguenther <guenther@openbsd.org>
Wed, 12 Sep 2018 06:09:39 +0000 (06:09 +0000)
committerguenther <guenther@openbsd.org>
Wed, 12 Sep 2018 06:09:39 +0000 (06:09 +0000)
commita5869532fa4c877da3cc83d409ae3301a39f6e19
tree8e9ef5a2a1f15ba7e6cc6150cd72205fe51da736
parentb653f3c062f7355ad0fc63a1b942f34bf9c0b8fc
When shooting pages in the KVA range, all pmaps have the page mapped,
not just pmap_kernel() and this CPUs pmap.  Meanwhile, when mapping
another pmap's tables, order the locking so that we don't need IPIs
specific to the temp pmap.

tested in snaps for a bit
ok mlarkin@
sys/arch/amd64/amd64/pmap.c