]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Treat mbufs as cacheline-aligned. Even when the transfer begins at an
authorian <ian@FreeBSD.org>
Wed, 21 Oct 2015 19:24:20 +0000 (19:24 +0000)
committerian <ian@FreeBSD.org>
Wed, 21 Oct 2015 19:24:20 +0000 (19:24 +0000)
commit492b716bf0fc46c2f491b57f5fa9e65086a3ac98
treebab4f1ff3e7250651b605e252682e37010f24096
parent9265dcc3a2c20d477dfb45342a79f90a7793b460
Treat mbufs as cacheline-aligned.  Even when the transfer begins at an
offset within the buffer to align the L3 headers we know the buffer itself
was allocated and sized on cacheline boundaries and we don't need to
preserve partitial cachelines at the start and end of the buffer when
doing busdma sync operations.
sys/mips/mips/busdma_machdep.c