From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 3/3] eal: attempt multiple hugepage allocations at init Date: Thu, 28 Mar 2019 23:22:23 +0100 Message-ID: <3860429.Y1zGKIDizg@xps> References: <0a770fb3968c0a270eb57ff7764d6fba4cf6f76d.1550851998.git.anatoly.burakov@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, maxime.leroy@6wind.com To: Anatoly Burakov Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id AB7ED1B05 for ; Thu, 28 Mar 2019 23:22:26 +0100 (CET) In-Reply-To: <0a770fb3968c0a270eb57ff7764d6fba4cf6f76d.1550851998.git.anatoly.burakov@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 22/02/2019 17:14, Anatoly Burakov: > When requesting memory with ``-m`` or ``--socket-mem`` flags, > currently the init will fail if the requested memory amount was > bigger than any one memseg list, even if total amount of > available memory was sufficient. > > Fix this by making EAL to attempt to allocate pages multiple > times, until we either fulfill our memory requirements, or run > out of hugepages to allocate. > > Bugzilla ID: 95 > > Signed-off-by: Anatoly Burakov Series applied, thanks