[rds-devel] [External] : Re: [PATCH net] rds: mark snapshot pages dirty in rds_info_getsockopt()
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Wed Jun 10 15:20:09 UTC 2026
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba at kernel.org>:
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
More information about the rds-devel
mailing list