Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2006 18:41:41 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Andre Oppermann <andre@freebsd.org>
Cc:        freebsd-net@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: Much improved sosend_*() functions
Message-ID:  <17692.20389.476272.588061@grasshopper.cs.duke.edu>
In-Reply-To: <451C4850.5030302@freebsd.org>

index | next in thread | previous in thread | raw e-mail

Andre Oppermann writes:
 > I have rewritten m_getm() to be simpler and to allocate PAGE_SIZE sized
 > jumbo mbuf clusters (4k on most architectures) as well as m_uiotombuf()
 > to use the new m_getm() to obtain all mbuf space in one go.  It then loops
 > over it an copies the data into the mbufs by using uiomove().  sosend_dgram()
 > and sosend_generic() are change to use m_uiotombuf() instead of sosend_copyin().

Hurray!  Thank you for doing this.  I'll try to check it
out with mxge soon, but it might be until next week.

Drew



home | help

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