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 533A1330D for ; Sat, 1 Jul 2017 13:14:56 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E9768207B7; Sat, 1 Jul 2017 07:14:55 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Sat, 01 Jul 2017 07:14:55 -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:x-sasl-enc; s=mesmtp; bh=9LHtKGEihCQjfif vSBAfCBF3vjw7iA2vOoBSpdGrsRY=; b=VyvtC1n8Kveq1l9JjP/qIVPiqH2e7Ch h10TZ0Oa0Qf5B9kDEDuDP8UfFqtw6JkQDAJ2omO/8ayWmatvamNjoiTuiHx6hyml 4mB2dJJ1MCNEg73+WmsdFumtp51ZB+Av5c6KLZ7qOaeaojrjrv8gT2tKbHgqlKTV xAMtv9T4mg1U= 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:x-sasl-enc; s= fm1; bh=9LHtKGEihCQjfifvSBAfCBF3vjw7iA2vOoBSpdGrsRY=; b=l+km1of8 Xbdpm4w9zVSp8tpIsj1QWb1cAocGW4fsOfjI5xrr2f5Gcp/fyiblkVq2JLzYfIu8 ak7+hFp/2Y54D09EtHGl/oplJ7bQ9F60cOkLPgU+FAx4MYl9NAf3BLylOIsgI7V9 S5x98ysHWDrQOFm4HZC1gzz5vflTu0GAQMe55uLJpZZZ5phxoLA/yPutWN06ktJu OGus+0AYmmJO0bkBQhub4L9QV/J2DZDXhT/vY/zjmdjq482r7CH6fYfelEqUm7Ob pnmw/Ex0kGjKgyFPPAxgknU5VkTcmpk7QuQQakgJ+R0Pp933+G4kTUllG/oV8VqG qfRinBiPPfX8oQ== X-ME-Sender: X-Sasl-enc: crmlhYQNLj2aU2ScHfRKTy7AzsnRdgsmHnkhuUETArZj 1498907695 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 9F5A3240AF; Sat, 1 Jul 2017 07:14:55 -0400 (EDT) From: Thomas Monjalon To: Daniel Verkamp Cc: dev@dpdk.org, Olivier Matz Date: Sat, 01 Jul 2017 13:14:54 +0200 Message-ID: <4057935.qMb1xRYjf6@xps> In-Reply-To: <20170630133602.63d4f9ca@platinum> References: <20170602200337.50743-1-daniel.verkamp@intel.com> <20170602201213.51143-1-daniel.verkamp@intel.com> <20170630133602.63d4f9ca@platinum> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] ring: use aligned memzone allocation 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: Sat, 01 Jul 2017 11:14:56 -0000 30/06/2017 13:36, Olivier Matz: > On Fri, 2 Jun 2017 13:12:13 -0700, Daniel Verkamp wrote: > > rte_memzone_reserve() provides cache line alignment, but > > struct rte_ring may require more than cache line alignment: on x86-64, > > it needs 128-byte alignment due to PROD_ALIGN and CONS_ALIGN, which are > > 128 bytes, but cache line size is 64 bytes. > > > > Fixes runtime warnings with UBSan enabled. > > > > Fixes: d9f0d3a1ffd4 ("ring: remove split cacheline build setting") > > > > Signed-off-by: Daniel Verkamp > > Acked-by: Olivier Matz Applied, thanks