From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C17C9A0C45; Wed, 20 Oct 2021 08:20:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A1EB341154; Wed, 20 Oct 2021 08:20:27 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 99FEA40142 for ; Wed, 20 Oct 2021 08:20:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634710822; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ELbs3XbOR89v86qZljixrTSZzFry0PL93YDS+zaH+lU=; b=fHzdS2oYlZqxZCBCYhf5X0dVZIoI+cMmPwKNJGXAKGuvguj4/zqI6m1KfRZQO37+QuMzpR tT6y1I4QV5OLSmtSnrXXBUxdgrT0ekmRvD2QjNahFpGch5P5chpCUlNkh03StBlaKRn1xn zDtOXMHKejl3tyNPfKktBhrR7qePjto= Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-345-VWYD34m7P3KGlY4PRwE_mw-1; Wed, 20 Oct 2021 02:20:20 -0400 X-MC-Unique: VWYD34m7P3KGlY4PRwE_mw-1 Received: by mail-lj1-f197.google.com with SMTP id 132-20020a2e058a000000b00210aeaca823so1408485ljf.10 for ; Tue, 19 Oct 2021 23:20:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ELbs3XbOR89v86qZljixrTSZzFry0PL93YDS+zaH+lU=; b=QImsYXn6NeQpOBWN4QxgFiEgIPAT9e5KyLqelobYlpP3xcR81yzGzYh91JRJyqnMgp Hy5FkxhY/DzYJGvyNDmeJLf4hGGcgcDXqvVQydmABp816biIyS3b1n8WqX+lQzOJ6SD0 RQ+PSrpQmU09S/KtUbnDI0pHt8mOTDyD/eYHFvgidSwtxbrWs6GsIuBkzhmiJCFKPE2o qOKls+G/QzD/Jf+csgkFeci98C3oHHIx/oAUGcCHsvjIdsuYrFoiaWIBuM5t6217qyT7 +JdATCqePeA6UT79rN2k/E5499cDvoK7HgCpnJBmKCIglZ392Ai+D5t2sMGlKNT/qbLe eo6A== X-Gm-Message-State: AOAM533Ac6nBa/c/MTsKMYqH+tmbuC+qSGCEUUnV6Ne7tuG/4t88HQQl X4TGbcYiIaaNVn5waVl8gtWz2ZbtpuQ3faVcpeDOG7FoXaugIvIyM31gpiekgcPHDTiiHIEkPCN gAHgVghUBhVRb7eu7jUM= X-Received: by 2002:a05:6512:a8e:: with SMTP id m14mr10279770lfu.575.1634710819394; Tue, 19 Oct 2021 23:20:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlkL+3fuba665uLylK3qS2fzhztum8+o63rb0AWuOypQSdwbEka0y4SmZsHL4pnskeAEhoc2xbtbcRW2p0rHo= X-Received: by 2002:a05:6512:a8e:: with SMTP id m14mr10279760lfu.575.1634710819229; Tue, 19 Oct 2021 23:20:19 -0700 (PDT) MIME-Version: 1.0 References: <20210825080127.495645-1-feifei.wang2@arm.com> <20211020030335.973360-1-feifei.wang2@arm.com> In-Reply-To: <20211020030335.973360-1-feifei.wang2@arm.com> From: David Marchand Date: Wed, 20 Oct 2021 08:20:08 +0200 Message-ID: To: Feifei Wang Cc: dev , nd , Ruifeng Wang Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Oct 20, 2021 at 5:03 AM Feifei Wang wrote: > > 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(-) > Series applied, thanks. -- David Marchand