locking & iovecs

Brooks Davis brooks at one-eyed-alien.net
Fri Sep 24 10:27:51 PDT 2004


On Fri, Sep 24, 2004 at 08:03:03AM +0200, Waldemar Kornewald wrote:
> Brooks Davis wrote:
> >>>You can implement mutexes using semaphores, but semaphores tend to be a
> >>>more expensive since they are more expressive them mutexes.
> >>
> >>Using a benaphore instead would improve speed significantly and as you 
> >>only use macros we can easily replace those with our benaphore code, is 
> >>that really so simple? Sorry, I cannot believe that. :)
> >
> >Once GIANT is really gone, it may be nearly that easy.  We're a ways
> >from that though.
> 
> So, the code is not fully thread-safe yet (we want to drop GIANT)? Then, 
> I misunderstood something. Will 5.3 be freed of GIANT?

I believe IPv4 is pretty close other then NIC drivers, but IPv6 is
largely not done yet.  GIANT will definatly not be gone in 5.3.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20040924/0672ecbd/attachment.bin


More information about the freebsd-net mailing list