MPSAFE work - fix acquisition of vm_token
authorAlex Hornung <ahornung@gmail.com>
Fri, 18 Jun 2010 16:24:30 +0000 (17:24 +0100)
committerAlex Hornung <ahornung@gmail.com>
Fri, 18 Jun 2010 16:26:41 +0000 (17:26 +0100)
commitba9d3e5225000c5abdcfb3ab06f8dbf33e24287f
treef530394a63710cd1ed06252dd9bdcc92347cedc8
parentdad604b85495bc8bf443302f4182841a404a9327
MPSAFE work - fix acquisition of vm_token

* vm_page_lookup needs to be called with the vm_token held, but
  vm_page_alloc wasn't acquiring it early enough.
sys/vm/vm_page.c