From: Stefan Roscher Date: Wed, 13 May 2009 23:52:42 +0000 (-0700) Subject: IB/ehca: Fall back to vmalloc() for big allocations X-Git-Tag: v2.6.31-rc1~336^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c94f156f63c835ffc02b686f9d4238b106f31a5d;p=pandora-kernel.git IB/ehca: Fall back to vmalloc() for big allocations In case of large queue pairs there is the possibillity of allocation failures due to memory fragmentation when using kmalloc(). To ensure the memory is allocated even if kmalloc() can not find chunks which are big enough, we fall back to allocating the memory with vmalloc(). Signed-off-by: Stefan Roscher Signed-off-by: Roland Dreier --- Reading git-diff-tree failed