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 95622A0C4C; Tue, 16 Nov 2021 21:20:34 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5820040141; Tue, 16 Nov 2021 21:20:34 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 8E5A240040 for ; Tue, 16 Nov 2021 21:20:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1637094032; 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=SfVGBtBCN7PKZXIl4o4AeBLX+LXrvCv1WdUnXpiAoZU=; b=MgV4Gaw9EgjdXGHtVVL3TkfYdZBPCGOS+AkRPknlxSaAgP2jwjkNJ4N4vN/WO2KTbueEOa KzsTsLdedXefUzFq1IbmxURNW2syGmYdN5GvwUFFdeHg0VAzJ2HdETTB3PCaOLNX2N9Pkm a9fhY81KFi0Xx1CqFuv8s5/o6q+FALE= Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-294-RovPvAB9P9uu4s9p1cpXsw-1; Tue, 16 Nov 2021 15:20:30 -0500 X-MC-Unique: RovPvAB9P9uu4s9p1cpXsw-1 Received: by mail-lf1-f70.google.com with SMTP id u20-20020a056512129400b0040373ffc60bso76852lfs.15 for ; Tue, 16 Nov 2021 12:20:30 -0800 (PST) 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=SfVGBtBCN7PKZXIl4o4AeBLX+LXrvCv1WdUnXpiAoZU=; b=ZMne8Oi69x6i1SOa6v/8z5EzHPZisy3Vz9zNd0VcV4wH9iZm1ZG8rqwmFq8XOCv88e v60xxHCtnJGqQba+HwdjQDtprhOVbJvZmMkM4o5zROSLaLiNmA7JnGqfT1YxrOCzZnnQ OtqxG50TSSs/y2R57osgVW5FGoPfH/sUUZb6TkM6v3SnMYI8SuKn3mS8Q/CjHgq8OxSk WSn0+RaipSwR8Yc0c//ZLguBx6uEAcGCYnmHlxW+EcNyW3cV7X1I8+brJNmIz6qIzerc SfIZN3JwQh10qZ0vDjysOydPWaW/h3c8Ip8pnYmhppczjviTij+hMy16SeocPH6MwS15 IdBw== X-Gm-Message-State: AOAM5300ZGz6ZbOu9EELP05/fZotO51JQd6IVdYkjSCtROXRzz3JD0TX gq+mzN+rqxnLGrww8Vp067JmLd8Kze4BjoCNhrb2dv4xlwcC8JADLLMk9cXleqaTJXS0/m6gsZ5 8flx8D8wxQCcOecOSVLQ= X-Received: by 2002:a05:6512:3e11:: with SMTP id i17mr9051569lfv.560.1637094029121; Tue, 16 Nov 2021 12:20:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJxk1xcmTl6FVB9c0bIBmMFr4cIrx4ibb3F3Jn2xscmdOctEeR+3nVuWAnDSop3cZ2zHvFs7lPS/1MQsMGLxtAs= X-Received: by 2002:a05:6512:3e11:: with SMTP id i17mr9051539lfv.560.1637094028825; Tue, 16 Nov 2021 12:20:28 -0800 (PST) MIME-Version: 1.0 References: <20211116094205.750359-1-joyce.kong@arm.com> <20211116094205.750359-4-joyce.kong@arm.com> In-Reply-To: <20211116094205.750359-4-joyce.kong@arm.com> From: David Marchand Date: Tue, 16 Nov 2021 21:20:18 +0100 Message-ID: Subject: Re: [PATCH v2 03/12] test/timer: use compiler atomic builtins for sync To: Joyce Kong , Honnappa Nagarahalli Cc: Robert Sanford , Erik Gabriel Carrillo , 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" 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 Joyce, Honnappa, On Tue, Nov 16, 2021 at 10:43 AM Joyce Kong wrote: > > Convert rte_atomic usages to compiler atomic > built-ins for lcore_state and collisions sync. > > Also, move 'main_init_workers' outside of > 'timer_stress2_main_loop' to guarantee lcore_state > initialized correctly before the threads launched. Is this "also" part actually related to the change? Or is it a separate fix? > > Signed-off-by: Joyce Kong > Reviewed-by: Ruifeng Wang -- David Marchand