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 5E8B2A0A0F; Fri, 4 Jun 2021 21:57:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DE9434068F; Fri, 4 Jun 2021 21:57:23 +0200 (CEST) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mails.dpdk.org (Postfix) with ESMTP id A13C840147 for ; Fri, 4 Jun 2021 21:57:22 +0200 (CEST) Received: by mail-pf1-f169.google.com with SMTP id u126so4237264pfu.13 for ; Fri, 04 Jun 2021 12:57:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tiypfGZkHiBt40OZUjiJwcK4pzqSnyZpU0Wk941sIvA=; b=B/jMr7i4zNzJOOSx2uPbGmRkqAzS6VhWg0WtwFMpHGiREXElJtDCvnP/qI1sK/Iq4t vngdH0mRb+T0+3xZQR5PtJDtWqKLF5ekEYjAIarzkDRcD0aqXdAI7JBHDZLl75qOw3nS OB8X1O5rXATBiAQ2wwlFsnaYYV9yqmNr72ieokq75F2TtUGNr/8HtvSfgj2P7LKQqaLz o2oOjLOrUkttD0hNwTFq8Abo1y9DRG/kkMto5s80bIsCBlidxckMN/qCawoUwqSZ8sSJ mt7RUYsvfS8ql8nnjy1sT+uwhP7ZCLsUzYMAtM8+DlHcVDql2n/do+qUgOT63qGvaQWV ic3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tiypfGZkHiBt40OZUjiJwcK4pzqSnyZpU0Wk941sIvA=; b=oK5JoI9rVXEJCGqDubq+zNW6AChhT6rBxwPqymCQ0n67cjURIzL2dSw0rMYlVug0D1 0b2jQS7H9GT+eVHk6nCba91kNXfpqgvOCO7YR88DPFayDxrqfdKIV5D9gu1uv3qg/pOA 8CSUCAKFKx1kqBtrhm77DOKIvxTw6Xp7cXnC6hkPlI9GbFRKu6/GNUSXhulPfnFuDRVg Pt+H1pwi03vI3ZLRLyNmWR0Z7zoVkG/dECaKO//5EVehPuZOwEGLcwQQ0tNosonTl/K1 M2QZoOjs8ozm917zV6OK+5I+I04/m8VcDTptW/F/sRR2ZMMHDIFa+lAJ5q79Z/xuY9tz dCTg== X-Gm-Message-State: AOAM5307sFJF9gYparjzj57MIeXCRd7rZ+iZPXtXKajurl+Q7e9oHCis 7jMxefjtPbezkS1TnEFcBM4m/Q== X-Google-Smtp-Source: ABdhPJxgLnktaXBb8RHzQQXvJ52gfnxGy15dUcwZfOoOs+g19zcdsmLHbIK1wEbvUZ3XIsR5FVgRkA== X-Received: by 2002:a62:7d82:0:b029:2de:2c39:c6a4 with SMTP id y124-20020a627d820000b02902de2c39c6a4mr6340732pfc.75.1622836641515; Fri, 04 Jun 2021 12:57:21 -0700 (PDT) Received: from hermes.local (76-14-218-44.or.wavecable.com. [76.14.218.44]) by smtp.gmail.com with ESMTPSA id k12sm2632854pga.13.2021.06.04.12.57.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Jun 2021 12:57:21 -0700 (PDT) Date: Fri, 4 Jun 2021 12:57:14 -0700 From: Stephen Hemminger To: Joyce Kong Cc: thomas@monjalon.net, david.marchand@redhat.com, olivier.matz@6wind.com, andrew.rybchenko@oktetlabs.ru, harry.van.haaren@intel.com, honnappa.nagarahalli@arm.com, ruifeng.wang@arm.com, dev@dpdk.org, nd@arm.com Message-ID: <20210604125714.67891b58@hermes.local> In-Reply-To: <20210604094624.31308-1-joyce.kong@arm.com> References: <20210604094624.31308-1-joyce.kong@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v1 0/8] use GCC's C11 atomic builtins for test 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 Fri, 4 Jun 2021 04:46:16 -0500 Joyce Kong wrote: > Since C11 memory model is adopted in DPDK now[1], use GCC's > atomic builtins in test cases. > > [1]https://www.dpdk.org/blog/2021/03/26/dpdk-adopts-the-c11-memory-model/ > > Joyce Kong (8): > test/ticketlock: use GCC atomic builtins for lcores sync > test/spinlock: use GCC atomic builtins for lcores sync > test/rwlock: use GCC atomic builtins for lcores sync > test/mcslock: use GCC atomic builtins for lcores sync > test/mempool: remove unused variable for lcores sync > test/mempool_perf: use GCC atomic builtins for lcores sync > test/service_cores: use GCC atomic builtins for lock sync > test/rcu_perf: use GCC atomic builtins for data sync > > app/test/test_mcslock.c | 13 +++-- > app/test/test_mempool.c | 5 -- > app/test/test_mempool_perf.c | 12 ++--- > app/test/test_rcu_qsbr_perf.c | 98 +++++++++++++++++------------------ > app/test/test_rwlock.c | 9 ++-- > app/test/test_service_cores.c | 36 +++++++------ > app/test/test_spinlock.c | 10 ++-- > app/test/test_ticketlock.c | 9 ++-- > 8 files changed, 93 insertions(+), 99 deletions(-) > Thanks, I did this for pflock tests during review cycle Acked-by: Stephen Hemminger