git: kernel - Clean up spinlock code, add more lwkt_yield()s
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Oct 28 09:49:03 PDT 2011
commit fc9ed34d0c9497fde8cf25ed5043846ebf55e8bf
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Oct 28 09:29:28 2011 -0700
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.
Summary of changes:
sys/kern/kern_spinlock.c | 18 +++++++++---------
sys/kern/vfs_bio.c | 1 +
sys/platform/pc64/x86_64/pmap.c | 2 ++
sys/sys/spinlock2.h | 8 +++++++-
sys/vm/vm_object.c | 13 ++++++++-----
sys/vm/vnode_pager.c | 4 +++-
6 files changed, 30 insertions(+), 16 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fc9ed34d0c9497fde8cf25ed5043846ebf55e8bf
--
DragonFly BSD source repository
More information about the Commits
mailing list