[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241014143542.000028dc@gmail.com>
Date: Mon, 14 Oct 2024 14:35:42 +0800
From: Furong Xu <0x1207@...il.com>
To: Yunsheng Lin <linyunsheng@...wei.com>
Cc: Ilias Apalodimas <ilias.apalodimas@...aro.org>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>, Jesper Dangaard
Brouer <hawk@...nel.org>, "David S. Miller" <davem@...emloft.net>, Eric
Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo
Abeni <pabeni@...hat.com>, <xfr@...look.com>
Subject: Re: [PATCH net-next v1] page_pool: check for dma_sync_size earlier
Hi Yunsheng,
On Sat, 12 Oct 2024 14:14:41 +0800, Yunsheng Lin <linyunsheng@...wei.com> wrote:
> I would prefer to add a new api to do that, as it makes the semantic
> more obvious and may enable removing some checking in the future.
>
> And we may need to disable this 'feature' for frag relate API for now,
> as currently there may be multi callings to page_pool_put_netmem() for
> the same page, and dma_sync is only done for the last one, which means
> it might cause some problem for those usecases when using frag API.
I am not an expert on page_pool.
So would you mind sending a new patch to add a non-dma-sync version of
page_pool_put_page() and CC it to me?
I am so glad to test it on my device ;)
Thanks.
Powered by blists - more mailing lists