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 7B0D7A00C5; Fri, 8 Jul 2022 15:48:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 60A8D406B4; Fri, 8 Jul 2022 15:48:38 +0200 (CEST) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80089.outbound.protection.outlook.com [40.107.8.89]) by mails.dpdk.org (Postfix) with ESMTP id 84AF24021E for ; Fri, 8 Jul 2022 15:48:37 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kXijzVEp0UBBivVth0Wg3F9LsIbV3airs2tmEjYoPu3w4kfjrCxDlY7F8RSI/CSG1JPXAT8QCea4TwaFRnxyd9nr0EfFqlzh1KEhgB4FQKuCd9Q2bKxrYNdoYkxhZyCuJywLSCty+XihlYskw8LeZ1wHvXQNb72Ew5VT7Dy7/eIx6c4oc+fhftk1pNj7pLNpI28+yNsSLK6vMolQ333u5IKOPrU5iq3pUmO43Ze2VbUNNSvPrZGZva73cpV5UPrgb4PLrTZU1vh4mECvF8E4MNK5HGqSys6X4j1sWzCwpqYutZrShM6Yjr/8UEs+o5W6hLbnDYdAna5G8G54touMSQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=rYIO18KQDe2ikjzYT1TdPlaiPDOvLtH8uyLV0qZhy/0=; b=gp+RBzrTKcFyHMzy5QNaIO4YnDBkghxTqMvLM3+wd87wCZRC2baWlrpJBxOSbU418Q/M2MG3IZR/NUrk3RXyZsPvVeKghQOlIyzWOVH1leK8YQHiHspd2+zjqYK9jgFaXglksdpY+You0tlmyuOfqYWVs0WGYKgyJp9PRobrNpytnpu3F05BMSnokgFRY2CS+ZLhqbZFReeoSj9DB+DQRotI+QbmWqauz2wyJqY7c8kTbjNOEJHZath8K6Z3PVtQ6O8g6KQCz/LhZqeyTJWIwwSaZKifICv3QR7UQA+FRr1HhVW3Suyr28lVeYSv2sewWfjRM9I6pL2FZjZ/2jxrZw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rYIO18KQDe2ikjzYT1TdPlaiPDOvLtH8uyLV0qZhy/0=; b=oGruqN884K86zAq96APrkz9rxl+oRWvOEhk/sgDoP41fnbZ8que/iV7L89sJY+na0Gb9nkOS6lilWhtCOPD6nPoqFKTsYWg4yMngKSi2cQJ8mOuD7ZS/3u9UfVYDfbAVdBpJTfCZ9/pdR6Zn+0ht6JtNFmlaUAVy2ntmPtYpTlI= Received: from DB7PR07MB5978.eurprd07.prod.outlook.com (2603:10a6:10:80::15) by AM0PR07MB5202.eurprd07.prod.outlook.com (2603:10a6:208:f5::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.16; Fri, 8 Jul 2022 13:48:36 +0000 Received: from DB7PR07MB5978.eurprd07.prod.outlook.com ([fe80::45fc:aa82:15fd:875f]) by DB7PR07MB5978.eurprd07.prod.outlook.com ([fe80::45fc:aa82:15fd:875f%7]) with mapi id 15.20.5417.015; Fri, 8 Jul 2022 13:48:36 +0000 From: =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= To: Harry van Haaren , "dev@dpdk.org" CC: Honnappa Nagarahalli , =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= Subject: Re: [PATCH 2/2] service: fix potential stats race-condition on MT services Thread-Topic: [PATCH 2/2] service: fix potential stats race-condition on MT services Thread-Index: AQHYkso7D2NotF5fi0WLxas01BIPM610fUIA Date: Fri, 8 Jul 2022 13:48:36 +0000 Message-ID: <8174d712-0f38-de8a-c7a4-fdfa9812c539@ericsson.com> References: <20220708125645.3141464-1-harry.van.haaren@intel.com> <20220708125645.3141464-2-harry.van.haaren@intel.com> In-Reply-To: <20220708125645.3141464-2-harry.van.haaren@intel.com> Accept-Language: en-US, sv-SE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ericsson.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1c9fd48a-a804-4e9e-9436-08da60e88e3e x-ms-traffictypediagnostic: AM0PR07MB5202:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 02+CwKfaVeAn/3kVVNrYj6DyTFm644+6/gqYIYrY5VP4EB7rh3GyPJXCIqxf+H+s0VjMoi3MSw7/GRgjBaJV40YXvM6cg6CmGx7mXJQKdJdQlMYtdXV5qCnrL7Zc6L1/vtMf58BSSjL98AYsR6RCu0obVYqkQcWLjEREphWst90wEkzbrbZEEUMr5sYNhU5pZNfZKH9ISB/6k92UoUP6ccQX4qx1Y1xtcuEd7Iz9ZuSE2CQlmb7kZJv5yM+/lIGpLyFyILqeIK/fwrTukaP3huecu9UbROhb9ailUaKxEDAGAyin7RlOQEdIunPi9rLTs0/VSUtN3K88737HjDpIYNmX68YoeKHRKebnv5+cdgGRP4mtOU/H0beUmp2HHdtlUdg+1h6XwLQ3xfYVAzYLgdNMcg13ReS/EnaXmTYt7Q+MwprXwyamOR5kbsDylzC9viUl2JEQRJmaI9DaxGXXWurTx0mZTYNKnuYpUHbvRNMSFhOqrbAVjZJfV1DIllY8RhuAG4hXQGY+KtBsJqTG+A9LZcexp11xcGR5cNUPm6Ylnb6KKkC0JBqYMUbBohkW+ogRB77S31jppeg/fz5AmVP6VixzImkOAY2LPDT3UCgcTg4Snw4ngD2kNfcqD+fGQIJjfo6eji2EK6uRL1SN/Bj+h8PNWeyThl7KUlzXDHrH7AR8bGfW4x83xa0qy2WcT8vALgZo9f4CQ3jIW5sgAqxQrDYhYbSpmeA6YmoWwZauOqiJypdmg+IqCO7ghHw2RFfm7J8a0LzCyteGeCjee2vpToHzMJ2kfV7xmapneSOukJW75zvcxtk+ScVVOJ8W0rb8HOhbuoPn03du4bj4GuxDKLrGeuCl58NLk6accmbZIbOARyps6ZZHE7MvtXMn x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR07MB5978.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(366004)(396003)(376002)(136003)(346002)(39860400002)(71200400001)(38100700002)(31686004)(2906002)(36756003)(66574015)(64756008)(82960400001)(41300700001)(66946007)(86362001)(54906003)(85202003)(91956017)(76116006)(66446008)(5660300002)(6486002)(66476007)(85182001)(122000001)(8936002)(66556008)(38070700005)(2616005)(6512007)(316002)(478600001)(4326008)(186003)(110136005)(8676002)(26005)(31696002)(53546011)(6506007)(83380400001)(45980500001)(43740500002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?MUlVK2QzZTl1TWJ2dVdqdG9relBmY2x4Y0RGTC9GM3N0T01Pa29URHp0NHZD?= =?utf-8?B?d0Z4SjRYZW5EK0dXdHMvOHpER3pBNlZRUzJLaUpiUGhEamt3YlNZVythdTRW?= =?utf-8?B?ci9KM3NIZHJvN3Q4RkdsTzVUb0p3SzJ5ZGlGQ1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8?B?Sm5tWStsaW5tL0pwSjRZOGpHSWkwdXpTbFowMlUxRnpkLy82TUdtWmltOXdl?= =?utf-8?B?Q0ZZUm9MRzF4SXpvK1pVOWozSkxBck9xUno5U0I3QlRkN0lqemw3TzlsTXA1?= =?utf-8?B?L2lHdWQzMDhCc21TNU1Tc0xLMEF3eEVSamo4TWZEOGg3RnJNOVFFNklzNCtt?= =?utf-8?B?czhEUjNEMDFJb0d6cjU5RVJIcjAzZjc3QytNQjg3SDNLT3dZM25yMVVzcEw1?= =?utf-8?B?ZFE9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: <41FA1C7F349DD741BECBC2FF9A2ACDB2@eurprd07.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB7PR07MB5978.eurprd07.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1c9fd48a-a804-4e9e-9436-08da60e88e3e X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jul 2022 13:48:36.1335 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: PNGM9B+Q/3kvKNSWnM52SULnY77LWBIStzJDI29/q5bRCb9q3ltBXxycBkIFaQzFYMHp/McK83+cQBf85eohA7zED1TuDQymGK3TCOKh6GE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR07MB5202 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 T24gMjAyMi0wNy0wOCAxNDo1NiwgSGFycnkgdmFuIEhhYXJlbiB3cm90ZToNCj4gVGhpcyBjb21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