From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: Re: [PATCH v3 4/9] memalloc: rename lock list to fd list Date: Thu, 13 Sep 2018 17:19:35 +0200 Message-ID: <41c2b527-2c7a-d6d0-8455-901bb0a53d5b@redhat.com> References: <50837ea5ba781e6ec382d7159a1fcb83b8e5e124.1536073997.git.anatoly.burakov@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: tiwei.bie@intel.com, ray.kinsella@intel.com, zhihong.wang@intel.com, kuralamudhan.ramakrishnan@intel.com To: Anatoly Burakov , dev@dpdk.org Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 49E841AEF0 for ; Thu, 13 Sep 2018 17:19:41 +0200 (CEST) In-Reply-To: <50837ea5ba781e6ec382d7159a1fcb83b8e5e124.1536073997.git.anatoly.burakov@intel.com> Content-Language: en-US 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 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 > --- > lib/librte_eal/linuxapp/eal/eal_memalloc.c | 66 ++++++++++++---------- > 1 file changed, 37 insertions(+), 29 deletions(-) > Reviewed-by: Maxime Coquelin