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 9F3C8A0528; Fri, 17 Jul 2020 10:54:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 595411BF83; Fri, 17 Jul 2020 10:54:05 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60072.outbound.protection.outlook.com [40.107.6.72]) by dpdk.org (Postfix) with ESMTP id 09E7D1BF82 for ; Fri, 17 Jul 2020 10:54:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mc2Q706/eXqKAm5MwCJSKDEsaikbo0KvSAzWRAh2gNE=; b=Gi6VutwDsF8hBeOTQ8bWOeVSLcKApreXlkExaWaZcvRN6yHcrZ5ZeLKS6J/PiYI/QvQ5B/x482rXMLa6ZBVMy+D3NA7+rIoKjVOjWFMW3sDu5QbSdd2m6P3kxk9bxo5u/LH1Y7BSubtR/p5bsuVZ5rW8rbYUFqAwcpw378rfvWA= Received: from DB6P191CA0001.EURP191.PROD.OUTLOOK.COM (2603:10a6:6:28::11) by AM6PR08MB4423.eurprd08.prod.outlook.com (2603:10a6:20b:bf::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.22; Fri, 17 Jul 2020 08:54:02 +0000 Received: from DB5EUR03FT018.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:28:cafe::9c) by DB6P191CA0001.outlook.office365.com (2603:10a6:6:28::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.17 via Frontend Transport; Fri, 17 Jul 2020 08:54:02 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT018.mail.protection.outlook.com (10.152.20.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.18 via Frontend Transport; Fri, 17 Jul 2020 08:54:02 +0000 Received: ("Tessian outbound 73b502bf693a:v62"); Fri, 17 Jul 2020 08:54:02 +0000 X-CR-MTA-TID: 64aa7808 Received: from ce452069e3a7.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 5A7A5818-1F58-48B4-A406-8814289F0DB6.1; Fri, 17 Jul 2020 08:53:57 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id ce452069e3a7.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 17 Jul 2020 08:53:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b5AgCGu3VchUq/5EHLK0qMR3Udwod7U5bOTdeCqXunUHeusTBWzkwkBxAmr2B9w/4jue7sqQKMVhDZHOwodeuwS6pPGeTTSd7MvvfysLSiuezuXDO3s1+hNns3ms5K+G7As/hFW4eVY3NzWpjLgaxX/FxwCQbThjEDCd6mkywfxTtnp4BF3hhuGsQizz9s0H75/gAQRkPGBZd/wmV+N1Ui5dMZ3A5N9dJIS82YPAWgJ/J7IuN/u1U6YUAi+fs4n7yC7r/a8hb7FphLs1tQUOtMs4Bp17B0Jf81ZS9dRuJOklagsF3NoN376moj49o8u6X79ux+OUl5bRhUxCIOndaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mc2Q706/eXqKAm5MwCJSKDEsaikbo0KvSAzWRAh2gNE=; b=C7dWyReWF6ZXaCpaPXoNDQ4Tft2S4KWliRLUnHl3n0ziWcKr3d4dVVtf6e+mFKFjI+evJt6QkCmonSqUkaNXOO7XPeBw/QCO5Fq4FIP2ivNheJWud/gjGEWEGTK8OR9di48iGIXI58QTEBmykGu0gQtAzeBYEdRzhqcAJDcgKTvzlBEONZdMnvdf2qJ5/cidVdUeZvmAItDiseB9y5X1Ao69js1+wByoWq4sI+P0cZ26dE3n1KjBdM8wKmrmHDixUJfI71A9jia/5h1yQpZGRZ/QJZEcGzKSODgNZwNzSCIWeIc79Dbti3QuwOHcMRIyDUkIxszM0fx1+rUmEhXoGg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mc2Q706/eXqKAm5MwCJSKDEsaikbo0KvSAzWRAh2gNE=; b=Gi6VutwDsF8hBeOTQ8bWOeVSLcKApreXlkExaWaZcvRN6yHcrZ5ZeLKS6J/PiYI/QvQ5B/x482rXMLa6ZBVMy+D3NA7+rIoKjVOjWFMW3sDu5QbSdd2m6P3kxk9bxo5u/LH1Y7BSubtR/p5bsuVZ5rW8rbYUFqAwcpw378rfvWA= Received: from VE1PR08MB4640.eurprd08.prod.outlook.com (2603:10a6:802:b2::11) by VE1PR08MB5232.eurprd08.prod.outlook.com (2603:10a6:802:b1::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.22; Fri, 17 Jul 2020 08:53:49 +0000 Received: from VE1PR08MB4640.eurprd08.prod.outlook.com ([fe80::c2e:9ccb:a690:6863]) by VE1PR08MB4640.eurprd08.prod.outlook.com ([fe80::c2e:9ccb:a690:6863%6]) with mapi id 15.20.3174.026; Fri, 17 Jul 2020 08:53:49 +0000 From: Phil Yang To: "thomas@monjalon.net" CC: "john.mcnamara@intel.com" , Honnappa Nagarahalli , "drc@linux.vnet.ibm.com" , "dev@dpdk.org" , "david.marchand@redhat.com" , "jerinj@marvell.com" , "konstantin.ananyev@intel.com" , Ola Liljedahl , "bruce.richardson@intel.com" , Ruifeng Wang , nd , Jan Viktorin , Ruifeng Wang , nd Thread-Topic: [PATCH v9 3/3] eal/atomic: add wrapper for C11 atomic thread fence Thread-Index: AQHWXBcaeD1+N2sRKEK0qO8tVSOYoqkLdldw Date: Fri, 17 Jul 2020 08:53:48 +0000 Message-ID: References: <1594875225-5850-1-git-send-email-phil.yang@arm.com> <1594962519-20619-1-git-send-email-phil.yang@arm.com> <1594962519-20619-4-git-send-email-phil.yang@arm.com> <1981187.MM7D9Lm00Q@thomas> In-Reply-To: <1981187.MM7D9Lm00Q@thomas> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: ad2af4b2-cd41-4828-ba17-3c4731c936f2.0 x-checkrecipientchecked: true Authentication-Results-Original: monjalon.net; dkim=none (message not signed) header.d=none; monjalon.net; dmarc=none action=none header.from=arm.com; x-originating-ip: [203.126.0.111] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 2412e031-a452-44fc-4ab3-08d82a2ef3f1 x-ms-traffictypediagnostic: VE1PR08MB5232:|AM6PR08MB4423: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:8273;OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: LLuePJ8LPrhiPiC6Pk8P154qDR8xyR7rPhmwci2n2x/CeVHcmlEY83P0pmAf5kmfuNYMl7odhrPgnlXcSrkvDVpeqc/3ZV3pTmSvPUNx91g5m6ttTM4rTZX5p03yq+HegyQO9IETHbTEj+OjMy5CGSeb7tCirQD/2g4SufEICuIzlYvKHxrma2yKTPDBKcVCcv98qWo57jcwGHa2Q1LD/nr6DHOqAhxu+ixzhAMraytietW+hdoq336kMeaGvnQ4T/atuvgZxj7Ldki5/7gXgLwnptN363SPQc8Hg8NYUM2exZQgkkmUP8z+d8xsLxjQY6nG2uZRfMubjEAVcUAXXA== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VE1PR08MB4640.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(396003)(346002)(366004)(136003)(39860400002)(2906002)(8676002)(26005)(4744005)(6916009)(5660300002)(33656002)(86362001)(6506007)(186003)(4326008)(8936002)(7696005)(52536014)(83380400001)(54906003)(55016002)(9686003)(316002)(66476007)(478600001)(66446008)(64756008)(66946007)(71200400001)(66556008)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: c8FvOhQvjelLzRPDBiV+j2B8worZpWpNgbpYRxOQ+4j86sgTTxjFDQ2knRuCs7o4ezMbJ9uGuNNoC+t+Dvbl+EHVuNcBgliC2j7RPPjUhNagH8ueIkIYIjYIfCbFwB9OfPu+WNBE2uDH220fhAoCTTyz2CS3kjeJT+pZaCpePbgK5uHIzjmc4O2rbOiqMOTbxwo4CpgRtfq/ACtzKRl5twPRax4wuI+MTc7MeevYW0IaGdEUPZstCCWTG4gekMIDPvzVfRdYoOuFwzaM2zciXEeveZPDrNTypuMAUWIoBXalcwATxtc6/1xoOfxhnZ1w1VQhbAO76ktkXNucMG96bVHwUFzIvXJDflnVTe6CUMaLeZLSc7hQx9z/L/etCPmY/ROSzYa/4mH+mY8vOvViITGovXGYMIui8yTKjvshdaJ/KMbvfq9kXtxtdfwSRwgasXLo36X+29XkbDdrwun4JoBnytKuke+wjl7TnsDYkCA= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5232 Original-Authentication-Results: monjalon.net; dkim=none (message not signed) header.d=none; monjalon.net; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT018.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFTY:; SFS:(4636009)(376002)(396003)(136003)(346002)(39860400002)(46966005)(478600001)(7696005)(70206006)(47076004)(9686003)(70586007)(33656002)(8676002)(26005)(55016002)(6506007)(8936002)(336012)(52536014)(4744005)(81166007)(5660300002)(86362001)(6862004)(186003)(4326008)(356005)(316002)(54906003)(82310400002)(82740400003)(2906002)(83380400001); DIR:OUT; SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: 38ea13c6-aa82-439b-c8ba-08d82a2eec2f X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EXmV23VDzC+cP77UjejhoO62iU+B88U/Q0l6Xhz+ODNfNhccKQf26P6kavpRG70OhosLu+4sKdMFtVYkVjDAjDDC/L/FPZwgxuwPB/oMnAf1Zh103NlzhZ0VfN+H90rGx+iWIpo860x8wEdrtzGm0NUg/1b+/fLYXbZDS4wlSMgWJ8MQ2CqGJgm1b595JJHbeWUW6ShoX/2/l+JbYk6RoIrI1HGWF07ETZQUd9hVKM0g25UTxHG3S/BWrROirNMVraf1tb27yOMGMRuBJ/lXyyUas27UxX4Gi5L6qyv+q+ZdJ6DRk8pQNGcoxR67VSjA2l3Sr8VasuEimyyxSZj0rxjjJUTadeAIikkqRSoMpVVDfF8t3hB5PXbCOwgMSAJEMllyfeeEP7oWbmYqvq0mrA== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jul 2020 08:54:02.2394 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2412e031-a452-44fc-4ab3-08d82a2ef3f1 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT018.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4423 Subject: Re: [dpdk-dev] [PATCH v9 3/3] eal/atomic: add wrapper for C11 atomic thread fence 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" Thomas Monjalon writes: > > Provide a wrapper for __atomic_thread_fence builtins to support > > optimized code for __ATOMIC_SEQ_CST memory order for x86 platforms. >=20 > Logically, it should be the patch 2. > So you can recommend using this wrapper in the explanation > of the actual patch 2. Indeed. Thanks. Will change it in v10.