DragonFly commits List (threaded) for 2011-11
git: kernel - Fix spin-based msgports
Author: Matthew Dillon <email@example.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