DragonFly BSD
DragonFly commits List (threaded) for 2010-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 11 Dec 2010 00:41:56 -0800 (PST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]