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 548EDA034F for ; Wed, 10 Nov 2021 07:32:55 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4B4A540142; Wed, 10 Nov 2021 07:32:55 +0100 (CET) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam07on2059.outbound.protection.outlook.com [40.107.95.59]) by mails.dpdk.org (Postfix) with ESMTP id F1F9B40142 for ; Wed, 10 Nov 2021 07:32:52 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=idqLF7OuhM3KceCTxrFkwlej6fftyxDDCxn6ghihrVw7eHg1NNKZGn2G3bVXjDuz910KLBIiHJ2U3gRaTwZOv2UX8ez2XJzDplN+E0VngUTCtTvHkshulhneWBUg0K/5/3cOplY3dPY0SaC27ddDSZwqypHNyXuqYJaPiSNbM37qQxU4Tfo2d1BZuSDdctN/1gxT8mFp6W8hFkY1SzI2A7jN7/Ml7F8vl4fCF0JjB/2MM0YA2VIXwjRuZb8tfhSasX8M3WrojxD3mzaQogufXHpqXo8hFH1gMuT6RL8C9cywkd5nF6Q0HUDMqWPGvOY8cDLTBojfdIjsCK7t3oCfuQ== 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=WBTav+1YX1REPYHDYPXmywDa0S5SsLmOviwTpFZxzsc=; b=jLfvizf/SnQwbyQH7I+Wo10pc+RWJ6ug6wi24E0TAMQseTSKR+E304Uwh3tymddlNH9rJg/xSmXjC+rDZmOUVCbvc111XHP112uj01h/RYBSt5xj5ZYc9b7fzWk0192zcckIpR0t0Cn0gzZIfKEHdBP/UaZkKfpGhaTg8R1pPEUExGaaMonjkj3uk5q9/kz80cOUybwvu6+KpjTCq2+dZf6bn5EpLG/mtEcP65x/RVviP0pHjGaBR30Hu0QbmzHBwnqFro9XmCMphME94rOLP+h/bc8QzM2OHnkBWnv505Wg+deiZ//1aHgUjXbXTkvW6hAo6tq3PD+/vrlhUVAqbg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WBTav+1YX1REPYHDYPXmywDa0S5SsLmOviwTpFZxzsc=; b=TeVyQfdH0MOn49OHr6j/UFZTkCVEPzmUUHzIF9qbkx8EDuEfq/nMhEdK8a2N/Iem/t8UoAEabVU78IRrJ6hQJrPSFwVKwSMMoQI83xv+n1z0gHNY/mqUxXQgUeBUq7lMOilRznK2/w4q5dXoX0ZxzR3nEuXevMAx7ZMHlWtbNlHpBJSoXZ0l7ZZ712qvhYdAQNXxIHlJRzLi+CfijFzV7com+4xkfMCt0RzYRHKycTWqTyb05gesJ9bbo43r3Kc622kqomEHB9C7A+ty2fJ3LfId0qaS5TlMcV+a47TytawEOWAqFlhd+vKEl084LPKJE15NHLHDJlFu2z6+4nB2Bw== Received: from DM6PR01CA0001.prod.exchangelabs.com (2603:10b6:5:296::6) by MN2PR12MB3871.namprd12.prod.outlook.com (2603:10b6:208:16a::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.13; Wed, 10 Nov 2021 06:32:48 +0000 Received: from DM6NAM11FT060.eop-nam11.prod.protection.outlook.com (2603:10b6:5:296:cafe::f) by DM6PR01CA0001.outlook.office365.com (2603:10b6:5:296::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11 via Frontend Transport; Wed, 10 Nov 2021 06:32:48 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by DM6NAM11FT060.mail.protection.outlook.com (10.13.173.63) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4690.15 via Frontend Transport; Wed, 10 Nov 2021 06:32:46 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 10 Nov 2021 06:32:44 +0000 From: Xueming Li To: Jerin Jacob CC: Luca Boccassi , Ali Alnubani , "dpdk stable" Date: Wed, 10 Nov 2021 14:28:06 +0800 Message-ID: <20211110063216.2744012-3-xuemingl@nvidia.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211110063216.2744012-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1c249692-6bd0-43cf-c3a7-08d9a413e88b X-MS-TrafficTypeDiagnostic: MN2PR12MB3871: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aEJQ0tO0A/sBFlFe3CKNJR+2RKLLFGM8YEkE3LmX32XFZ/N9vhkZzXDKks91MyVQHvU/ndfPmUgjxMJVdnu6AMY1tQgniyHXqz2Q2YIX//8L86PfsaFpHZH49GwugOfuZhPp0OqzpI6ttjkJjzf/iHU7qBzEGXY9ihtR0xJI8fK7Al4rHaZWBlFGlI5Gu7z7whoMLqGkXJu72bel7y5mtOgr7kOlNr3pTRsnkJUNUeVU+s8IbMKzcKE8SCF48d0ddKserMJvvfWUmuy9fQWlnqeSSn07IQ7MnE79d0VRG1Ri85VCwS76SIzuHieVn81m3WQCw0XoD4tjsYwXJhKZbd48ZU2qXcUBvf7L5RpfJgNbL91qzFq+Jsdxb0q7KbLqeCictaPMhv1tuij3lNmjE7daiqHhNHRGR2i5mYcTSsckFGbK/dj+BlvOpPRSh/nJKSgSXQAh61HC/2M6kWnYoQBaIhnPxQXzsUdhxk1ryRVzYeIf3MUcQ7aMdEv0MwedDN+vkl2ibvdHxk4ZBe/AOGtDieoFWLQvUis5AWtk+dBbLEfcC4hwtzT+JYtGJLiIdrGxjIJjz8ulppEtmso0yTGSLHrwA/EPs1qDmgpJ+Y+L1kdyTwY3Z5lQidQumY/WjkGPx0S63QvaaMFtzVUs+zMWdPfInpn7pp38ay3PM2O5tQy2hwxFZ7SScC3WWQZYeGK1v6fsFFADW8LNeaFrSMuRY3yRj1Vw5OTKN63MfvqcUS1v/CrOGITQhz7GC3YYvhwxDPm435UD0VILDLWTXHbQZzyIljdtlDkRpYrWE66C8X0cWwO3cZFhs9X2HbSk1YDOxxNyFHUxroPvBdDXNg== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(46966006)(36840700001)(336012)(55016002)(1076003)(16526019)(86362001)(6666004)(426003)(53546011)(356005)(4001150100001)(5660300002)(26005)(2616005)(7696005)(7636003)(54906003)(36756003)(2906002)(8676002)(8936002)(6916009)(70206006)(70586007)(316002)(4326008)(36860700001)(82310400003)(186003)(508600001)(47076005)(966005)(83380400001)(6286002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2021 06:32:46.1334 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1c249692-6bd0-43cf-c3a7-08d9a413e88b X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT060.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3871 Subject: [dpdk-stable] patch 'examples/performance-thread: fix build with clang 12.0.1' has been queued to stable release 20.11.4 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.11.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/12/21. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/d65672bac2ec7927684e16a8677983f1c4e9ac01 Thanks. Xueming Li --- >From d65672bac2ec7927684e16a8677983f1c4e9ac01 Mon Sep 17 00:00:00 2001 From: Jerin Jacob Date: Mon, 16 Aug 2021 18:49:14 +0530 Subject: [PATCH] examples/performance-thread: fix build with clang 12.0.1 Cc: Xueming Li [ upstream commit 5e184c4cc7ca5633aaebf15f73882b8456d13fd7 ] In clang 12.0.1 version, the use of pthread_yield() is deprecated, use sched_yield() instead. log: examples/performance-thread/pthread_shim/main.c:75:9: warning: 'pthread_yield' is deprecated: pthread_yield is deprecated, use sched_yield instead [-Wdeprecated-declarations] Bugzilla ID: 745 Fixes: 433ba6228f9a ("examples/performance-thread: add pthread_shim app") Signed-off-by: Jerin Jacob Tested-by: Ali Alnubani --- examples/performance-thread/pthread_shim/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/performance-thread/pthread_shim/main.c b/examples/performance-thread/pthread_shim/main.c index 241267fd9e..288c70c6cd 100644 --- a/examples/performance-thread/pthread_shim/main.c +++ b/examples/performance-thread/pthread_shim/main.c @@ -71,7 +71,7 @@ void *helloworld_pthread(void *arg) print_count++; /* yield thread to give opportunity for lock contention */ - pthread_yield(); + sched_yield(); /* retrieve arg from TLS */ uint64_t thread_no = (uint64_t) pthread_getspecific(key); -- 2.33.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-10 14:17:02.222062262 +0800 +++ 0002-examples-performance-thread-fix-build-with-clang-12..patch 2021-11-10 14:17:01.730747236 +0800 @@ -1 +1 @@ -From 5e184c4cc7ca5633aaebf15f73882b8456d13fd7 Mon Sep 17 00:00:00 2001 +From d65672bac2ec7927684e16a8677983f1c4e9ac01 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 5e184c4cc7ca5633aaebf15f73882b8456d13fd7 ] @@ -16 +18,0 @@ -Cc: stable@dpdk.org @@ -25 +27 @@ -index 257de50692..7ce6cfb0c8 100644 +index 241267fd9e..288c70c6cd 100644 @@ -28 +30 @@ -@@ -72,7 +72,7 @@ void *helloworld_pthread(void *arg) +@@ -71,7 +71,7 @@ void *helloworld_pthread(void *arg)