From: sashiko-bot@kernel.org
To: "Andrew Stellman" <bugs@stellman-greene.com>
Cc: linux-rdma@vger.kernel.org
Subject: Re: [PATCH rdma-rc] RDMA/rxe: Bound MR copy and flush chunks to MR pages
Date: Sat, 28 Nov 2026 14:14:04 +0000 [thread overview]
Message-ID: <sashiko-outbox-238763@kernel.org> (raw)
In-Reply-To: <20261128140840.59003-1-bugs@stellman-greene.com>
> From: Andrew Stellman <astellman@stellman-greene.com>
>
> A fast-reg MR can use 4 KiB pages on a 64 KiB-page kernel, with each
> MR page in its own page_info entry. rxe_mr_copy_xarray() limits each
> chunk to the end of the system page, not the end of the MR page, so a
> copy that crosses an MR-page boundary continues in the same system
> page instead of moving to the next page_info entry.
> rxe_mr_flush_pmem_iova() has the same bound.
>
> Limit each chunk to the end of the MR page when MR pages are smaller
> than PAGE_SIZE. For MR pages of PAGE_SIZE or larger the bound is
> unchanged.
>
> On arm64 with 64 KiB pages (QEMU TCG, mainline 7cd8495c0f16), a
> test-only hook built an MR by hand with two 4 KiB pages at offsets
> [ ... ]
> The fix was drafted with OpenAI GPT-6 (Codex) and this changelog with
> Claude Opus 5.5, and both were reviewed by me.
>
> Fixes: 12985e5915a0 ("RDMA/rxe: Fix iova-to-va conversion for MR page sizes != PAGE_SIZE")
> Signed-off-by: Andrew Stellman <astellman@stellman-greene.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261128140840.59003-1-bugs@stellman-greene.com?part=1
next prev parent reply other threads:[~2026-11-28 14:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-28 14:08 [PATCH rdma-rc] RDMA/rxe: Bound MR copy and flush chunks to MR pages Andrew Stellman
2026-11-28 14:14 ` sashiko-bot [this message]
2026-11-28 17:21 ` Zhu Yanjun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-238763@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=bugs@stellman-greene.com \
--cc=linux-rdma@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox