git: kernel - Record token & mplock collisions in thread->td_wme

看板DFBSD_commit作者時間15年前 (2010/12/11 17:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 2a9d466332523e6c2d4eb9fd0495ec2f79314658 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Sat Dec 11 00:38:45 2010 -0800 kernel - Record token & mplock collisions in thread->td_wmesg * Record token & mplock collisions which the lwkt thread schedule spins on in the thread wmesg, which will show up in ps, top, etc. This makes it a lot more obvious when a thread is stalling on a token or the mplock and is generally superior to the old per-cpu collision record. Summary of changes: sys/kern/lwkt_thread.c | 26 +++++--------------------- sys/kern/lwkt_token.c | 5 ++--- sys/sys/mplock2.h | 13 +++++++++++++ sys/sys/thread.h | 2 +- 4 files changed, 21 insertions(+), 25 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2a9d466332523e6c2d4eb9fd0495ec2f79314658 -- DragonFly BSD source repository
文章代碼(AID): #1D0ptInD (DFBSD_commit)