Re: [PATCH net] rds: mark snapshot pages dirty in rds_info_getsockopt()

From: patchwork-bot+netdevbpf

Date: Wed Jun 10 2026 - 11:25:12 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Mon, 08 Jun 2026 02:32:05 -0700 you wrote:
> rds_info_getsockopt() pins the destination user pages with FOLL_WRITE and
> the RDS_INFO_* producers memcpy the snapshot into them through
> kmap_atomic(). Because that copy goes through the kernel direct map, the
> dirty bit on the user PTE is never set, so unpin_user_pages() releases the
> pages without marking them dirty. A file-backed destination page can then
> be reclaimed without writeback, silently discarding the copied data.
>
> [...]

Here is the summary with links:
- [net] rds: mark snapshot pages dirty in rds_info_getsockopt()
https://git.kernel.org/netdev/net/c/512db8267b73

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html