From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 244E323D for ; Thu, 26 Jul 2018 11:18:20 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 9853A21B00; Thu, 26 Jul 2018 05:18:19 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 26 Jul 2018 05:18:19 -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=uB7VLeT87hoeHrRCY9f0YGEmug Ny2yjqgmEJ86jhepY=; b=UBED/hCPujzzzT34g0LU0QfoKJqbFraUyca0tYiAXP U/Am2eSJjXoTdY5BwCCqyRCjS50LkTyZV8UY3zzWhJJTTpLR6Mu5eNWMy0SV5xAw Q1czgM0PA8rhCaUs+5kFfSor7ny73bTDr/eR6Fw1yBNE/TX8MpAN2MG7aZihAZOm k= 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=uB7VLe T87hoeHrRCY9f0YGEmugNy2yjqgmEJ86jhepY=; b=CWjyfmOqDP8ccYMxe1VMcy Vv/gZhiNzHCWK3ciuzV3sl+m2hry9eoug7tRxjORag+VFrykqeu8A8AsxlbtMmwN Ey7mFWFu2FXnVQ1J8LtflscXLjp//4UVWBvBwfQTH8Z7rEsOSklYJBX9mfUDEh3a c1XfvRS3KUWYpsuU37s0bQqRRhzIq/shjtXS1iaaER4L+Jn9VX0zd59YW7EEl4DE zA4KhDLXzyotN9Bys6vWpU2UWBdJLO6A47VQSoIGEKNQdHtfGE8QauavO1lLpS3/ AItrILZRp8cHUXb5lJisyMJDpr5GJ0WADsyw80PwDRoCG4cJ+MzjbVbrzX6QpZdg == 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 74C4410277; Thu, 26 Jul 2018 05:18:18 -0400 (EDT) From: Thomas Monjalon To: Anatoly Burakov Cc: dev@dpdk.org, john.mcnamara@intel.com, zhihong.wang@intel.com, qian.q.xu@intel.com, yu.y.liu@intel.com, lei.a.yao@intel.com, maxime.coquelin@redhat.com Date: Thu, 26 Jul 2018 11:18:13 +0200 Message-ID: <23947652.nx9p32IzIJ@xps> In-Reply-To: <0957f38f12ba6df24f0b48f24fe8236a6ce50efc.1532434698.git.anatoly.burakov@intel.com> References: <0957f38f12ba6df24f0b48f24fe8236a6ce50efc.1532434698.git.anatoly.burakov@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] Revert "mem: allocate in reverse to reduce fragmentation" 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, 26 Jul 2018 09:18:20 -0000 24/07/2018 14:21, Anatoly Burakov: > This reverts commit 179f916e88e4a0fdd5ad4d20e226771d3d271c41. > > A few regressions with virtio/vhost have been discovered, due to the > strong dependency of virtio/vhost on the underlying memory layout. > Specifically, virtio/vhost share all memory pages starting from the > beginning of the segment, while the patch above made it so that the > memory is always allocated from the top of VA space, not from the > bottom. > > Signed-off-by: Anatoly Burakov Applied with this fun title: mem: revert reversed allocation