From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id F25761B3A9; Fri, 13 Jul 2018 00:01:24 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5C28421FAD; Thu, 12 Jul 2018 18:01:24 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 12 Jul 2018 18:01:24 -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=cnY876VdayqkipW7l6fMSRD8my HTH2e9XTaSIuC9Yr4=; b=sq4PYWQPyXJT129A3i+kPLzNTEFOIDLoHidaqvF2m2 k2vXvaJPAh7lOSaE4chKXYW6sPbOYZCZ8cVY7m8pykSKZg9MjD27yxVc9kPZDTF7 cbwopXrOK8wQEcfnJQmBrJOsJafm3sqcUyuuJFakWeK+AvyYcpZlinUMv8tGWII7 0= 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=fm3; bh=cnY876 VdayqkipW7l6fMSRD8myHTH2e9XTaSIuC9Yr4=; b=XIuA+Ypk1UehmS4Tin3FF5 CSr58p62Ba2n69h6eG0YJr8Hzdf8lJNHtb6B9awAffKigvCXAPUnaxB9eBTd8Fuh NybVUmc0OkLq4oqWyJYx7+T0VHD4ZE3M8Mqe11UqoU5owPDR/mbgm2q7lx5HRWMT o2DiHbIsio1xjlOIyRowLluy0TVo3ax3bN7Uyq8M4GV6Q9NpnqCl1TLXxYXK7Qcu syQ9T4hmPZB31xFaZCoR0iz5tAwZQnooT3SFjD1XkJCxpPsBR5xWYnIqKIHX4F39 BH425WYuQXt7Ciz3faD2EVt9l4dEv0NW1ZCc/gRrU/0QuXlkohlCSS8oBh5zGfuA == X-ME-Proxy: 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 6FD5E10269; Thu, 12 Jul 2018 18:01:23 -0400 (EDT) From: Thomas Monjalon To: Dariusz Stojaczyk Cc: dev@dpdk.org, Dariusz Stojaczyk , Anatoly Burakov , stable@dpdk.org Date: Fri, 13 Jul 2018 00:01:22 +0200 Message-ID: <2482839.cxCvJVhnrX@xps> In-Reply-To: <20180615151304.32032-1-darek.stojaczyk@gmail.com> References: <20180615122448.28118-1-darek.stojaczyk@gmail.com> <20180615151304.32032-1-darek.stojaczyk@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] memory: make eal_get_virtual_area() aware of base-virtaddr alignment 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: Thu, 12 Jul 2018 22:01:25 -0000 15/06/2018 17:13, Dariusz Stojaczyk: > From: Dariusz Stojaczyk > > Whenever a calculated base-virtaddr offset had to be > manually aligned to requested page_sz, we did not take > account of that alignment in incrementing the base-virtaddr > offset further. The next requested virtual area could print > a warning "hint [...] not respected!" and let the system > pick an address instead. As a result, this breaks secondary > process support on many system configurations. > > Fixes: b7cc54187ea4 ("mem: move virtual area function in common directory") > Cc: anatoly.burakov@intel.com > Cc: stable@dpdk.org > > Signed-off-by: Dariusz Stojaczyk > Acked-by: Anatoly Burakov Applied, thanks