From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal/ppc: fix secondary process to map hugepages in correct order Date: Tue, 22 Mar 2016 12:36:19 +0100 Message-ID: <2090665.MjcR1UzGxo@xps13> References: <1457360003-30055-1-git-send-email-gowrishankar.m@linux.vnet.ibm.com> <56EA3B33.4040000@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, gowrishankar To: Sergio Gonzalez Monroy Return-path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id CDDB32BA9 for ; Tue, 22 Mar 2016 12:37:59 +0100 (CET) Received: by mail-wm0-f48.google.com with SMTP id p65so159215574wmp.0 for ; Tue, 22 Mar 2016 04:37:59 -0700 (PDT) In-Reply-To: <56EA3B33.4040000@linux.vnet.ibm.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Sergio, your help is required here. Thanks 2016-03-17 10:35, gowrishankar: > Could this patch be reviewed please. > > Thanks, > Gowrishankar > > On Monday 07 March 2016 07:43 PM, Gowrishankar wrote: > > From: Gowri Shankar > > > > For a secondary process address space to map hugepages from every segment of > > primary process, hugepage_file entries has to be mapped reversely from the > > list that primary process updated for every segment. This is for a reason that, > > in ppc64, hugepages are sorted for decrementing addresses. > > > > Signed-off-by: Gowrishankar > > --- > > lib/librte_eal/linuxapp/eal/eal_memory.c | 26 ++++++++++++++++---------- > > 1 file changed, 16 insertions(+), 10 deletions(-)