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 1815FA0C41 for ; Tue, 30 Nov 2021 17:36:22 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DF21D41142; Tue, 30 Nov 2021 17:36:21 +0100 (CET) Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by mails.dpdk.org (Postfix) with ESMTP id 877E541142 for ; Tue, 30 Nov 2021 17:36:20 +0100 (CET) Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 580043F1E5 for ; Tue, 30 Nov 2021 16:36:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1638290180; bh=nleJas9jDTSH+ZtnsiRAx+82lNyT5ugKklkaA0aVZMI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=cyx1S5ZBIqLfZ7KcV+xCCJncILWpYu20S8+xqHJF9Mo5E+3eHXpfYgSZlHmzryxZS G3KCRbtv+zEuPhfr47I8RFeYIb8JWBXJLnk4RDVJThmMDfMkJn7Npk7y1dXVLYWqlU CoSejGmaJkYSuQ0OWG4dxDCDGCbU0mE5KjWOWVNgC8gvjk8z1pnVeInH7AlEiN3y8j LWp3g7+M0uX10Lr+ROz5H12JoBMWi3ll7NkmgCCoIB6Yr857J/pAux7HuWq/KKMz3M YX0JnxKGmCUiOONkCHKCvqD3ReEPomFMs9hGZlQ6v0oqyhgNYekpJxW8Nz0uwsqwf6 mZtJLbkWkz+Pg== Received: by mail-ed1-f70.google.com with SMTP id b15-20020aa7c6cf000000b003e7cf0f73daso17400644eds.22 for ; Tue, 30 Nov 2021 08:36:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nleJas9jDTSH+ZtnsiRAx+82lNyT5ugKklkaA0aVZMI=; b=me7Maik+850DG2jGgtDS0n4nRShOcVSx/G5yQgR09a0PPiC7nI7IA4XM15m+FZlHlQ XjFfjIM2K+5TtQhRYjdllxyUVqB/5jX/vHi0/lhYQL9K4oWn3lHKSiCS9+NSqKp3yrN6 D8bmJekm0E+0l5+3oyje2OysQDCNhI+DBCc5+dqwbsp8buo2eoOx6KDnoVWBHg3nlDNh Edd9OibB+G5aPnbOiBAxx+Tnr/4Fbm3KiqpzoZ6HcOzrN2hbccrBOKwkYY6mVyDbJe9K 4pfm29Q8BXyvpSknAtNYKVrUx2bZ+GkFi8XFZRLPEJVulEsi92Xas3fX1tv+U0+ZKlVK U3qw== X-Gm-Message-State: AOAM531Ujd3nNeqD5T7ZThwO6OsSgRjdgRu8rQTrL62H4cJiZAl07DKo TZN99Gwvhj4IQghrYsISWCupEON723qF5pcN0odzkRa2aKWmKH46Mn3EWpdCO00SU28OHtNkT2u gek/pn4SiCpv1pntsS3gms8yR X-Received: by 2002:aa7:d512:: with SMTP id y18mr17522edq.163.1638290179867; Tue, 30 Nov 2021 08:36:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJyaBtqseY/22w7FZZRfkK/ypusBZStifDUY/ysJidcg+GbB8hsXBGF7Jt4cI6nCu5/dkMiQPw== X-Received: by 2002:aa7:d512:: with SMTP id y18mr17494edq.163.1638290179718; Tue, 30 Nov 2021 08:36:19 -0800 (PST) Received: from localhost.localdomain ([2001:67c:1560:8007::aac:c4ad]) by smtp.gmail.com with ESMTPSA id e1sm8859798ejy.82.2021.11.30.08.36.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 08:36:19 -0800 (PST) From: christian.ehrhardt@canonical.com To: Jerin Jacob Cc: Ali Alnubani , dpdk stable Subject: patch 'examples/performance-thread: fix build with clang 12.0.1' has been queued to stable release 19.11.11 Date: Tue, 30 Nov 2021 17:33:27 +0100 Message-Id: <20211130163605.2460997-3-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211130163605.2460997-1-christian.ehrhardt@canonical.com> References: <20211130163605.2460997-1-christian.ehrhardt@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hi, FYI, your patch has been queued to stable release 19.11.11 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before December 10th 2021. 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/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/eec17bcf6b113084bb734b2f2ad32550b2cd302a Thanks. Christian Ehrhardt --- >From eec17bcf6b113084bb734b2f2ad32550b2cd302a 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 [ 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 d137c49bb3..f169709137 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.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-30 16:50:06.381983795 +0100 +++ 0003-examples-performance-thread-fix-build-with-clang-12..patch 2021-11-30 16:50:05.482871270 +0100 @@ -1 +1 @@ -From 5e184c4cc7ca5633aaebf15f73882b8456d13fd7 Mon Sep 17 00:00:00 2001 +From eec17bcf6b113084bb734b2f2ad32550b2cd302a Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 5e184c4cc7ca5633aaebf15f73882b8456d13fd7 ] + @@ -16 +17,0 @@ -Cc: stable@dpdk.org @@ -25 +26 @@ -index 257de50692..7ce6cfb0c8 100644 +index d137c49bb3..f169709137 100644 @@ -28 +29 @@ -@@ -72,7 +72,7 @@ void *helloworld_pthread(void *arg) +@@ -71,7 +71,7 @@ void *helloworld_pthread(void *arg)