lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168916382400.1207710.3116190060320574787.b4-ty@kernel.org>
Date:   Wed, 12 Jul 2023 15:10:24 +0300
From:   Leon Romanovsky <leon@...nel.org>
To:     jgg@...pe.ca, Yuanyuan Zhong <yzhong@...estorage.com>
Cc:     cachen@...estorage.com, linux-rdma@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/1] RDMA/mlx5: align MR mem allocation size to power-of-two


On Thu, 29 Jun 2023 15:32:47 -0600, Yuanyuan Zhong wrote:
> Recently I noticed the mlx5_alloc_priv_descs() do many allocations from
> kmalloc-8k. It's called from following chain:
> cma_cm_event_handler => nvme_rdma_cm_handler => nvme_rdma_create_queue_ib
> => ib_mr_pool_init => ib_alloc_mr => __mlx5_ib_alloc_mr
> => _mlx5_alloc_mkey_descs
> 
> When the nvme-rdma asks to allocate memory regions that support maximum 257
> sg entries, the real MR memory allocation size is slightly bigger than 2048.
> 
> [...]

Applied, thanks!

[1/1] RDMA/mlx5: align MR mem allocation size to power-of-two
      https://git.kernel.org/rdma/rdma/c/52b4bdd28c861e

Best regards,
-- 
Leon Romanovsky <leon@...nel.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ