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

git: kernel - Fix spin-based msgports

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 1 Nov 2011 23:46:14 -0700 (PDT)

commit 041e7b69a41b3876cfa8327d08977bf870b3d0e4
Author: Matthew Dillon <dillon@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(-)


DragonFly BSD source repository

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