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 567BEA00C5; Fri, 8 Jul 2022 17:16:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 01060406B4; Fri, 8 Jul 2022 17:16:34 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60080.outbound.protection.outlook.com [40.107.6.80]) by mails.dpdk.org (Postfix) with ESMTP id 2F4A64021E for ; Fri, 8 Jul 2022 17:16:32 +0200 (CEST) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=kwrCAbgRbb3iEn1U6g7mzndk4MuzdHkjaJQ7sBvbIDwmUHwxaDqvlOb7t8g3PmT6kdqMEIvaGucZReFjs/FG9X/2IgqvLD88c2SIRDTwbypbSHxjf7cHTQj5KeeiLtTkU5z854QtoW6YSoDCSpxJM/ykvdzmOOfTC1Z/HRN+ujMqOucxtEH6qotW9Ny2UhvB0fx48cjj5QIz3jmYL9As3rYLhiSW+XW7byZOadjJkioXpy0VfLP9zFzYf5ujoxqDf6feszyFKOqmU1+Hd15De5D7L9sHFwCTHiIFZwPO/i7Vo9JOZlHlBdoJWLWAxC1szK/Cku/Ue8ZHCXGQ05crdA== ARC-Message-Signature: i=2; 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=7olE7i5zumw17H1edwhQWy5vtTbnbqVsQODdwpCuSWw=; b=MAv31/6o4DxoTu77hXyGuAbDZ63tV8u9cW7DdPSBai8Km6Ju7mE8Q04QDj3UjivaUP5o0UdFqoO27Y096Q5HA3tcVdQvk4m7SkIulC0nNHO3VTo5VASg2wrPkck2DeGPK9piKV1b1Y4VxYzhsUBHVBeGBxU/TgQdVfPT1FyhYiZU8tnUdOX7fJFKii7Vn4ECPKDoFsC3PFYeCorAatGeirBgBrzeOTOqcr95D6LTbiJAxmUy4r3HUktb7ZXpnnEHa8lnuDg0OANvw3ImMTt44NJKpfdS7Lfa+Bg2N17MpHIR/z1niVmUGlJC22GKVQGiRGsqQ3TZe4Wv7p+UNetTgQ== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=dpdk.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) 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=7olE7i5zumw17H1edwhQWy5vtTbnbqVsQODdwpCuSWw=; b=4mNahSJyqujrd7SS5zt24bnyhmNutaGl2kMZ3Ua4vWSD8hvc/Ogcto7JfbWrg6E0hkjQfbBtPKo6DY/We3/6HfDYvmikNHJztm2pmrQF7nMcVrfyuSJtHBX1caR3rZNm820NcGC13ezkmuHeOj3X/rwG9VjggBgvH/t3bB34tCM= Received: from DB6PR0301CA0072.eurprd03.prod.outlook.com (2603:10a6:6:30::19) by AM0PR08MB2979.eurprd08.prod.outlook.com (2603:10a6:208:64::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.20; Fri, 8 Jul 2022 15:16:29 +0000 Received: from DBAEUR03FT031.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:30:cafe::bb) by DB6PR0301CA0072.outlook.office365.com (2603:10a6:6:30::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.20 via Frontend Transport; Fri, 8 Jul 2022 15:16:29 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass 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; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT031.mail.protection.outlook.com (100.127.142.173) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15 via Frontend Transport; Fri, 8 Jul 2022 15:16:29 +0000 Received: ("Tessian outbound 0ba541f03a2a:v122"); Fri, 08 Jul 2022 15:16:29 +0000 X-CR-MTA-TID: 64aa7808 Received: from ba7baf51d5a0.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id CA921D18-07EA-4485-8662-BDF28105867B.1; Fri, 08 Jul 2022 15:16:22 +0000 Received: from EUR03-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id ba7baf51d5a0.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 08 Jul 2022 15:16:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jBcwiH0H5cGqSkllXzFVpcLtT5KRcIEUQMPrbrX86WusWHxa8SyvkGEzsPek+HqJfnHerMUaMiDGdgdIU8yirCj9ZIF/Qxb354iE3otjUrWsOduIezB3naLpkl6K+d+OiDxP/uR7pjwYSEpCTKvbqw4kk/ckXv0gGafPL0DskMJDBuidmeIU8M2HvzyJnBC8lGWoDD1DTNKn4kyV9RUaj68xKi7PXrWgmXAasr3zcokMEM96S8gg3T7RX99Y6nXC4/di8froM+Z4SZNaHENd7e1vDdTc6uHLbrKN228xz6BUA8q6i0KrkMef/A1IrDDAb6sT3dk2R2ULdCS3imKXqg== 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=7olE7i5zumw17H1edwhQWy5vtTbnbqVsQODdwpCuSWw=; b=PwTb/v4/Pf5MNBBmkPMlJOJZvQiSYcwND6u+EB0xeaKaPCHZsl7qTmjdEjmN11WFD1K33hMqCa54T1EWHoZ+OGcfTq7RvurIWqgsv6A6eVcRX6HyYTMTeSyqmBVsnN0G7q4DEphho2LoQoDnfYBVKfk7GimhbeiyffcqTgu/Kd6DjaBAodZIOvHD45FT2R7zFpURVJIKA6YN4sCzybhhTCQjPy6qIKpcePhc3XqwQqTpYJ64s9KoKqZhISaL5vvQ/LS8OnvJ3Yj2z5uZeNULaob/6gtuuKWAAT31K4uhtCzhTy1G6kzx/R/z2+Sd2Hvkw0k07IKKiqcz6kV7AEjOdA== 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=7olE7i5zumw17H1edwhQWy5vtTbnbqVsQODdwpCuSWw=; b=4mNahSJyqujrd7SS5zt24bnyhmNutaGl2kMZ3Ua4vWSD8hvc/Ogcto7JfbWrg6E0hkjQfbBtPKo6DY/We3/6HfDYvmikNHJztm2pmrQF7nMcVrfyuSJtHBX1caR3rZNm820NcGC13ezkmuHeOj3X/rwG9VjggBgvH/t3bB34tCM= Received: from DBAPR08MB5814.eurprd08.prod.outlook.com (2603:10a6:10:1b1::6) by PR2PR08MB4778.eurprd08.prod.outlook.com (2603:10a6:101:21::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.20; Fri, 8 Jul 2022 15:16:18 +0000 Received: from DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::1c7f:6a8d:b518:f972]) by DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::1c7f:6a8d:b518:f972%3]) with mapi id 15.20.5417.016; Fri, 8 Jul 2022 15:16:18 +0000 From: Honnappa Nagarahalli To: Harry van Haaren , "dev@dpdk.org" CC: =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= , nd , nd 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: AQHYkso9CqvSXQ5m5kCgd1gUAmDVCq10lTCQ Date: Fri, 8 Jul 2022 15:16:18 +0000 Message-ID: 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 Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: CDA38B7597C9D242864E60248BDB83FB.0 x-checkrecipientchecked: true Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-MS-Office365-Filtering-Correlation-Id: dcc562a4-fc24-409c-db63-08da60f4d52d x-ms-traffictypediagnostic: PR2PR08MB4778:EE_|DBAEUR03FT031:EE_|AM0PR08MB2979:EE_ x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: A6htUi9eYoiNZv96rcIwoyETSLRGidz1xn8B3UaH5+KbdfuHDFa/1gHcTWGCAWgprXDBa7+ca5Mf3eYIOpXtl7ZZrCgAavn21tUv/uBFNnA0yGh2YChXIHagKY/+lZRZdZp4bjnendeCcuQ2IvA1Z15FznhelHTiOJmMM2pq3RreMPVzKdJA6GBHZXqFZuarVUZSPEbXoffJlcbjCZsiakkjbplkx2wqFaBfCL8klS65tGG1MwduTGg+fHRmVjCotgJG5hjYBLxHA4QjDM93wkybkPCtLBHF+cQqo94FMjK2N0vt6BqT+TbCM59xwm6Sk2R7yPBrZjNSOsIcUxI0dYbY/iVUL5lMD7t9RSKe0pH+SDmTzbrNuj78goAdVGn/5jdRPBhex7TaW+UFLaJdlUGv6nVjgFrpMlwY6yHcSo21QXj20Q0mCj2eUvSX1PAWeWTyH4quZYEDrzM1CW1vTPn0Yx3Cu7Nt46KS1zL2egMBkxunkXxbD+Ip/rtYb1u/03cfWoX5FZtqADuUMxFcT8UJeT0IGL0a/fQC/JNk8atbTVygCaBJRN9b/v4kldtvV7TSL2pJrpLflYuNqIge92/WOL1RJ8aCngeebwPAeZ8TE+HsbUJ07i1b35kMOlAZlKpLXs/rkUDZA/KP+tducfL9jxp0dXqZ0HPzhAPsmKc6QW1LtTLmDclFVqLeSWwfZY4I7+uqMmL7SfLva74m6xf2Rn60ECnbRgTgudqp/m6C+HUO+Viz/FOJw9Cet6yMfk34j6ANqbUO85yBJ6SSEbtqUiJnAEZsa5wyGolFERr2vRyhca/+wAcecx3n6hNv X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBAPR08MB5814.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(376002)(136003)(346002)(396003)(366004)(39860400002)(33656002)(478600001)(41300700001)(55016003)(316002)(86362001)(2906002)(71200400001)(54906003)(38100700002)(7696005)(6506007)(110136005)(122000001)(8676002)(64756008)(66556008)(66946007)(26005)(66476007)(5660300002)(9686003)(66446008)(4326008)(186003)(52536014)(38070700005)(66574015)(76116006)(83380400001)(8936002); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR2PR08MB4778 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT031.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: ce17b324-fcea-4eb7-b5ed-08da60f4ceb7 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Z6goa9yLYwjDjjvwg5xJCNDQwmHgZVOMPSJF1LwOg1D4vl9k2mSvtI9rfPtgdrMu7gfN0aU6xsf+azc+fiKRd8LU6Q5dtepi+qUAkBsVJ155cNXE7A8MhsgIHZGfB7MFYmrk1kwHUuG2ZKEZL65rg8UVWMvETTj1QfOZmJK+DoVi+SAnk9cJMyioqK0ZdPquzmAmw32D0VT+FyKxzlwnXwsO9rsOTAF+nrmlGSifEQNr6cGIss30Kbck8r1D2Q4+4t6vbJEHu4jHQGGpa/kCoB0GbK4oY+yCVpFRqrjM3G9OhdL1ZlCBoeAEl+39u51EyhZSrxTfB2HqRJvjp5SUKD5zoi2IVr8UuHKbu5Qct3ELKZ6SprmCEM/aNDu5OCx/IHsoaKqzbjwmbSQhisXmtQKRXD7HzirwJDDqokpTmf70rRNCz838zKj6zKQ7N+9bWnEOH5VXrFpn3EU55H5UFkdy+u3uYGVYdF2XEqz8yG9zGm+0QF03BD/wLzXuLSXB4/5zccxU7PFGLKA1V4/nqO+9LjBYeiZH/1KN7kMu6aPFh2O6Lu58e1M5KGEjTLUT/2KlQDKTVpL/6PoxI/Vj3UxuP9GqwokqNjzNLig2kn92lRT+n+H/mO9V0Hw32wVCV33SQ5QUT/Xc7ZmuXRIWavsWeXsCAke6TbQEo8s1MQKCMZ5X/QQS39qkDAkq3rusnXWDyP8/fJ+cslV35iZkjhj3bukiXAUfjMHc6ldMvlLnIgkDozIfE+DLv8CA/NmiXQv0XfvkxaKFmNKuO2z4CYClVG54tSJm7enolITAMQkEcEOHAqnTVlzJzfNx27H5 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; SFS:(13230016)(4636009)(376002)(136003)(346002)(396003)(39860400002)(46966006)(40470700004)(36840700001)(33656002)(82310400005)(478600001)(81166007)(41300700001)(55016003)(316002)(86362001)(2906002)(54906003)(7696005)(40480700001)(6506007)(110136005)(40460700003)(8676002)(70206006)(26005)(356005)(5660300002)(9686003)(36860700001)(82740400003)(4326008)(186003)(52536014)(66574015)(47076005)(83380400001)(70586007)(8936002)(336012); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jul 2022 15:16:29.1185 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dcc562a4-fc24-409c-db63-08da60f4d52d 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: DBAEUR03FT031.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB2979 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 PHNuaXA+DQo+IA0KPiBUaGlzIGNvbW1pdCBmaXhlcyBhIHBvdGVudGlhbCByYWNleS1hZGQgdGhh dCBjb3VsZCBvY2N1ciBpZiBtdWx0aXBsZSBzZXJ2aWNlLQ0KPiBsY29yZXMgd2VyZSBleGVjdXRp bmcgdGhlIHNhbWUgTVQtc2FmZSBzZXJ2aWNlIGF0IHRoZSBzYW1lIHRpbWUsIHdpdGgNCj4gc2Vy dmljZSBzdGF0aXN0aWNzIGNvbGxlY3Rpb24gZW5hYmxlZC4NCj4gDQo+IEJlY2F1c2UgbXVsdGlw bGUgdGhyZWFkcyBjYW4gcnVuIGFuZCBleGVjdXRlIHRoZSBzZXJ2aWNlLCB0aGUgc3RhdHMgdmFs dWVzDQo+IGNhbiBoYXZlIG11bHRpcGxlIHdyaXRlciB0aHJlYWRzLCByZXN1bHRpbmcgaW4gdGhl IHJlcXVpcmVtZW50IG9mIHVzaW5nDQo+IGF0b21pYyBhZGRpdGlvbiBmb3IgY29ycmVjdG5lc3Mu DQo+IA0KPiBOb3RlIHRoYXQgd2hlbiBhIE1UIHVuc2FmZSBzZXJ2aWNlIGlzIGV4ZWN1dGVkLCBh IHNwaW5sb2NrIGlzIGhlbGQsIHNvIHRoZQ0KPiBzdGF0cyBpbmNyZW1lbnRzIGFyZSBwcm90ZWN0 ZWQuIFRoaXMgZmFjdCBpcyB1c2VkIHRvIGF2b2lkIGV4ZWN1dGluZyBhdG9taWMNCj4gYWRkIGlu c3RydWN0aW9ucyB3aGVuIG5vdCByZXF1aXJlZC4NCj4gDQo+IFRoaXMgcGF0Y2ggY2F1c2VzIGEg MS4yNXggaW5jcmVhc2UgaW4gY3ljbGUtY29zdCBmb3IgcG9sbGlu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