On Tue, 15 Oct 2024 01:38:20 +0300 Mina Almasry wrote: > Thanks Jason. In that case I agree with Jakub we should take in his change here: > > https://lore.kernel.org/netdev/20241009170102.1980ed1d@xxxxxxxxxx/ > > With this change the driver would delegate dma_sync_for_device to the > page_pool, and the page_pool will skip it altogether for the dma-buf > memory provider. And we need a wrapper for a sync for CPU which will skip if the page comes from an unreadable pool?