From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <maxime.coquelin@redhat.com>
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28])
 by dpdk.org (Postfix) with ESMTP id 49E841AEF0
 for <dev@dpdk.org>; Thu, 13 Sep 2018 17:19:41 +0200 (CEST)
Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com
 [10.5.11.16])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.redhat.com (Postfix) with ESMTPS id 823CC30B9318;
 Thu, 13 Sep 2018 15:19:40 +0000 (UTC)
Received: from [10.36.112.13] (unknown [10.36.112.13])
 by smtp.corp.redhat.com (Postfix) with ESMTPS id 64BB05C21E;
 Thu, 13 Sep 2018 15:19:37 +0000 (UTC)
To: Anatoly Burakov <anatoly.burakov@intel.com>, dev@dpdk.org
Cc: tiwei.bie@intel.com, ray.kinsella@intel.com, zhihong.wang@intel.com,
 kuralamudhan.ramakrishnan@intel.com
References: <cover.1536073996.git.anatoly.burakov@intel.com>
 <50837ea5ba781e6ec382d7159a1fcb83b8e5e124.1536073997.git.anatoly.burakov@intel.com>
From: Maxime Coquelin <maxime.coquelin@redhat.com>
Message-ID: <41c2b527-2c7a-d6d0-8455-901bb0a53d5b@redhat.com>
Date: Thu, 13 Sep 2018 17:19:35 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <50837ea5ba781e6ec382d7159a1fcb83b8e5e124.1536073997.git.anatoly.burakov@intel.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16
 (mx1.redhat.com [10.5.110.49]); Thu, 13 Sep 2018 15:19:40 +0000 (UTC)
Subject: Re: [dpdk-dev] [PATCH v3 4/9] memalloc: rename lock list to fd list
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Sep 2018 15:19:41 -0000



On 09/04/2018 05:15 PM, Anatoly Burakov wrote:
> Previously, we were only using lock lists to store per-page lock fd's
> because we cannot use modern fcntl() file description locks to lock
> parts of the page in single file segments mode.
> 
> Now, we will be using this list to store either lock fd's (along with
> memseg list fd) in single file segments mode, or per-page fd's (and set
> memseg list fd to -1), so rename the list accordingly.
> 
> Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
> ---
>   lib/librte_eal/linuxapp/eal/eal_memalloc.c | 66 ++++++++++++----------
>   1 file changed, 37 insertions(+), 29 deletions(-)
> 

Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>