commit | 0ef2f05c7e02ff99c0b5b583d7dee2cd12b053f2 | [log] [tgz] |
---|---|---|
author | Wengang Wang <wen.gang.wang@oracle.com> | Thu Oct 08 13:27:04 2015 +0800 |
committer | Doug Ledford <dledford@redhat.com> | Tue Dec 08 16:48:10 2015 -0500 |
tree | c5305adcf047948e7eb5d368b951c47940a1869c | |
parent | 73d4da7b9fec13cbddcf548888c4d0e46f1d5087 [diff] |
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>