kernel - Fix vm_object->rb_memq race in pageout daemon
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 28 Oct 2011 17:20:26 +0000 (10:20 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 28 Oct 2011 17:20:26 +0000 (10:20 -0700)
commit05b9db808aa970044c8cff8dcc030e1d2b1d4486
treee1a07d598eb691d72a74809ae65caf34fe08cd1d
parent027193eb611cf4258b84198529d8c88cb733d884
kernel - Fix vm_object->rb_memq race in pageout daemon

* We were not properly holding a VM object's token while scanning its
  rb_memq.  Hold the token properly and also assert that it is held.
sys/vm/vm_pageout.c