From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shards.monkeyblade.net ([184.105.139.130]:55490 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933575AbeCGShh (ORCPT ); Wed, 7 Mar 2018 13:37:37 -0500 Date: Wed, 07 Mar 2018 13:37:35 -0500 (EST) Message-Id: <20180307.133735.2061835034227402919.davem@davemloft.net> To: eric.dumazet@gmail.com Cc: netdev@vger.kernel.org, tariqt@mellanox.com, echun@google.com Subject: Re: [PATCH net-next] net/mlx4_en: try to use high order pages for RX rings From: David Miller In-Reply-To: <1520363573.109662.29.camel@gmail.com> References: <1520363573.109662.29.camel@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org List-ID: From: Eric Dumazet Date: Tue, 06 Mar 2018 11:12:53 -0800 > From: Eric Dumazet > > 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 Applied.