Re: [PATCH] drbd: replace kmap() with kmap_local_page() in receiver path
Jens Axboe <[email protected]> Mon, 03 Nov 2025 08:16:21 -0700
| Newsgroups | dev.linux.lists.drbd-dev,org.kernel.vger.linux-block,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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