Re: [PATCH net 1/2] virtio_net: Don't DMA map the kernel image for the AF_XDP TX header

From
Haishuang Yan <hidden>
Date
2026-11-08 09:24:34
Also in
bpf, lkml, virtualization
Reply to
netdev-bot+sashiko@kernel.org, 2026-11-08
On Sun, Nov 08, 2026 at 05:41:15AM +0000, netdev-bot+sashiko@kernel.org wrote:
quoted
and binding an AF_XDP zero-copy socket fails with -ENOMEM. Even where
the mapping succeeds, the header shares cache lines with unrelated data.
[Severity: Low]
Does the second sentence here match what the patch does? It reads as
though the patch also gives the header its own cache line.
[ ... ]
Could this sentence be dropped, or reworded so it doesn't suggest the
patch provides cache-line isolation?
Agreed. The header is only mapped DMA_TO_DEVICE, so the sentence
doesn't describe a real problem, and the patch doesn't change it
anyway. I'll drop it in v2.

Thread (8 messages) 8 messages, 3 authors, last reply 9d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help