From: Eli Cohen Date: Wed, 27 May 2009 21:36:16 +0000 (-0700) Subject: IB/mthca: Add module parameter for number of MTTs per segment X-Git-Tag: v2.6.31-rc1~336^2^5~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1f67a88bf62fac0f4151c007b361199c2cd1988;p=pandora-kernel.git IB/mthca: Add module parameter for number of MTTs per segment The current MTT allocator uses kmalloc() to allocate a buffer for its buddy allocator, and thus is limited in the amount of MTT segments that it can control. As a result, the size of memory that can be registered is limited too. This patch uses a module parameter to control the number of MTT entries that each segment represents, allowing more memory to be registered with the same number of segments. Signed-off-by: Eli Cohen Signed-off-by: Roland Dreier --- Reading git-diff-tree failed