From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 51A36378B for ; Mon, 18 Jul 2016 15:35:00 +0200 (CEST) Received: by mail-wm0-f43.google.com with SMTP id o80so117189856wme.1 for ; Mon, 18 Jul 2016 06:35:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=tgo9HNHUQZO0/a8Xd0BKQ9AV/KIRw8GzocumQzgsEyI=; b=gZvVCesvE7Krr3CXiGyPGUKDk/oVB2fiTOvsFX+batnZztR+TDWif0lDZZQGugjpRQ KG/rdoFL6dcwsrgXvVmAxZzplZ3chD4fGH9U0TFc4yEedI1KgU8hKDpWGS1o1CJ95lDj yRtm+z2AaFTQx8wdHPJ9HYjPDTtHxnpqBq/9Yyl58qgm+4UA6e3wGHoVTQ7UVlclWJ8t WBJtkkt0BgFgVItpJ476+pat9KDA26cORuj3dsv7q7Q5TI5cmD5a+XxoowiRSS6pnOJD fnVmgyav++ENgb4iNPztUIT6U53EYkPxDdVBoZwxAKEnD+kdIUuA7BXAMR8c2Zi+ga3c e6WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=tgo9HNHUQZO0/a8Xd0BKQ9AV/KIRw8GzocumQzgsEyI=; b=E67ZSPUV0dA33RWdKz+l5r//76QTzrtOyoCVxaw5mMVgxEL1Uxvk8SSUPFXJYtH+mo r+RCQDybmKSQg0LOffbxqEVdGm7KBkvUJK06DvlRFhv72KNcfavycMFigR8hN+ZQhOI/ 4Mi0jsYyOobhK5rN/sUtHTob5MX4mV3PfZK+srH3X3P+bs4/Mwvj+QVaz5BqtSl5QQdj jygyP8dW5JPPp9qYLw28OCkQFUOxVSI/2hB5lQ+AczUPh34bEJVFK9dmMTinh3BwTigs 1DXXXqXvA/FE1W/f/96E3qG/3V4HZyLh4FPRIynPhQOt5OEK9vNNSA09Ck1fwUG+SqV3 P+JQ== X-Gm-Message-State: ALyK8tJRAAbWOum0WJSJXuHAESVmnjd6nQbLpQqWIU3Rc9PgcaZnu+qSqd+ynQLkzQnv9Xgj X-Received: by 10.194.3.114 with SMTP id b18mr1268312wjb.170.1468848900059; Mon, 18 Jul 2016 06:35:00 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id p76sm16773578wmd.10.2016.07.18.06.34.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Jul 2016 06:34:59 -0700 (PDT) From: Thomas Monjalon To: Sergio Gonzalez Monroy Cc: Olivier Matz , "Xu, HuilongX" , dev@dpdk.org, "Cao, Waterman" , "Chen, WeichunX" Date: Mon, 18 Jul 2016 15:34:58 +0200 Message-ID: <1536495.S7tBJyRKdq@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <3d95435f-b253-7291-d2fd-24cba2a66ea0@intel.com> References: <0f4d2722-a9ed-1203-29df-46ad8a169cd7@6wind.com> <3d95435f-b253-7291-d2fd-24cba2a66ea0@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] mutli process C/S model example init failed on xen dom0 with dpdk-16.07 rc2 package X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2016 13:35:00 -0000 2016-07-18 14:15, Sergio Gonzalez Monroy: > On 18/07/2016 12:49, Olivier Matz wrote: > > On 07/18/2016 01:33 PM, Sergio Gonzalez Monroy wrote: > >> On 12/07/2016 12:30, Olivier MATZ wrote: > >>> I think we cannot expect that memory is initialized at 0 when using > >>> Xen dom0. If I add the following (dirty) patch, I don't see a crash > >>> anymore: > >> I don't have a Xen system available right now, but I'm not sure I follow > >> here. > >> Are you saying that when we allocate pages/hugepages from Xen they are > >> not zeroed? > > I did not check it, but from the tests I've done, I suppose they're not. > > If that is the case then I would suggest to zero all memory on EAL init > (only for Xen) so > all memory is zeroed after init for both Linux and Xen. > > What do you think about that? It is an idea. It is probable that you won't have any answer as the Xen support is unmaintained: http://dpdk.org/ml/archives/dev/2016-July/043875.html Feel free to make a patch to try fixing it or we can remove this whole dead code.