mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Jason Gunthorpe <jgg@ziepe.ca>, Leon Romanovsky <leon@kernel.org>
Cc: linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org,
	 Yishai Hadas <yishaih@nvidia.com>,
	Or Har-Toov <ohartoov@nvidia.com>,
	 Michael Guralnik <michaelgur@nvidia.com>,
	 Edward Srouji <edwards@nvidia.com>
Subject: Re: [PATCH rdma-next] IB/mlx5: Reduce IMR KSM size when 5-level paging is enabled
Date: Sun, 23 Nov 2025 04:13:14 -0500	[thread overview]
Message-ID: <176388919468.1783514.9358959459855331067.b4-ty@kernel.org> (raw)
In-Reply-To: <20251120-reduce-ksm-v1-1-6864bfc814dc@kernel.org>


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@kernel.org>


      reply	other threads:[~2025-11-23  9:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-20 14:49 Leon Romanovsky
2025-11-23  9:13 ` Leon Romanovsky [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=176388919468.1783514.9358959459855331067.b4-ty@kernel.org \
    --to=leon@kernel.org \
    --cc=edwards@nvidia.com \
    --cc=jgg@ziepe.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=michaelgur@nvidia.com \
    --cc=ohartoov@nvidia.com \
    --cc=yishaih@nvidia.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

all inboxes | Powered by JetHome®