]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Turn pmap_install_pte() into a critical section. We better not get
authorMarcel Moolenaar <marcel@FreeBSD.org>
Mon, 19 May 2003 08:02:36 +0000 (08:02 +0000)
committerMarcel Moolenaar <marcel@FreeBSD.org>
Mon, 19 May 2003 08:02:36 +0000 (08:02 +0000)
commitb8c4149cffcb8f2ca901d97893e02d752a7abfc4
tree882e2a7d5e90a8b212b02862ed642ccdf2586c96
parent3467e8b8a0a80b249ce4482b6a85dfe0e6fa71da
Turn pmap_install_pte() into a critical section. We better not get
interrupted while writing into the VHPT table. While here, make sure
memory accesses a properly ordered. Tag invalidation must happen
first so that the hardware VHPT walker will not be able to match
this entry while we're updating it and we have to make sure the new
new tag gets written only after the PTE is completely updated.

Approved by: re (blanket)
sys/ia64/ia64/pmap.c