From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B4B55C433F5 for ; Fri, 22 Apr 2022 21:21:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229809AbiDVVYU (ORCPT ); Fri, 22 Apr 2022 17:24:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229680AbiDVVYT (ORCPT ); Fri, 22 Apr 2022 17:24:19 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1780A19B679; Fri, 22 Apr 2022 13:19:54 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C7AF3B82D82; Fri, 22 Apr 2022 19:43:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5742DC385A4; Fri, 22 Apr 2022 19:43:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650656622; bh=WwVgQvu+crgB9HWT96pNSkuqAaHtEF5wwt64I5ZCnQI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ClQa3D6Vnh9fu4wV/O1TPl+OpU5hlF9x7zszhiMicEwfT9TYmVwGYPussos77rXVg yXo9MCJELP12lmr9cAQE91TCh6P1XaaQTbIRB1PMQRD/kQgckHuYC64vNy4Hu1P1vn uPhMBbnEve+cF6on3HVzLwjrclVsFnQttPvl6u/7Hb55TgrAqnNJgxmpqQCOykOalC ydvclZKDWmPSDV39imxynV7FUa+OhF6JRZwL10LSjRfmQsFO8JNSVrdvI63+x4yZ0z AGGDvdsh58K5AszSf9xYbbh9e37Ao7I38r4RqoGN1PO5Wi0+2kjcPO8a5+gP5/QPMl 9VC1Re8bc41hQ== Date: Fri, 22 Apr 2022 12:43:40 -0700 From: Jakub Kicinski To: Luis Chamberlain Cc: xiangxia.m.yue@gmail.com, netdev@vger.kernel.org, linux-fsdevel@vger.kernel.org, Kees Cook , Iurii Zaikin , "David S. Miller" , Paolo Abeni , Hideaki YOSHIFUJI , David Ahern , Simon Horman , Julian Anastasov , Pablo Neira Ayuso , Jozsef Kadlecsik , Florian Westphal , Shuah Khan , Andrew Morton , Alexei Starovoitov , Eric Dumazet , Lorenz Bauer , Akhmat Karakotov Subject: Re: [net-next v4 0/3] use standard sysctl macro Message-ID: <20220422124340.2382da79@kernel.org> In-Reply-To: References: <20220422070141.39397-1-xiangxia.m.yue@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri, 22 Apr 2022 07:44:12 -0700 Luis Chamberlain wrote: > On Fri, Apr 22, 2022 at 03:01:38PM +0800, xiangxia.m.yue@gmail.com wrote: > > From: Tonghao Zhang > > > > This patchset introduce sysctl macro or replace var > > with macro. > > > > Tonghao Zhang (3): > > net: sysctl: use shared sysctl macro > > net: sysctl: introduce sysctl SYSCTL_THREE > > selftests/sysctl: add sysctl macro test > > I see these are based on net-next, to avoid conflicts with > sysctl development this may be best based on sysctl-next > though. Jakub? I guess the base should be whatever we are going to use as a base for a branch, the branch we can both pull in? How many patches like that do you see flying around, tho? I feel like I've seen at least 3 - netfilter, net core and bpf. It's starting to feel like we should have one patch that adds all the constants and self test, put that in a branch anyone can pull in, and then do the conversions in separate patches.. Option number two - rename the statics in the subsystems to SYSCTL_x, and we can do a much smaller cleanup in the next cycle which would replace those with a centralized instances? That should have minimal chance of conflicts so no need to do special branches. Option number three defer all this until the merge window.