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 66D34A0C45; Fri, 11 Jun 2021 10:41:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DE9E340688; Fri, 11 Jun 2021 10:41:02 +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 495114014F for ; Fri, 11 Jun 2021 10:41:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623400860; 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=AJ6cUSbdYvaQAGnm6O6Pu8Zzyi7QkEH6MLnil++61Dg=; b=JzgfU1DCL2T/ySdZLt2lBjMCzSGtsmTS1zjNpLqvcA99JIaPrgqK/7yvF0dX/SYzkMvcJ8 Aq9wcBurovATymGoRYaN4/osx7Vjkf/xemJ64mXU+rfpmegaMz5HepymI6g/JnubKBYagN SzpmI2i2hYVOb6d3uOR6kze+TOTBAl8= Received: from mail-ua1-f72.google.com (mail-ua1-f72.google.com [209.85.222.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-207-Yh8rLIdlPs-aOPWe7ajKpg-1; Fri, 11 Jun 2021 04:40:57 -0400 X-MC-Unique: Yh8rLIdlPs-aOPWe7ajKpg-1 Received: by mail-ua1-f72.google.com with SMTP id a15-20020ab0684f0000b0290275ca73402eso932246uas.12 for ; Fri, 11 Jun 2021 01:40:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AJ6cUSbdYvaQAGnm6O6Pu8Zzyi7QkEH6MLnil++61Dg=; b=i/vk3GxgIGcYJStsW14JbccDvQuytwvaykSaWiHriGXfFYXfraQ1v61E1uPSlXCTjT bDnqt6mGfFYolbx+p/Pffh+ofMXyu5/rerEAZTi3f/byDJ+0DwLiwr0v/DL7u5cUTKs3 2C9d3kR9UiCIZ8FRNF4mpRw7q9jB+Kl9CFvBm+o1klhWr9DvkD2rR4XSSjudMPJzXey5 Dktc0CtmgcfLLwXxuUBCKqZjrIeFKolRGgbA9zqqqnECAL4V0nxN3kSGf28h264AnhiE syy7ck3tX7Vm9abaqhtc/ZNgjDqjZKwnGmelp1lPFqFUnqPoBsL9cinY0IrcJL5g2rtT nGGw== X-Gm-Message-State: AOAM532xKs58h/u8h2F1G+ZBZW7pwvLIRI/RcT2uN7+qRHXOfV+CP+V0 OZZqfaBEDIl9+ZcRSDvNTVJYTP0wEjNQl4de2JbiGq2z0WsF1q0+RoQ1I+RJi7Yu62kQTeUM+rA OOivX0v/6yelXnS010Ys= X-Received: by 2002:a67:f952:: with SMTP id u18mr8796156vsq.5.1623400856977; Fri, 11 Jun 2021 01:40:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9WdPfC8FOUYpIMB/1v9/DUd0DD6WAuIWe6MGmupTpN2VOqwTDhqnbcuGNfp/Qq5F1i5CogjF//fawKMywhJE= X-Received: by 2002:a67:f952:: with SMTP id u18mr8796152vsq.5.1623400856738; Fri, 11 Jun 2021 01:40:56 -0700 (PDT) MIME-Version: 1.0 References: <20210604094624.31308-1-joyce.kong@arm.com> In-Reply-To: <20210604094624.31308-1-joyce.kong@arm.com> From: David Marchand Date: Fri, 11 Jun 2021 10:40:45 +0200 Message-ID: To: Joyce Kong Cc: Thomas Monjalon , Olivier Matz , Andrew Rybchenko , Van Haaren Harry , Honnappa Nagarahalli , "Ruifeng Wang (Arm Technology China)" , dev , nd 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 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, Jun 4, 2021 at 11:46 AM 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 Just a nit, use rte_wait_until_equal() instead of those sync loops. Rest lgtm, thanks. -- David Marchand