From: Zhu Yanjun <yanjun.zhu@linux.dev>
To: Andrew Stellman <bugs@stellman-greene.com>,
Zhu Yanjun <zyjzyj2000@gmail.com>,
"yanjun.zhu@linux.dev" <yanjun.zhu@linux.dev>
Cc: Li Zhijian <lizhijian@fujitsu.com>,
Jason Gunthorpe <jgg@ziepe.ca>, Leon Romanovsky <leon@kernel.org>,
linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH rdma-rc] RDMA/rxe: Bound MR copy and flush chunks to MR pages
Date: Sat, 28 Nov 2026 16:36:17 -0800 [thread overview]
Message-ID: <77aba02e-64a7-4987-80f8-46c5301ac106@linux.dev> (raw)
In-Reply-To: <20261129001904.79077-1-bugs@stellman-greene.com>
在 2026/11/28 16:19, Andrew Stellman 写道:
> On Sat, Nov 28, 2026 at 09:21:58AM -0800, Zhu Yanjun wrote:
>> Please also modify rxe_mr_fill_pages_from_sgt() to account for
>> mr_page_size(mr) relative to PAGE_SIZE when populating MR page
>> entries and offsets, and remove the obsolete WARN_ON() check.
> Thanks for looking at this. As far as I can see, that case can't
> happen on current rdma for-rc and mainline. The only caller of
> rxe_mr_fill_pages_from_sgt() is rxe_mr_init_user(), which calls
> rxe_mr_init() first, and that sets mr->ibmr.page_size = PAGE_SIZE.
> Nothing changes it before the fill. The 4 KiB MR pages this patch is
> about come from fast registration, which goes through rxe_map_mr_sg()
> and rxe_set_page() instead.
>
> So I'd like to keep this patch to the copy and flush bound.
Do you make tests in your local host? Or just use AI to make static
analysis?
Yanjun Zhu
--
Best Regards,
Yanjun.Zhu
next prev parent reply other threads:[~2026-11-29 0:36 UTC|newest]
Thread overview: 12+ 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
2026-11-28 17:21 ` Zhu Yanjun
2026-11-29 0:19 ` Andrew Stellman
2026-11-29 0:36 ` Zhu Yanjun [this message]
2026-11-29 13:53 ` Andrew Stellman
2026-11-29 19:16 ` Zhu Yanjun
2026-11-30 4:10 ` Andrew Stellman
2026-11-30 4:57 ` Zhu Yanjun
2026-11-30 22:12 ` Andrew Stellman
2026-12-01 4:53 ` Zhu Yanjun
2026-12-01 13:30 ` Andrew Stellman
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=77aba02e-64a7-4987-80f8-46c5301ac106@linux.dev \
--to=yanjun.zhu@linux.dev \
--cc=bugs@stellman-greene.com \
--cc=jgg@ziepe.ca \
--cc=leon@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=lizhijian@fujitsu.com \
--cc=zyjzyj2000@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.