From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 3BA09E07 for ; Mon, 30 Apr 2018 15:37:53 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 80147226F4; Mon, 30 Apr 2018 09:37:53 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 30 Apr 2018 09:37:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=Q6heW/+xVU8JjXlyE0yF7SXjyO yLIu+gzLdpUyKchLE=; b=QK0M6UxgOJi9tiHvXCAIRUCMr7M+gEOY7+IMSTD68f 5MOXeaRbVorrZxUVqpSNirtC7R+KxJGB8wH1ihfu0RuGo1K3mspDDvvNbHLvMCSD zWULk53NQlAt7iYf87TSVDeewEhS97UEQZVU6DMfsE9VI9h8U6588CgjDdNF7D1x A= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Q6heW/ +xVU8JjXlyE0yF7SXjyOyLIu+gzLdpUyKchLE=; b=eH6r9UIaGzcTiIXCSltR4l GE8T/jdpxXE9LzvpvvIz/AX2Ps1LnfzsuZ5XQKGYDFhjN82Z4KDGHNNcxK357rEN 3mcCx5cCgib7a6E+CFuBGm/pkuu0uhBwcLWOYlVwdayA6Ga7m4Tq1jprVLhnvyJz 7T52GwUCQyoKD3zjX9N5I4IDyPSFsUZ6HO4i/YBWrPBgnGC7xDJ+U0ln3ZQankrG VhrkqvzQFFKCqXzxRqGqCJFefBpUb6YwyZWVAPAziDuUGpiw6BgF8ff0gFXNVX+Z DSwIxPlGeuzz5AeZNhNDtG2E9aG1U/3rMdnKgjutBx26kY6z96/y2PtSzAm/DoAQ == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id EB28AE4FAF; Mon, 30 Apr 2018 09:37:52 -0400 (EDT) From: Thomas Monjalon To: Anatoly Burakov Cc: dev@dpdk.org Date: Mon, 30 Apr 2018 15:37:51 +0200 Message-ID: <1689407.QUY7lr2aKd@xps> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] mem: fix heap size not set on init X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2018 13:37:54 -0000 25/04/2018 15:42, Anatoly Burakov: > When heap initializes, we need to add already allocated segments > onto the heap. However, in doing that, we never increased total > heap size. Fix it by adding segment length to total heap length > when initializing the heap. > > Fixes: 66cc45e293ed ("mem: replace memseg with memseg lists") > Cc: anatoly.burakov@intel.com > > Signed-off-by: Anatoly Burakov Applied, thanks