From: Jens Axboe <axboe@kernel.dk>
To: philipp.reisner@linbit.com, Shi Hao <i.shihao.999@gmail.com>
Cc: linux-block@vger.kernel.org, lars.ellenberg@linbit.com,
linux-kernel@vger.kernel.org, drbd-dev@lists.linbit.com
Subject: Re: [PATCH] drbd: replace kmap() with kmap_local_page() in receiver path
Date: Mon, 03 Nov 2025 08:16:21 -0700 [thread overview]
Message-ID: <176218298119.720460.5302997686043809131.b4-ty@kernel.dk> (raw)
In-Reply-To: <20251101054422.17045-1-i.shihao.999@gmail.com>
On Sat, 01 Nov 2025 11:14:22 +0530, Shi Hao wrote:
> Use kmap_local_page() instead of kmap() to avoid
> CPU contention.
>
> kmap() uses a global set of mapping slots that can cause contention
> between multiple CPUs, while kmap_local_page() uses per-CPU slots
> eliminating this contention. It also ensures non-sleeping operation
> and provides better cache locality.
>
> [...]
Applied, thanks!
[1/1] drbd: replace kmap() with kmap_local_page() in receiver path
commit: 77220f6d18a22b0b5d73b5d2156609b0aa21a7c5
Best regards,
--
Jens Axboe
prev parent reply other threads:[~2025-11-03 15:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-01 5:44 [PATCH] drbd: replace kmap() with kmap_local_page() in receiver path Shi Hao
2025-11-03 15:16 ` Jens Axboe [this message]
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=176218298119.720460.5302997686043809131.b4-ty@kernel.dk \
--to=axboe@kernel.dk \
--cc=drbd-dev@lists.linbit.com \
--cc=i.shihao.999@gmail.com \
--cc=lars.ellenberg@linbit.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=philipp.reisner@linbit.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox