From: Or Gerlitz Date: Tue, 29 Jan 2008 10:56:18 +0000 (+0200) Subject: IB/fmr_pool: Allocate page list for pool FMRs only when caching enabled X-Git-Tag: v2.6.25-rc1~790^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d96354e617990799b1cb5d7ff8f7c467b8767c8;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed