commit | 1d96354e617990799b1cb5d7ff8f7c467b8767c8 | [log] [tgz] |
---|---|---|
author | Or Gerlitz <ogerlitz@voltaire.com> | Tue Jan 29 12:56:18 2008 +0200 |
committer | Roland Dreier <rolandd@cisco.com> | Mon Feb 04 20:20:44 2008 -0800 |
tree | 7d106bf836c8cd99ee844845e71216e83c004248 | |
parent | 9fe4bcf45ece0b0081031edaaa41581c85ef7049 [diff] |
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>