From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 66391A0526; Fri, 10 Jul 2020 08:32:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 57CDB1DAD8; Fri, 10 Jul 2020 08:32:41 +0200 (CEST) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by dpdk.org (Postfix) with ESMTP id 1A50B1DA65 for ; Fri, 10 Jul 2020 08:32:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594362759; 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=lAxeeFgONN/EUbHcG6nLFvyLqpZzQnBMZxA0gw117Hk=; b=hWqckxhsJ0X4LPaI9wZoQHGPVWv0cTf4Pzoh+w/1dD3LTBSUsetM1Gh530vjBt1kOLvFH/ b/o7vZhvcAiE/OaAvokr/fz5S9lFcn7VyaOXUUi1IQejPGi6MrdUji5rINkER5YuZaeChf UTV6ti9IvdE4ZqRoKywjNh7Jr2M28b0= Received: from mail-vk1-f198.google.com (mail-vk1-f198.google.com [209.85.221.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-80--ZwlmYRbMheNbRZUh13Daw-1; Fri, 10 Jul 2020 02:32:37 -0400 X-MC-Unique: -ZwlmYRbMheNbRZUh13Daw-1 Received: by mail-vk1-f198.google.com with SMTP id n133so1007887vkc.14 for ; Thu, 09 Jul 2020 23:32:37 -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=lAxeeFgONN/EUbHcG6nLFvyLqpZzQnBMZxA0gw117Hk=; b=pQlMc0IM4jbI7ZS8siKRKiorVJMWfGB76VpwkLyY/PVZlikLIPMEHRIpB1wVMS0W53 G4Tsz9O55svN2EN855K3qaB6v9m8nFulIIAw5+Yw/xmpOUp0Yth7mt9gTrJ3wNfQWNRo QDb3JGt0enejjd8UyWGc8JRZNoD4L6W0rtePe44CeJUOE1Qw1wD6SHXM2pgmIYWervoa B5G6NJJcUYGOQdhvIDbCAQ0E4jtFM8dD8PCjNvPfgraYRUDEvXzHjosQtuwFdfrO6EJ0 HAY8HPiqWus5kNx0s+d4vDWgNB8kHkZzjDa4vvRIBVW9swGl7Yrou/ZzdnQjCotizSOu j/Wg== X-Gm-Message-State: AOAM5336th3SG//MeSshofvyLrGa7tirOY0X2dS58YkVFiSZOWCc6F9P 9tNY+oofXqu+Xw4Ekz2PoopTMZMRCRZuJlJctq1hdhP4K4KwOFflVesImU6mQEQET18on2kedl8 0qZHA31VsdsBHYaia6H0= X-Received: by 2002:a67:b741:: with SMTP id l1mr51932843vsh.180.1594362757357; Thu, 09 Jul 2020 23:32:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlb2oeXVrJForKWicVWjGDL969AnorVoKpeXzY1nq1czaBXoDzpz7KUdvlOr0YY6BckqHcWE0YVN2ncqKRTkY= X-Received: by 2002:a67:b741:: with SMTP id l1mr51932827vsh.180.1594362757090; Thu, 09 Jul 2020 23:32:37 -0700 (PDT) MIME-Version: 1.0 References: <1594277162-15021-1-git-send-email-phil.yang@arm.com> <1594283675-15965-1-git-send-email-phil.yang@arm.com> In-Reply-To: <1594283675-15965-1-git-send-email-phil.yang@arm.com> From: David Marchand Date: Fri, 10 Jul 2020 08:32:25 +0200 Message-ID: To: Phil Yang Cc: dev , stefan.puiu@gmail.com, Ray Kinsella , Aaron Conole , David Christensen , Honnappa Nagarahalli , "Ruifeng Wang (Arm Technology China)" , nd , Dodji Seketeli , Neil Horman , Harman Kalra 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 v3] eal: use c11 atomic built-ins for interrupt status 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Jul 9, 2020 at 10:35 AM Phil Yang wrote: > > The event status is defined as a volatile variable and shared between > threads. Use c11 atomic built-ins with explicit ordering instead of > rte_atomic ops which enforce unnecessary barriers on aarch64. > > The event status has been cleaned up by the compare-and-swap operation > when we free the event data, so there is no need to set it to invalid > after that. > > Signed-off-by: Phil Yang > Reviewed-by: Ruifeng Wang > Reviewed-by: Honnappa Nagarahalli > Reviewed-by: Harman Kalra Applied, thanks. -- David Marchand