Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp113394imn; Fri, 29 Jul 2022 01:13:22 -0700 (PDT) X-Google-Smtp-Source: AA6agR4sPzAnHTHrv1fBWzKWaUV6Rv15qL/O8wV6v8pG+822RWZPGsqsZUoQiU94Xzq1hhImAOce X-Received: by 2002:a17:902:e84e:b0:16b:f773:4692 with SMTP id t14-20020a170902e84e00b0016bf7734692mr2681439plg.19.1659082402669; Fri, 29 Jul 2022 01:13:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659082402; cv=none; d=google.com; s=arc-20160816; b=I8naIwpHGD9UmX7XBIQbm4gFZ/yLGj0zBOWR8dbJlJtHp+3fanxUCPGWv5s0clGi6d 9dkmvQRyxxGRNP7hQld9qPR5qHcPDDh/JstJtAQBAC+0zFpHGDHrWWP2Tu4MeIJn3dEt du7XbNkf9JQtcQJwUuAKsQmr08TkXa+tHsa10G4wGtDHqZ93DPAzmLXzxchnKmcabLxw 0YWHc/C70RVOlRxoezxMdG0i0oBYiK8IhWklCmYsZ2ul7K5fhn0uDy3n5vJ3Kp4qZyif 1pd5pb+mOIcoLjC9X4AHMKqcEPQGVHJ9+cft8QpwzbdQ525wchGbNZP6NCSWLImMvdUt KNVA== 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=uakZq5jjI3k3Wqdc3kNF9IpIwnGj43FMnuJpnIZFyDE=; b=CChoMEinlzz3vAxKPRiMRSVP/djVCshxv8hHpy2PqJ/XKl6huRtN7XLnJ3avy0u6bo TI3fggm9mSxq8fRBGzPFXdsxtGki66nUY+MUOaOL+hl/pNY9K5oFCdZRhAhh5k4Ti7Qo msRoGIRHM1Gh9/AnruKhU5SsChUZjAjw25yYriUvIWk35lMsis6i3NqLwWjjp0l1BpCs ngXvn5LftojYrxgNWgrVHfIeG8XEnNKU3p8VRuOLDKkKYT+pTWUzhfFNaAMSU4W0mamQ Jp90z5mtUXNLnlmvSnJQV3anqL4RSSlIS5EWI8nwIkG3FFDmio3HPWN8+LVsafRbjCty Nxgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20210112.gappssmtp.com header.s=20210112 header.b=STmqqbhO; 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 r14-20020a63fc4e000000b00411f9246bbasi3362512pgk.484.2022.07.29.01.13.07; Fri, 29 Jul 2022 01:13:22 -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=STmqqbhO; 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 S235355AbiG2ILJ (ORCPT + 99 others); Fri, 29 Jul 2022 04:11:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231564AbiG2ILH (ORCPT ); Fri, 29 Jul 2022 04:11:07 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F4477E815 for ; Fri, 29 Jul 2022 01:11:03 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id j7so5069066wrh.3 for ; Fri, 29 Jul 2022 01:11:03 -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=uakZq5jjI3k3Wqdc3kNF9IpIwnGj43FMnuJpnIZFyDE=; b=STmqqbhOq0hT2em/dkhL5QkjUXaSR7EfXG8Iy2BQq2KYYfx/kbk2kk9NQup2XgXlsy 6hnpnbZFrP8Bi1m1vfsT3iBEEEUK4Oebk5m3+VxqKK24lp768qyfAU7uuq1LDsbviApB 5AwzP/MbiPk2bQ0KCDQsB/UESVe6OmWICZctS44+jm7QQlV2YVDtxIWZwKDT+/yZkIvA 9/HhmS73O+c4eEqzOIg+Vod2v0JbZ/nKtr2pSWXO+0CH9sVuf/7NS8ESfVmYlYGd5dB1 bReC1MO71dLOl0L4F7J16JThdc0VHJ+0xMtCzrSzk8eH3WNsUaEcMrnrZcVCjkIFAHOz IyUA== 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=uakZq5jjI3k3Wqdc3kNF9IpIwnGj43FMnuJpnIZFyDE=; b=ufem4czwtEwPME6G/0AKpimve7MWqLjeLdQURC09r7iYdlc6732JAPslz9/ulVITfY zXBCRg5+0j2YeLBqCQhR2wai7E5J18XhhFDCzyzjv1fohd/Qc5u5F888jvrZblH9N1eU RvVn3OcpPiljibOptl2onvEGlvMkNbRGylpO13vHNR8TyOlpV4gxjPn88uo7JO7ciu5W mWJlEzwwqR78PCmLc4waeKj6xfoBFOGuPOJgvn2/qIu3oqIxQSc3UHblL6sF7iE8oxM1 AuF+U1R3EruZDoLel2fjztj//KtNqMT5S34q/e/OOw79d6OCJlvKYUCYUkyw83CovzUL JXJQ== X-Gm-Message-State: ACgBeo2/EA6maaCPSPCinDGxt9/P1rZ+9qqabl8sgY/pNlhiDiHlUn69 G5R6JtOSyUh8tOf3egY1Uwe2gA== X-Received: by 2002:adf:ffc1:0:b0:21d:66a1:c3ee with SMTP id x1-20020adfffc1000000b0021d66a1c3eemr1534007wrs.364.1659082261728; Fri, 29 Jul 2022 01:11:01 -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 q2-20020a5d6582000000b0021e52020198sm2928398wru.61.2022.07.29.01.11.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Jul 2022 01:11:01 -0700 (PDT) Date: Fri, 29 Jul 2022 10:11:00 +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> <20220729001842.5bc9f0b2@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220729001842.5bc9f0b2@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 09:18:42AM CEST, kuba@kernel.org wrote: >On Fri, 29 Jul 2022 09:00:07 +0200 Jiri Pirko wrote: >> >> 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. > >Fixes and stable. Frankly it's just a generic justification Was there a significant value of breakages for net and stable backports in past? >to discourage people from sending subjective code cleanups. >I'd never argue for the benefit of (2) :) Uff, for a second, it did sound like it :) > >There's been a string of patches cleaning up return values >of functions in the last few days. If people have a lot of Well, I think it is good to send a patch to clean something up when you spot it. If you don't do it, someone else might do it again in the future anyway. Plus there is one good reason at least to do this kinds of cleanups. People tend to copy&paste code without thinking twice. So if you clean it up here, it might not get copied into other code. That's good. >time on their hands they should go do something useful, like >converting netdev features to a bitmap. Hell, go fix W=1 warnings, >even easier. Random spot&clean is hardly comparable to this. > >The time spent reviewing those "cleanups" adds up, and I suspect >there's hundreds of places they can be applied. Hence my question >about automation...