lkml.org 
[lkml]   [2018]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] IB: decrease large contigous allocation
Date
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

\
 
 \ /
  Last update: 2018-09-18 15:04    [W:0.789 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site