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
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 5.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.9 KB
Kbuild -rw-r--r-- 2.6 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 328.5 KB
Makefile -rw-r--r-- 53.5 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top