kernel - Additional fixes for vm_prefault issue
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 18 Jul 2011 06:45:11 +0000 (23:45 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 18 Jul 2011 06:45:11 +0000 (23:45 -0700)
commit6e9c08674f7055f843113ddf9e181ec05ca764fd
tree494358cd078257f49f7919abdf1d7fcc1fd9a0f1
parent32f81534c506358c309dd7fcd9acb7229f41c192
kernel - Additional fixes for vm_prefault issue

* Fix a case where map->timestamp was being tested without holding the
  map lock, which can race.  We now relock the map prior to testing
  map->timestamp.

* Fix a case where map->timestamp was being adjusted with the map lock
  released.

Reported-by: Peter Avalos <peter@theshell.com>
sys/vm/vm_fault.c