kernel - Fix spin-based msgports
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 2 Nov 2011 06:43:11 +0000 (23:43 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 2 Nov 2011 06:43:11 +0000 (23:43 -0700)
commit041e7b69a41b3876cfa8327d08977bf870b3d0e4
treec994f7a0e44c1011a06d0faa411141c7865ac5a3
parenta505393fd1a1920367affae433de8573462fe68c
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.
sys/kern/lwkt_msgport.c
sys/sys/msgport.h