aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/sockbuf.h
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2022-06-24 16:09:11 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2022-06-24 16:09:11 +0000
commit1093f16487a93c3ecdea910ca7249375873969da (patch)
treec72398d8a5170e0f994fee757af8119bde2a9a40 /sys/sys/sockbuf.h
parent9b841b0e239027a4966005cad4d32cbefb52e906 (diff)
downloadsrc-1093f16487a93c3ecdea910ca7249375873969da.tar.gz
src-1093f16487a93c3ecdea910ca7249375873969da.zip
unix/dgram: reduce mbuf chain traversals in send(2) and recv(2)
o Use m_pkthdr.memlen from m_uiotombuf() o Modify unp_internalize() to keep track of allocated space and memory as well as pointer to the last buffer. o Modify unp_addsockcred() to keep track of allocated space and memory as well as pointer to the last buffer. o Record the datagram len/memlen/ctllen in the first (from) mbuf of the chain in uipc_sosend_dgram() and reuse it in uipc_soreceive_dgram(). Reviewed by: markj Differential revision: https://reviews.freebsd.org/D35302
Diffstat (limited to 'sys/sys/sockbuf.h')
0 files changed, 0 insertions, 0 deletions