diff options
author | 2017-02-18 10:34:18 -0800 | |
---|---|---|
committer | 2017-02-20 10:31:50 -0500 | |
commit | 3608b13ccc51d06e499dfe12b27f134de1286e28 (patch) | |
tree | 769119cec70d8346762167c79335d677015c02b4 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue (diff) | |
download | linux-dev-3608b13ccc51d06e499dfe12b27f134de1286e28.tar.xz linux-dev-3608b13ccc51d06e499dfe12b27f134de1286e28.zip |
mlx4: reduce OOM risk on arches with large pages
Since mlx4 NIC are used on PowerPC with 64K pages, we need to adapt
MLX4_EN_ALLOC_PREFER_ORDER definition.
Otherwise, a fragment sitting in an out of order TCP queue can hold
0.5 Mbytes and it is a serious OOM risk.
Fixes: 51151a16a60f ("mlx4: allow order-0 memory allocations in RX path")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions