IB/fmr_pool: Allocate page list for pool FMRs only when caching enabled
authorOr Gerlitz <ogerlitz@voltaire.com>
Tue, 29 Jan 2008 10:56:18 +0000 (12:56 +0200)
committerRoland Dreier <rolandd@cisco.com>
Tue, 5 Feb 2008 04:20:44 +0000 (20:20 -0800)
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>

No differences found