Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Sep 2004 11:33:36 +0200
From:      Waldemar Kornewald <Waldemar.Kornewald@web.de>
To:        FreeBSD-net <freebsd-net@freebsd.org>
Subject:   Re: locking
Message-ID:  <41553B70.409@web.de>
In-Reply-To: <Pine.NEB.3.96L.1040924140514.82478J-100000@fledge.watson.org>
References:  <Pine.NEB.3.96L.1040924140514.82478J-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Watson wrote:
> There are some sections of the network stack, such as the KAME IPSEC
> implementation, parts of IPv6, and some device drivers, which are not yet
> completely MPSAFE.  This may or may not be an issue depending on what
> your requirements are.  If you have any bug fixes or improvements, we
> would love to hear about them -- right now our locking is fairly
> coarse-grained but we'll be looking at contention issues over the next few
> months to see how best to refine our locking strategy.

We wanted to have fine-grained locking (BeOS/Haiku emphasizes on 
threading very much), but at least having some locking is better than 
our current situation (nearly no locking ;). Our first aim is to get a 
stable modularized netstack, finally. The next steps would be 
fine-grained locking and maybe trying out iovecs instead of mbufs.
Having IPv4 ready is a good start. IPv6 is not too urgent at the moment.

Bye,
Waldemar Kornewald



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41553B70.409>