diff options
author | Leon Romanovsky | 2019-01-08 15:07:23 +0100 |
---|---|---|
committer | Jason Gunthorpe | 2019-01-09 00:41:38 +0100 |
commit | 96f87ee1811306d0c8cf94b8c37b0e4f725b01d1 (patch) | |
tree | a5aebe8788d3b98872ea03ab5df01ad0d65275a9 /include/rdma/ib_verbs.h | |
parent | IB/srp: Use struct_size() in kzalloc() (diff) | |
download | kernel-qcow2-linux-96f87ee1811306d0c8cf94b8c37b0e4f725b01d1.tar.gz kernel-qcow2-linux-96f87ee1811306d0c8cf94b8c37b0e4f725b01d1.tar.xz kernel-qcow2-linux-96f87ee1811306d0c8cf94b8c37b0e4f725b01d1.zip |
RDMA: Clean structures from CONFIG_INFINIBAND_ON_DEMAND_PAGING
CONFIG_INFINIBAND_ON_DEMAND_PAGING is used in general structures to
micro-optimize the memory footprint. Remove it, so it will allow us to
simplify various ODP device flows.
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma/ib_verbs.h')
-rw-r--r-- | include/rdma/ib_verbs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index a3ceed3a040a..3ddd199ba602 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h @@ -1504,12 +1504,10 @@ struct ib_ucontext { bool cleanup_retryable; -#ifdef CONFIG_INFINIBAND_ON_DEMAND_PAGING void (*invalidate_range)(struct ib_umem_odp *umem_odp, unsigned long start, unsigned long end); struct mutex per_mm_list_lock; struct list_head per_mm_list; -#endif struct ib_rdmacg_object cg_obj; /* |