kernel - Fix a SMP race in the 64-bit pmap code (2)
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 2 Oct 2013 17:42:48 +0000 (10:42 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 2 Oct 2013 17:42:48 +0000 (10:42 -0700)
commitec47d952f08f58fa674210e579466d43cdc6ed8b
tree9815edd09f100c8f668b0d3a313a6d535d333267
parent065f4046a2ff941e623fbd1c56eeab7bc36589dd
kernel - Fix a SMP race in the 64-bit pmap code (2)

* Last commit had an extra vm_page_spin_unlock() call, removing.

* Fix an improper spin_unlock() which was supposed to be a
  spin_unlock_shared().  This appears to be an old bug.

Reported-by: profmakx, ftigeot
sys/platform/pc64/x86_64/pmap.c