https://github.com/torvalds/linux
Revision 0ef2f05c7e02ff99c0b5b583d7dee2cd12b053f2 authored by Wengang Wang on 08 October 2015, 05:27:04 UTC, committed by Doug Ledford on 08 December 2015, 21:48:10 UTC
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>
1 parent 73d4da7
History
Tip revision: 0ef2f05c7e02ff99c0b5b583d7dee2cd12b053f2 authored by Wengang Wang on 08 October 2015, 05:27:04 UTC
IB/mlx4: Use vmalloc for WR buffers when needed
Tip revision: 0ef2f05

back to top