git: kernel - Clean up spinlock code, add more lwkt_yield()s

看板DFBSD_commit作者時間14年前 (2011/10/29 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit fc9ed34d0c9497fde8cf25ed5043846ebf55e8bf Author: Matthew Dillon <dillon@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
文章代碼(AID): #1EgktjVy (DFBSD_commit)