kernel - Fix DEBUG_LOCKS races
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 15 Nov 2011 23:13:04 +0000 (15:13 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 15 Nov 2011 23:13:04 +0000 (15:13 -0800)
commit5ef517efea99b1ff1017542da71250864793d0c0
treeb68f4644b3cff4e3d2160a9445d033d328c9002d
parentd557dd6d0198bfb5650b6a3ceafd7c1d1711cab5
kernel - Fix DEBUG_LOCKS races

* DEBUG_LOCKS can race when shared tokens are in use.  Attempt to fix the
  problem.

Reported-by: tuxillo
sys/vm/vm_object.c