[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1537275826-27247-1-git-send-email-jan.dakinevich@virtuozzo.com>
Date: Tue, 18 Sep 2018 16:03:42 +0300
From: Jan Dakinevich <jan.dakinevich@...tuozzo.com>
To: Doug Ledford <dledford@...hat.com>, Jason Gunthorpe <jgg@...pe.ca>,
Yishai Hadas <yishaih@...lanox.com>,
Leon Romanovsky <leon@...nel.org>,
Parav Pandit <parav@...lanox.com>,
Mark Bloch <markb@...lanox.com>,
Daniel Jurgens <danielj@...lanox.com>,
Kees Cook <keescook@...omium.org>,
Kamal Heib <kamalheib1@...il.com>,
Bart Van Assche <bvanassche@....org>,
linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Denis Lunev <den@...tuozzo.com>,
Konstantin Khorenko <khorenko@...tuozzo.com>,
Jan Dakinevich <jan.dakinevich@...tuozzo.com>
Subject: [PATCH 0/4] IB: decrease large contigous allocation
The size of mlx4_ib_device became too large to be allocated as whole contigous
block of memory. Currently it takes about 55K. On architecture with 4K page it
means 3rd order.
This patch series makes an attempt to split mlx4_ib_device into several parts
and allocate them with less expensive kvzalloc
Jan Dakinevich (4):
IB/core: introduce ->release() callback
IB/mlx4: move iboe field aside from mlx4_ib_dev
IB/mlx4: move pkeys field aside from mlx4_ib_dev
IB/mlx4: move sriov field aside from mlx4_ib_dev
drivers/infiniband/core/device.c | 2 +
drivers/infiniband/hw/mlx4/alias_GUID.c | 192 ++++++++++++++++----------------
drivers/infiniband/hw/mlx4/cm.c | 32 +++---
drivers/infiniband/hw/mlx4/mad.c | 98 ++++++++--------
drivers/infiniband/hw/mlx4/main.c | 93 ++++++++++------
drivers/infiniband/hw/mlx4/mcg.c | 4 +-
drivers/infiniband/hw/mlx4/mlx4_ib.h | 8 +-
drivers/infiniband/hw/mlx4/qp.c | 8 +-
drivers/infiniband/hw/mlx4/sysfs.c | 40 +++----
include/rdma/ib_verbs.h | 2 +
10 files changed, 256 insertions(+), 223 deletions(-)
--
2.1.4
Powered by blists - more mailing lists