[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170220.103202.2232789170855833380.davem@davemloft.net>
Date: Mon, 20 Feb 2017 10:32:02 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, tariqt@...lanox.com, saeedm@...lanox.com
Subject: Re: [PATCH net] mlx4: reduce OOM risk on arches with large pages
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Sat, 18 Feb 2017 10:34:18 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> 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@...gle.com>
Applied.
Powered by blists - more mailing lists