[PATCH] drbd: replace kmap() with kmap_local_page() in receiver path
Jens Axboe
axboe at kernel.dk
Mon Nov 3 16:16:21 CET 2025
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
More information about the drbd-dev
mailing list