diff options
author | 2018-03-06 11:12:53 -0800 | |
---|---|---|
committer | 2018-03-07 13:35:23 -0500 | |
commit | d8c13f2271ec5178c52fbde072ec7b562651ed9d (patch) | |
tree | b55e4feec8a7ec1863fd33ed589f732d36dfc6a9 /kernel | |
parent | enic: fix boolreturn.cocci warnings (diff) | |
download | linux-dev-d8c13f2271ec5178c52fbde072ec7b562651ed9d.tar.xz linux-dev-d8c13f2271ec5178c52fbde072ec7b562651ed9d.zip |
net/mlx4_en: try to use high order pages for RX rings
RX rings can fit most of the time in a contiguous piece of memory,
so lets use kvzalloc_node/kvfree instead of vzalloc_node/vfree
Note that kvzalloc_node() automatically falls back to another node,
there is no need to do the fallback ourselves.
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 'kernel')
0 files changed, 0 insertions, 0 deletions