From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BE434A2F6B for ; Tue, 8 Oct 2019 11:36:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 02EE21C216; Tue, 8 Oct 2019 11:36:31 +0200 (CEST) Received: from proxy.6wind.com (host.76.145.23.62.rev.coltfrance.com [62.23.145.76]) by dpdk.org (Postfix) with ESMTP id CA7571C20B for ; Tue, 8 Oct 2019 11:36:29 +0200 (CEST) Received: from glumotte.dev.6wind.com (unknown [10.16.0.195]) by proxy.6wind.com (Postfix) with ESMTP id B1F0A329979; Tue, 8 Oct 2019 11:36:29 +0200 (CEST) Date: Tue, 8 Oct 2019 11:36:29 +0200 From: Olivier Matz To: Andrew Rybchenko Cc: Vamsi Krishna Attunuru , dev@dpdk.org, Thomas Monjalon , Anatoly Burakov , Jerin Jacob Kollanukkaran , Kokkilagadda , Ferruh Yigit Message-ID: <20191008093629.GV7277@glumotte.dev.6wind.com> References: <20190719133845.32432-1-olivier.matz@6wind.com> <20190719133845.32432-2-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [dpdk-dev] [RFC 1/4] mempool: clarify default populate function X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Jul 19, 2019 at 06:42:06PM +0300, Andrew Rybchenko wrote: > On 7/19/19 4:38 PM, Olivier Matz wrote: > > No functional change. Clarify the populate function to make > > the next commit easier to understand. > > > > Rename the variables: > > - to avoid negation in the name > > - to have more understandable names > > > > Remove useless variable (no_pageshift is equivalent to pg_sz == 0). > > > > Remove duplicate affectation of "external" variable. > > > > Signed-off-by: Olivier Matz > > LGTM > > Reviewed-by: Andrew Rybchenko > I submitted this one in a separate patch: http://patchwork.dpdk.org/patch/60687/