kernel - Fix mprace in kern_objcache
authorMatthew Dillon <dillon@laptop2.(none)>
Sat, 11 Sep 2010 18:50:56 +0000 (11:50 -0700)
committerMatthew Dillon <dillon@laptop2.(none)>
Sat, 11 Sep 2010 18:50:56 +0000 (11:50 -0700)
commitaa1f2da3b024aee48884f3c6ccd60a10aeac5dfa
tree7f0f71eacfae93a65c3acd02d98b55f81adac5f9
parent8f2c9819c2de88796b4c71355a20b217a4d97f12
kernel - Fix mprace in kern_objcache

* mag_purge() is interruptable, do not continue the purge
  if the magazine is moved.  For example, the magazine could
  move to the depot and we would wind up continuing to purge
  it without the depot lock.

* Add some temporary debugging
sys/kern/kern_objcache.c