Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp94952imn; Fri, 29 Jul 2022 00:20:00 -0700 (PDT) X-Google-Smtp-Source: AA6agR6azUVIOsIXUai8k341k5r6AenBa1PFgKpZURdT83b2rcyxCdZ/3jbGDj1HMtvzWpknlgps X-Received: by 2002:a17:90b:1d12:b0:1f1:8d48:abaa with SMTP id on18-20020a17090b1d1200b001f18d48abaamr3448997pjb.96.1659079199899; Fri, 29 Jul 2022 00:19:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659079199; cv=none; d=google.com; s=arc-20160816; b=sNqZN5l5RqR24nt/WrGiGlZ3GVNSoYNtY9fPl1cD2tSDUnG+wgjOA/N4l6cMM8i5ha JBJHcUpTMqFlcASy4mvGR7Ev3gP9vqDUObHUQtGiXh3BhFnNNqY96zqcNhumJO7eMUt3 alxjNxFIh2tt9+xZhXSl+QOrYnnVvbp6gvIvPtpFt/yUGxLH1o3ovbhx1e123F17Nq+p o1ABxCQnXe+AEUltcYtedPw3uAnZ0aAPQODiytViZ/339TBlW+M6JUdAb8sVUaIcopL2 HdnpTnAab64ZCSNFJq7nTMRKp5xtra/q2zL7ZZS5AbURx8O6zyQvW8W/nsfkhR5VjuDF mi1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=mwmHuLtF9G2EKODNbwTWiEpF4Sr2BhGxktiOGdwitQQ=; b=uROJG5GcJrqayBVEhAAv+vMQREJwvgA7vSBe0oEuuil+kuFthsln0lKR5TrJ7wUGgs OxEiKXBsDRSsQVbZIpLkyGQQoDWPVm+sUPwfAjqqq2PIIaldQC7Rzxy+raRmIiPrh8B5 f9Ow9DWvlC2Agw13qJE9oi8yy87eV8DIMEwBQOaNwK7BzGKwkHjXvHJfpdP2nqbI3tAC aZJYChG0Y070wF5Bm5dNEp8Ns/CduhVV0Gpopf00YzfbbFQpGg4zMQ0rpE3gFAWbgYkq 7Gszrc5Rb3Iwp3og2J5cczvuBeY4KhYoMLVy4BscOM4RFuNg63QlobII5Uk47P48Y9vO QaHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20210112.gappssmtp.com header.s=20210112 header.b=usBS4rgv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pj8-20020a17090b4f4800b001f21bf07ea7si7203723pjb.48.2022.07.29.00.19.44; Fri, 29 Jul 2022 00:19:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@resnulli-us.20210112.gappssmtp.com header.s=20210112 header.b=usBS4rgv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234603AbiG2HAP (ORCPT + 99 others); Fri, 29 Jul 2022 03:00:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233974AbiG2HAN (ORCPT ); Fri, 29 Jul 2022 03:00:13 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5441ACD1 for ; Fri, 29 Jul 2022 00:00:11 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id oy13so6954134ejb.1 for ; Fri, 29 Jul 2022 00:00:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=mwmHuLtF9G2EKODNbwTWiEpF4Sr2BhGxktiOGdwitQQ=; b=usBS4rgvXuy+sJxNC+QJXAnpQETBKSXJvLHaQrfLvFa7XRaa3LPSXOFKVqNow43eTc KNiJ6ArbLaWLEuuSSqL3JguiFIhqBleecXijNMpzsO7WiMxkONj+eczEFxsD3KkjYjhN eWANkL5QIkONppjks4jjlgGGD8nenrSE6pWIhVRvVJIeL2KggjtauuIb1vAKeaacqp0F +/5KvJhDA75INWx+q0RytS5XNPal/bNbmmcFn6IJw+pGdo5I6YDtu7+8F5xvct18IOZ9 jrXSDSRZScXdNJZPRWuSycff+3CEKxVzBpifDhG1UL0qWnmhggGiNdqPSEPDDSa5251p nOBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=mwmHuLtF9G2EKODNbwTWiEpF4Sr2BhGxktiOGdwitQQ=; b=ggaPMrr1RpTR886rAqMXbduz7poL3c6JvwT9nLB+MHkfKLhqsi4i8obnfo0cVtuOc7 eMv7bO2c3MYGSIjz/PiXAoGd/EKa2VnwJfr3MFgxii6hSHfRZQjaJNy5bkDWzbAjjMDp RxSTQdgNN8e+fGuSV7nr1hd7669PAHwmTpKLqzpoHoMSIKjnyBqGr1X5JJEhW/l8yxuH AwcY6h98+H5S6redY10lySoIeIWBnAxALBEswRopCar9w9lwj1oyEgs+8etkP/bC9qdr Qm48nFRLrPyrd0nfGcWvK8dzCqeu5ZLrVEs4BZ01ZND5kzF4bmzKOYAzsFiUktOHpyh1 PCbQ== X-Gm-Message-State: AJIora+A0P5YNosJgnNJfPsdgpjk//ATljbqFEXqcoGxyOLhJhSXnzFm CXOqySBqvVCSIYdnsokR6Dw5hnso+xOUkkUr X-Received: by 2002:a17:906:5d16:b0:72f:248d:525a with SMTP id g22-20020a1709065d1600b0072f248d525amr1940654ejt.441.1659078009966; Fri, 29 Jul 2022 00:00:09 -0700 (PDT) Received: from localhost (host-213-179-129-39.customer.m-online.net. [213.179.129.39]) by smtp.gmail.com with ESMTPSA id o22-20020a170906769600b0072f5fa175b2sm1295648ejm.8.2022.07.29.00.00.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Jul 2022 00:00:08 -0700 (PDT) Date: Fri, 29 Jul 2022 09:00:07 +0200 From: Jiri Pirko To: Jakub Kicinski Cc: Li zeming , jhs@mojatatu.com, xiyou.wangcong@gmail.com, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] sched/net/act: Remove temporary state variables Message-ID: References: <20220727094146.5990-1-zeming@nfschina.com> <20220728201556.230b9efd@kernel.org> <20220728235121.43bedc43@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220728235121.43bedc43@kernel.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fri, Jul 29, 2022 at 08:51:21AM CEST, kuba@kernel.org wrote: >On Fri, 29 Jul 2022 08:30:35 +0200 Jiri Pirko wrote: >>> How many case like this are there in the kernel? >>> What tool are you using to find this? >>> We should focus on creating CI tools which can help catch instances of >>> this pattern in new code before it gets added, rather than cleaning up >>> old code. It just makes backports harder for hardly any gain. >> >> What backports do you have in mind exactly? > >Code backports. I don't understand the question. Code backports of what where? Are you talking about: 1) mainline kernels 2) distrubutions kernels? Or even worse, in-house kernels of companies? If 2), I believe it is not relevant for the upstream discussion, at all. >There's little benefit and we're getting multiple such patches a day.