git: kernel - Fix spin-based msgports

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Nov 1 23:46:44 PDT 2011


commit 041e7b69a41b3876cfa8327d08977bf870b3d0e4
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Nov 1 23:43:11 2011 -0700

    kernel - Fix spin-based msgports
    
    * LWKT threads can use thread/IPI or spin-based message ports.  The
      default is thread-based.  Spin-based ports had numerous problems which
      would result in panics.  This commit fixes those panics and makes the
      spinlock version viable.
    
    * However, currently there is no performance improvement so the default
      is staying as it was.

Summary of changes:
 sys/kern/lwkt_msgport.c |   27 +++++++++++++++++++++++----
 sys/sys/msgport.h       |    2 +-
 2 files changed, 24 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/041e7b69a41b3876cfa8327d08977bf870b3d0e4


-- 
DragonFly BSD source repository





More information about the Commits mailing list