BSD net stack

"Jonas Sundström" <[email protected]>
Newsgroups gmane.os.openbeos.kernel.devel
Message-ID <3488677332-BeMail@castro>
Hi everyone,

I heard rumours that Haiku might be looking at a BSD stack,
so I just want to pipe up that Net-, Free- and DragonFly BSD
have 3 very distinct locking (/threading) models.

I would expect all 3 stacks to be of the same great quality,
but one of them is bound to better fit into Haiku than the others.

I'm no BSD expert but I believe this is the case:

NetBSD and OpenBSD: 
- crude SMP -- global kernel lock
- easy to port?

FreeBSD:
- reentrant kernel -- fine grained locking
- hard to port? 
(lots of locking code)

DragonFly BSD:
lockless SMP (I'm not sure what to call it) 
- threaded net stack 
- hard to port? 
(probably depends on DragonFly's LWKT, etc.)

I'm far from a BSD expert, so please do correct me 
if there's anything wrong in the above.

FWIW,
Jonas Sundström.                www.kirilla.com



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.