From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f46.google.com (mail-lf0-f46.google.com [209.85.215.46]) by dpdk.org (Postfix) with ESMTP id 487C54CE6 for ; Thu, 21 Jul 2016 16:24:25 +0200 (CEST) Received: by mail-lf0-f46.google.com with SMTP id b199so63570466lfe.0 for ; Thu, 21 Jul 2016 07:24:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=UmsYfZMhWMP6xJj936Sa9Jt2aEIAdIRp8+BvtZAEX04=; b=x6kRw8iF04/7XcHuH721tJ9UohNgClFJnyG4k+l6ocooTe2iBpc9ndK+4yBtMsagLg 3lCX/O1w9WJ5dt+zo7t0MAKr03Q/DNhqJ3mN+G90wqG8gZofauOCVnpzriIV7MsRRBTp noho2lV7W6CsDEMKOZFmxqK7WRYmJZEGYlSjy6Wux2m23Yjx6DeHXaaj8KeIJSD6TvPs L8RAe0qzz9wtnCejkB3pPLVcVtcOX3ci2ubSYEtSi8UjOoem5kE/A/E3ID4yPpz65pu8 2QKckioZ1Rhnd/4N0be06fJIGfIUQSj00Ee2/aOMVo8FIz8uDBYn8SYdJ/vZsykiY0uL czNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=UmsYfZMhWMP6xJj936Sa9Jt2aEIAdIRp8+BvtZAEX04=; b=mfzLjg33limNy3sfenxDPXmjn7o7gOY3LyI/VgInytbbkRTZcwHjQMhb9NIk7Uohuo xwas+Z99rHJSSvHnFdnNjHbc0YRDudU6pXl4ScKnMvz3MzjvcROK3UWTsyJDOyiJH9y8 LhmU7265SM6wEAHDo2NvmL9MwqJP6k0z3axmK+xlIDUbsQlVX6xs1zCv9GiQ0+EYxJla 4Ef7Ut12gooyyhohYAXxjjIIx09t/x1t8/hew1tEtOaCBsNfJcx1g8kDeehV7kAQcNxo ojzMROrRQaBkQARXPbjA2gfdt5e7rcF8vdxD2cvzL5UELR/93o7nIn3w3bXQtn6vfKLZ kmVQ== X-Gm-Message-State: ALyK8tLS3sNJjBNVkSP5Qa8seMJ3HPpjRctU90Hd5ZARSBBh4w/Q2h6kzJlB+RDf8lgwwI4d X-Received: by 10.25.149.140 with SMTP id x134mr10908298lfd.76.1469111064941; Thu, 21 Jul 2016 07:24:24 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id 19sm1895575ljj.2.2016.07.21.07.24.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jul 2016 07:24:24 -0700 (PDT) From: Thomas Monjalon To: Chao Zhu Cc: dev@dpdk.org Date: Thu, 21 Jul 2016 16:24:23 +0200 Message-ID: <2952292.tI9mo3Bcbg@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1468549819-22764-1-git-send-email-chaozhu@linux.vnet.ibm.com> References: <1468549819-22764-1-git-send-email-chaozhu@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] EAL:fix memory barrier implementation on IBM POWER X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2016 14:24:25 -0000 2016-07-15 10:30, Chao Zhu: > On weak memory order architecture like POWER, rte_smp_wmb/rte_smp_rmb > need to use CPU instructions, not compiler barrier. This patch fixes > this. Also, to improve performance on PPC64, use light weight sync > instruction instead of sync instruction. > > Signed-off-by: Chao Zhu Applied, thanks