Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5017832rwb; Mon, 31 Jul 2023 16:52:15 -0700 (PDT) X-Google-Smtp-Source: APBJJlG0l5Eev4jQccGmZkBY6t0UIcQ5f0wr/Lt96mEpbBlaq7lu6mS3GJUrBpdW2Cdq2/oFaeY7 X-Received: by 2002:a05:6512:3d23:b0:4f8:6d99:f4f3 with SMTP id d35-20020a0565123d2300b004f86d99f4f3mr1013031lfv.52.1690847535067; Mon, 31 Jul 2023 16:52:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690847535; cv=none; d=google.com; s=arc-20160816; b=SBHKCcn9rvTLieCQncn0ACUQQVfC83fecsWpP4xeo0lJ8/jOU+aet7KHKPZG1SQqQ0 NYjx+WtzTAmSc+IaR1sRk5VZbloRAIXW+0CYhSqTcKIPcO8rE7dtnrE1Mnm9XwNr9O2T osROwDP+Tyiz+yJ8nULIyYVmhylZN/FS5W6QGjEmrx7XqpsS91ybOdm+FVkWgVP0cPwQ tk9qp10qGEu8EotII7u16ZoOVySuaS3ZtxA6Ijqj0TPwhj11VWDfC4dCexDs92F0ozWC HU4ziSMJOGOkJJN5JPY+EB1XhiCy7VX2Drcvn588fRMriGt0JJdtUwHzsHmdsSLwzyic lEOQ== 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=0rQhfOHno9kOrBF8fBhXP/I9K++I3qDiyVLQoCDK1W4=; fh=oXB35Ft6gMu0wrsMTj5S5z7fp4R/QKVyBLXpPjxxEGg=; b=tRBlIJLTXOtvce/KtNebx0NKio8JDl3I8ait9JLjLjTvL3tRXKvdVCmNBuEu1WTAzV rPqsGAUToXSczS+2jO/JPv3rc+trn3xoh5mGAuFZS3SuHpOTiaSm5eSN928cCqQssk72 7tWmY+dJeA5CFeB6bLLtrJy2aCXt/xe1wuddbxSyxIlO4Zd8BUxv2CfqiC+7ISb+/sIQ 9GJKxeP7/wnJK6TuGMH6T9gjvdchG5vEFYo7JI3KEP+TzRwFiX2cfq4H+IxX+ei03Ooj EBXRHtx5sni1PoM84ML1YWRzkBGa4GiNNJcPuOZBrt4JZb1zrXAu3zNDj/irXjcDUO2f BMbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=M5P5CTtU; 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 i20-20020aa7dd14000000b005222a4b267fsi7286971edv.38.2023.07.31.16.51.50; Mon, 31 Jul 2023 16:52:15 -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=M5P5CTtU; 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 S230201AbjGaUvP (ORCPT + 99 others); Mon, 31 Jul 2023 16:51:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229816AbjGaUvO (ORCPT ); Mon, 31 Jul 2023 16:51:14 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A7AC1996; Mon, 31 Jul 2023 13:51:11 -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=0rQhfOHno9kOrBF8fBhXP/I9K++I3qDiyVLQoCDK1W4=; b=M5P5CTtU8QVHseBu0j23jZKJQ5 zdmFeCi+q8wFnS2+KLHSjnJHSd5pnzFickjfzr8jPwi/vCHqAcZ9WCA0mR/QI+0Kjh6XoL08hbzME VBoQ7z2I6Dq5QBWWD3rWbO5iIaX+lC0AM/wvJ+GiOSWfF9SPutpolOgNZ/ukNLIzK/aedDEcVPyTh B6h6pyyaLRZgV2Xnjk90uOZf4W9KyZ4Eh/0yo+2JjiRxVLIfvbTk5JuH66kGyMozCxgEvJ5Em1xlL kXWtKSBK2wPTpBoShax3yAK0g9H7optbF9G7QT4V+AJEEI2MXcMbpAcaMH4qxLMKm3Dc+XsCAUXi2 4McdhxWA==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1qQZqi-00HKH5-1O; Mon, 31 Jul 2023 20:50:40 +0000 Date: Mon, 31 Jul 2023 13:50:40 -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 On Mon, Jul 31, 2023 at 09:17:14AM +0200, Joel Granados wrote: > Why? It would be easier to read if the what went before the why. > This is a preparation patch set that will make it easier for us to apply > subsequent patches that will remove the sentinel element (last empty element) > in the ctl_table arrays. > > In itself, it does not remove any sentinels but it is needed to bring all the > advantages of the removal to fruition which is to help reduce the overall build > time size of the kernel and run time memory bloat by about ~64 bytes per > sentinel. s/sentinel/declared ctl array Because the you're suggesting we want to remove the sentinel but we want to help the patch reviewer know that a sentil is required per declared ctl array. You can also mention here briefly that this helps ensure that future moves of sysctl arrays out from kernel/sysctl.c to their own subsystem won't penalize in enlarging the kernel build size or run time memory consumption. Thanks for spinning this up again! Luis