[PATCH net-next v10 0/4] fix the DMA API misuse problem for page_pool
Jakub Kicinski
kuba at kernel.org
Thu Feb 27 18:15:50 PST 2025
On Wed, 26 Feb 2025 19:03:35 +0800 Yunsheng Lin wrote:
> This patchset fix the dma API misuse problem as below:
> Networking driver with page_pool support may hand over page
> still with dma mapping to network stack and try to reuse that
> page after network stack is done with it and passes it back
> to page_pool to avoid the penalty of dma mapping/unmapping.
> With all the caching in the network stack, some pages may be
> held in the network stack without returning to the page_pool
> soon enough, and with VF disable causing the driver unbound,
> the page_pool does not stop the driver from doing it's
> unbounding work, instead page_pool uses workqueue to check
> if there is some pages coming back from the network stack
> periodically, if there is any, it will do the dma unmmapping
> related cleanup work.
Does not build :( Always do an allmodconfig build when working
on subsystem-wide interfaces..
--
pw-bot: cr
More information about the linux-arm-kernel
mailing list