diff options
author | Wengang Wang <wen.gang.wang@oracle.com> | 2015-10-08 08:27:04 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-12-09 00:48:10 +0300 |
commit | 0ef2f05c7e02ff99c0b5b583d7dee2cd12b053f2 (patch) | |
tree | c5305adcf047948e7eb5d368b951c47940a1869c /drivers/infiniband/core | |
parent | 73d4da7b9fec13cbddcf548888c4d0e46f1d5087 (diff) | |
download | linux-0ef2f05c7e02ff99c0b5b583d7dee2cd12b053f2.tar.xz |
IB/mlx4: Use vmalloc for WR buffers when needed
There are several hits that WR buffer allocation(kmalloc) failed.
It failed at order 3 and/or 4 contigous pages allocation. At the same time
there are actually 100MB+ free memory but well fragmented.
So try vmalloc when kmalloc failed.
Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com>
Acked-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core')
0 files changed, 0 insertions, 0 deletions