[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174531227199.1477965.208834710811336342.git-patchwork-notify@kernel.org>
Date: Tue, 22 Apr 2025 08:57:51 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Pavel Begunkov <asml.silence@...il.com>
Cc: io-uring@...r.kernel.org, dw@...idwei.uk, toke@...hat.com,
kuba@...nel.org, almasrymina@...gle.com, netdev@...r.kernel.org
Subject: Re: [PATCH io_uring-6.15] io_uring/zcrx: fix late dma unmap for a dead
dev
Hello:
This patch was applied to bpf/bpf.git (master)
by Jens Axboe <axboe@...nel.dk>:
On Fri, 18 Apr 2025 13:02:27 +0100 you wrote:
> There is a problem with page pools not dma-unmapping immediately
> when the device is going down, and delaying it until the page pool is
> destroyed, which is not allowed (see links). That just got fixed for
> normal page pools, and we need to address memory providers as well.
>
> Unmap pages in the memory provider uninstall callback, and protect it
> with a new lock. There is also a gap between a dma mapping is created
> and the mp is installed, so if the device is killed in between,
> io_uring would be hodling dma mapping to a dead device with no one to
> call ->uninstall. Move it to page pool init and rely on ->is_mapped to
> make sure it's only done once.
>
> [...]
Here is the summary with links:
- [io_uring-6.15] io_uring/zcrx: fix late dma unmap for a dead dev
https://git.kernel.org/bpf/bpf/c/f12ecf5e1c5e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists