From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 7FA0D397D for ; Mon, 15 Jan 2018 16:05:04 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jan 2018 07:05:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,364,1511856000"; d="scan'208";a="22343709" Received: from sivswdev02.ir.intel.com (HELO localhost.localdomain) ([10.237.217.46]) by fmsmga001.fm.intel.com with ESMTP; 15 Jan 2018 07:05:02 -0800 From: Konstantin Ananyev To: dev@dpdk.org Cc: Konstantin Ananyev Date: Mon, 15 Jan 2018 15:04:38 +0000 Message-Id: <1516028680-2342-1-git-send-email-konstantin.ananyev@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: <1513611253-8785-2-git-send-email-konstantin.ananyev@intel.com> References: <1513611253-8785-2-git-send-email-konstantin.ananyev@intel.com> Subject: [dpdk-dev] [PATCH v3 0/2] eal/x86: Optimize rte_smp_mb() and create a new test case for it 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: Mon, 15 Jan 2018 15:05:04 -0000 v3 changes: Address Thomas and Keith code-review comments: - for readability, use "barrier" instead of "mb" in function and file naming. - Use SPDX tag for license header. 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_barrier.c | 286 +++++++++++++++++++++ 3 files changed, 329 insertions(+), 2 deletions(-) create mode 100644 test/test/test_barrier.c -- 2.13.6