From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konstantin Ananyev Subject: [PATCH v2 0/2] eal/x86: Optimize rte_smp_mb() and create a new test case for it Date: Mon, 18 Dec 2017 15:34:11 +0000 Message-ID: <1513611253-8785-1-git-send-email-konstantin.ananyev@intel.com> References: <1512126771-27503-2-git-send-email-konstantin.ananyev@intel.com> Cc: Konstantin Ananyev To: dev@dpdk.org Return-path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id F336C23D for ; Mon, 18 Dec 2017 16:34:23 +0100 (CET) In-Reply-To: <1512126771-27503-2-git-send-email-konstantin.ananyev@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" v2 changes: Address Bruce code-review comments: - get rid of macros to simplify the code - add more comments to the test case Konstantin Ananyev (2): test/test: introduce new test-case for rte_smp_mb() eal/x86: Use lock-prefixed instructions to reduce cost of rte_smp_mb() .../common/include/arch/x86/rte_atomic.h | 44 ++- test/test/Makefile | 1 + test/test/test_mb.c | 315 +++++++++++++++++++++ 3 files changed, 358 insertions(+), 2 deletions(-) create mode 100644 test/test/test_mb.c -- 2.13.5