Re: [PATCH rdma-next] IB/mlx5: Reduce IMR KSM size when 5-level paging is enabled
From: Leon Romanovsky
Date: Sun Nov 23 2025 - 04:13:18 EST
On Thu, 20 Nov 2025 16:49:28 +0200, Leon Romanovsky wrote:
> Enabling 5-level paging (LA57) increases TASK_SIZE on x86_64 from 2^47
> to 2^56. This affects implicit ODP, which uses TASK_SIZE to calculate
> the number of IMR KSM entries.
>
> As a result, the number of entries and the memory usage for KSM mkeys
> increase drastically:
>
> [...]
Applied, thanks!
[1/1] IB/mlx5: Reduce IMR KSM size when 5-level paging is enabled
https://git.kernel.org/rdma/rdma/c/4bf35d1d17c8d5
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>