[v2,0/2] replace tight loop with wait until equal api
Message ID | 20211020030335.973360-1-feifei.wang2@arm.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4682FA0C45; Wed, 20 Oct 2021 05:03:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B1DF440683; Wed, 20 Oct 2021 05:03:46 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id EF34440142 for <dev@dpdk.org>; Wed, 20 Oct 2021 05:03:45 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4EFFE2F; Tue, 19 Oct 2021 20:03:45 -0700 (PDT) Received: from net-x86-dell-8268.shanghai.arm.com (net-x86-dell-8268.shanghai.arm.com [10.169.210.103]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id EF5853F694; Tue, 19 Oct 2021 20:03:43 -0700 (PDT) From: Feifei Wang <feifei.wang2@arm.com> To: Cc: dev@dpdk.org, nd@arm.com, Feifei Wang <feifei.wang2@arm.com> Date: Wed, 20 Oct 2021 11:03:33 +0800 Message-Id: <20211020030335.973360-1-feifei.wang2@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210825080127.495645-1-feifei.wang2@arm.com> References: <20210825080127.495645-1-feifei.wang2@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/2] replace tight loop with wait until equal api X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Feifei Wang
Oct. 20, 2021, 3:03 a.m. UTC
For dpdk/lib, directly use wait_until_equal API to replace tight loop. v2: 1. delete wrong 'volatile' in mcslock (David) Feifei Wang (2): eal/common: use wait until equal API for tight loop mcslock: use wait until equal API for tight loop lib/eal/common/eal_common_mcfg.c | 3 +-- lib/eal/include/generic/rte_mcslock.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-)