kernel - Handle pmap_protect() race in pmap code
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 26 Oct 2011 21:46:52 +0000 (14:46 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 26 Oct 2011 21:46:52 +0000 (14:46 -0700)
commitf2c5d4ab43eb3300236045f944aa0021db095c53
tree318d999d5d2dfd127c331b79ca018994c520c397
parent701c977e41807eb03343c695da4625c091d152b1
kernel - Handle pmap_protect() race in pmap code

* If we find an unexpectedly non-NULL pte_pv from a pv_find(), which only
  holds the pv, we have to resolve a locked pte_pv to rectify the race.
  Add debug code to catch and rectify the situation.
sys/platform/pc64/x86_64/pmap.c