Previous alignment is unnecessary, and caused locking issues on amd64.
Sponsored by: Arm Ltd
Differential D56691
virtio_net: Set rx/tx busdma alignment to 1 byte Authored by sarah.walker2_arm.com on Apr 28 2026, 1:43 PM. Tags None Referenced Files
Details
Previous alignment is unnecessary, and caused locking issues on amd64. Sponsored by: Arm Ltd
Diff Detail
Event TimelineComment Actions Please be sure to add a Fixes: tag to the commit log message.
Comment Actions The standard behaviour for busdma_bounce implementations is that bus_dmamap with alignment > 1 is marked as COULD_BOUNCE. Among other things this can cause a bounce zone to be allocated at bus_dmamap creation time. This causes further allocations without M_NOWAIT which triggers the locking issue. | ||||||||||||||||||||||||||||||||||||||||