From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 1B3E37F25 for ; Wed, 5 Nov 2014 14:16:13 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 05 Nov 2014 05:24:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,319,1413270000"; d="scan'208";a="626968816" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by fmsmga002.fm.intel.com with ESMTP; 05 Nov 2014 05:24:22 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.82]) by IRSMSX104.ger.corp.intel.com ([169.254.5.58]) with mapi id 14.03.0195.001; Wed, 5 Nov 2014 13:24:22 +0000 From: "De Lara Guarch, Pablo" To: "Burakov, Anatoly" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] Fix regression for eal_flags_autotest introduced by tailq rework Thread-Index: AQHP+PG/Asu21eMryUq1h2guyA16Y5xSBZpA Date: Wed, 5 Nov 2014 13:24:21 +0000 Message-ID: References: <1415189477-19994-1-git-send-email-anatoly.burakov@intel.com> In-Reply-To: <1415189477-19994-1-git-send-email-anatoly.burakov@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] Fix regression for eal_flags_autotest introduced by tailq rework 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: Wed, 05 Nov 2014 13:16:15 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Anatoly Burakov > Sent: Wednesday, November 05, 2014 12:11 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] Fix regression for eal_flags_autotest > introduced by tailq rework >=20 > As a result of moving tailq's into local memory, some tailq data > is now reserved in rte_malloc heaps (because it needs to be > shared across DPDK processes). The first thing DPDK initializes > is a log mempool, and since it creates a tailq, it reserves > space in rte_malloc heap before allocating the mempool itself. > By default, rte_malloc allocates way more space than is necessary, > so under some conditions (namely, overall memory available is low) > this results in malloc heap eating up so much memory that log > mempool is not able to allocate its memzone. >=20 > This patch fixes the unit tests to account for that change. >=20 > Signed-off-by: Anatoly Burakov > --- Acked-by: Pablo de Lara