kernel - Clean up spinlock code, add more lwkt_yield()s
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 28 Oct 2011 16:29:28 +0000 (09:29 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 28 Oct 2011 16:29:28 +0000 (09:29 -0700)
commitfc9ed34d0c9497fde8cf25ed5043846ebf55e8bf
tree180cb803045a07b0b1b91917f668fc57b45e4e88
parente6546af9e0ddd006849722f5ea6b457fdf1771f5
kernel - Clean up spinlock code, add more lwkt_yield()s

* Clean up some of the critical path in the spin_unlock() API

* Add a few more lwkt_yield()s in the buffer cache and vm_object cleaning
  code.
sys/kern/kern_spinlock.c
sys/kern/vfs_bio.c
sys/platform/pc64/x86_64/pmap.c
sys/sys/spinlock2.h
sys/vm/vm_object.c
sys/vm/vnode_pager.c