summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mthca/mthca_srq.c
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@voltaire.com>2008-01-29 12:56:18 +0200
committerRoland Dreier <rolandd@cisco.com>2008-02-04 20:20:44 -0800
commit1d96354e617990799b1cb5d7ff8f7c467b8767c8 (patch)
tree7d106bf836c8cd99ee844845e71216e83c004248 /drivers/infiniband/hw/mthca/mthca_srq.c
parent9fe4bcf45ece0b0081031edaaa41581c85ef7049 (diff)
downloadop-kernel-dev-1d96354e617990799b1cb5d7ff8f7c467b8767c8.zip
op-kernel-dev-1d96354e617990799b1cb5d7ff8f7c467b8767c8.tar.gz
IB/fmr_pool: Allocate page list for pool FMRs only when caching enabled
Allocate memory for the page_list field of struct ib_pool_fmr only when caching is enabled for the FMR pool, since the field is not used otherwise. This can save significant amounts of memory for large pools with caching turned off. Signed-off-by: Or Gerlitz <ogerlitz@voltaire.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_srq.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud