Re: Much improved sosend_*() functions
- From: Andrew Gallatin <gallatin@xxxxxxxxxxx>
- Date: Thu, 28 Sep 2006 18:41:41 -0400 (EDT)
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
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- References:
- Much improved sosend_*() functions
- From: Andre Oppermann
- Much improved sosend_*() functions
- Prev by Date: Re: De-orbitting mrouted
- Next by Date: Re: Much improved sosend_*() functions
- Previous by thread: Much improved sosend_*() functions
- Next by thread: Re: Much improved sosend_*() functions
- Index(es):