kernel - Acquire vm_token in pmap_remove_all() (2)
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 5 Oct 2012 05:09:30 +0000 (22:09 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 5 Oct 2012 05:09:30 +0000 (22:09 -0700)
commit2160c64a7b9dd171e554291a062b232251443c53
treea76eb91efa9341a2b69e642cac47af903c13a2f8
parent3c3589cf330dad3ec78da393f0668ca91dff9cad
kernel - Acquire vm_token in pmap_remove_all() (2)

* Remove this, the token is already acquired in all pmap_remove_all()
  paths.

* Instead, try catching the problem in pmap_remove_all(m) by re-validating
  the pv_entry (essentially detecting a removal race).
sys/platform/pc32/i386/pmap.c