Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4993736rwb; Mon, 31 Jul 2023 16:17:39 -0700 (PDT) X-Google-Smtp-Source: APBJJlGb0yRyqaXCSI9dDH3REl9JhFDWFM+FCUgO3XuLmMTPXeRiGHbkFaoSBfCkHToKa7fqkIm6 X-Received: by 2002:aa7:9a8c:0:b0:686:5f73:4eac with SMTP id x12-20020aa79a8c000000b006865f734eacmr11719924pfi.13.1690845458707; Mon, 31 Jul 2023 16:17:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690845458; cv=none; d=google.com; s=arc-20160816; b=UNbGDPJ4KULi4D1TX++/lquouVDPOl0JI5BTICZjmsaz7wCH54qEHaggzz5imVny+O ExAji2zymCc8TbUvetv/YDRpzn0VmGb6GRcTpQVnBGLMDyW4JSD6AvLtEleYDiAGfdnz YwNiFS95yuZuk/KPSXke0aPwFG2RtKP2Hegg75KFsvMnaSvm3dNLG3nezjygoCSu1YWa b1Nm2VydRSOk2OOW9unvOtJdTMpmYhK6RkiZH3x+pikrc4QBkUAnKqOjlx3X1QfkHXLP Kg6YEVoOO+LAxytja0WMUThQvbzAVbX3wy+U2aVEW0eP33/5b6iJQJckZosLQb36Xt7Q JWAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=LddVCcT5Tl/w5tkU77QzXl+CGDu6387cGpG48tppgHc=; fh=oXB35Ft6gMu0wrsMTj5S5z7fp4R/QKVyBLXpPjxxEGg=; b=fMBzys1/p3P0XNc7pI4GujuryAzLgiyn4ZFgoNuSV7FH9pDH4WYypacZHf1bidlUnI 6NBnogaazRGUklS11IlrlS+O/6dthswCL3JvoWbUPJUjtpiARpzy/inOHEbSt2hbFH1i A0CXcE50euEcaI1NqI4hgmgcgkW2STouJ1j6F7b5sxE5E4fsyrGYOhiiXxMUYE/T15LR B8p3PZiB/0bORZDy/mZmrtdc/706OEAH1VUQ39S/1Jor9U4c2+fsWYES9VoVBqAMa8Rk /ZYzbnRR+dE62qSPptuFn3RqafJzFWuzhW2eghdj6ofhZV1yOt7BmUNaoRCb2+EvG0fb zDeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="0Ynn7Y/7"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id eb20-20020a056a004c9400b00686f9554bd2si7513871pfb.140.2023.07.31.16.17.27; Mon, 31 Jul 2023 16:17:38 -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=@infradead.org header.s=bombadil.20210309 header.b="0Ynn7Y/7"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231147AbjGaVhb (ORCPT + 99 others); Mon, 31 Jul 2023 17:37:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230320AbjGaVh3 (ORCPT ); Mon, 31 Jul 2023 17:37:29 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0CDF1BEC; Mon, 31 Jul 2023 14:37:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=LddVCcT5Tl/w5tkU77QzXl+CGDu6387cGpG48tppgHc=; b=0Ynn7Y/7W6+gDCwSOAZ/hzNhAf ncsnWc6Ebm0glt4s2jy+6ENEVw8CCnDcddcPxAeqCO1Vm6rOWP40UtXpk7WqdG3Sbb1q/3CucAmPZ qDhNbMsdf3BrUSfNJ1r9+31fDwhdC1gU4CacjWVr4B82FZjG4LdFg30afj+w9oiGhUs73HGFs/v/L xvY5hvk58sAfA5z4McMTW8BtxkIZN9OihahGe+3Vyzuv0tK0LxQraesPWqUx6J4ahrTelf12g654L J2r7IbQOEmrqGnynl/sNARXbjYdGVcA+NX/WO2gi/nP8HJYhRloIot6akbGmFUUqoN7p6p9WZ0onF W4rm/+EQ==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1qQaZO-00HOoz-18; Mon, 31 Jul 2023 21:36:50 +0000 Date: Mon, 31 Jul 2023 14:36:50 -0700 From: Luis Chamberlain To: Joel Granados Cc: Catalin Marinas , Iurii Zaikin , Jozsef Kadlecsik , Sven Schnelle , Marcelo Ricardo Leitner , Steffen Klassert , Kees Cook , "D. Wythe" , mptcp@lists.linux.dev, Jakub Kicinski , Vasily Gorbik , Paolo Abeni , coreteam@netfilter.org, Jan Karcher , Alexander Aring , Will Deacon , Stefan Schmidt , Matthieu Baerts , bridge@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, Joerg Reuter , Julian Anastasov , David Ahern , netfilter-devel@vger.kernel.org, Wen Gu , linux-kernel@vger.kernel.org, Santosh Shilimkar , linux-wpan@vger.kernel.org, lvs-devel@vger.kernel.org, Karsten Graul , Miquel Raynal , Herbert Xu , linux-sctp@vger.kernel.org, Tony Lu , Pablo Neira Ayuso , Ralf Baechle , Florian Westphal , willy@infradead.org, Heiko Carstens , "David S. Miller" , linux-rdma@vger.kernel.org, Roopa Prabhu , Alexander Gordeev , Simon Horman , Mat Martineau , josh@joshtriplett.org, Christian Borntraeger , Eric Dumazet , linux-hams@vger.kernel.org, Wenjia Zhang , linux-fsdevel@vger.kernel.org, linux-s390@vger.kernel.org, Xin Long , Nikolay Aleksandrov , netdev@vger.kernel.org, rds-devel@oss.oracle.com, Joel Granados Subject: Re: [PATCH v2 00/14] sysctl: Add a size argument to register functions in sysctl Message-ID: References: <20230731071728.3493794-1-j.granados@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230731071728.3493794-1-j.granados@samsung.com> Sender: Luis Chamberlain X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 > Joel Granados (14): > sysctl: Prefer ctl_table_header in proc_sysctl > sysctl: Use ctl_table_header in list_for_each_table_entry > sysctl: Add ctl_table_size to ctl_table_header > sysctl: Add size argument to init_header > sysctl: Add a size arg to __register_sysctl_table > sysctl: Add size to register_sysctl > sysctl: Add size arg to __register_sysctl_init This is looking great thanks, I've taken the first 7 patches above to sysctl-next to get more exposure / testing and since we're already on rc4. Since the below patches involve more networking I'll wait to get more feedback from networking folks before merging them. > sysctl: Add size to register_net_sysctl function > ax.25: Update to register_net_sysctl_sz > netfilter: Update to register_net_sysctl_sz > networking: Update to register_net_sysctl_sz > vrf: Update to register_net_sysctl_sz > sysctl: SIZE_MAX->ARRAY_SIZE in register_net_sysctl > sysctl: Use ctl_table_size as stopping criteria for list macro Luis