Re: [PATCH net-next] net/mlx4_en: remove fallback after kzalloc_node()

2018-12-17 Thread David Miller
From: Eric Dumazet Date: Thu, 13 Dec 2018 03:03:37 -0800 > kzalloc_node(..., GFP_KERNEL, node) will attempt to allocate > memory as close as possible to the node. > > There is no need to fallback to kzalloc() if this has failed. > > Signed-off-by: Eric Dumazet > Cc: Tariq Toukan I think I ga

Re: [PATCH net-next] net/mlx4_en: remove fallback after kzalloc_node()

2018-12-15 Thread David Miller
From: Eric Dumazet Date: Thu, 13 Dec 2018 03:03:37 -0800 > kzalloc_node(..., GFP_KERNEL, node) will attempt to allocate > memory as close as possible to the node. > > There is no need to fallback to kzalloc() if this has failed. > > Signed-off-by: Eric Dumazet > Cc: Tariq Toukan Tariq, pleas

[PATCH net-next] net/mlx4_en: remove fallback after kzalloc_node()

2018-12-13 Thread Eric Dumazet
kzalloc_node(..., GFP_KERNEL, node) will attempt to allocate memory as close as possible to the node. There is no need to fallback to kzalloc() if this has failed. Signed-off-by: Eric Dumazet Cc: Tariq Toukan --- drivers/net/ethernet/mellanox/mlx4/en_cq.c | 7 ++- drivers/net/ethernet/mell