commit | c94f156f63c835ffc02b686f9d4238b106f31a5d | [log] [tgz] |
---|---|---|
author | Stefan Roscher <ossrosch@linux.vnet.ibm.com> | Wed May 13 16:52:42 2009 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Wed May 13 16:52:42 2009 -0700 |
tree | 2b9e4a8543259fd077f79624838d93b2587e3f73 | |
parent | bf31a1a02eb28d9bda0bb74345df7889faeb7335 [diff] |
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 <stefan.roscher@de.ibm.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>