[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170119.233634.805237080507453193.davem@davemloft.net>
Date: Thu, 19 Jan 2017 23:36:34 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, khlebnikov@...dex-team.ru,
tariqt@...lanox.com
Subject: Re: [PATCH net-next] mlx4: support __GFP_MEMALLOC for rx
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 17 Jan 2017 20:14:10 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> Commit 04aeb56a1732 ("net/mlx4_en: allocate non 0-order pages for RX
> ring with __GFP_NOMEMALLOC") added code that appears to be not needed at
> that time, since mlx4 never used __GFP_MEMALLOC allocations anyway.
>
> As using memory reserves is a must in some situations (swap over NFS or
> iSCSI), this patch adds this flag.
>
> Note that this driver does not reuse pages (yet) so we do not have to
> add anything else.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied, thanks Eric.
Powered by blists - more mailing lists