Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5568445rwb; Tue, 1 Aug 2023 05:00:00 -0700 (PDT) X-Google-Smtp-Source: APBJJlHA3V2CNSLXzoMzF+qbHHotVa9M/oX+O3/nPNpbbvDY3jKIrTk+Y4/lQ+LBQn/eC/EQlWtR X-Received: by 2002:a05:6870:e307:b0:1ba:3ff0:4934 with SMTP id z7-20020a056870e30700b001ba3ff04934mr11870050oad.12.1690891199852; Tue, 01 Aug 2023 04:59:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690891199; cv=none; d=google.com; s=arc-20160816; b=jJSgl4hJO7V/q2oAy9bGctvO17iw3OoiNzJYKw1hln9z2KcG82/KYCDhR0LFfPm24D Q5XnsX+6rcpw4+7b1Xc5Tg7STZYfIChgXx1VX0QoBBeRysv1DRuSzQdEORzoG8l+9xF3 yKi83shoisbMnNUDj4/vXlZMd8fK6IVaLBdxspABM0mRFDIzkGg88MvpDwxkAP96V0qf 2mCLFvXGBGdtCFIJ1LkMQmrhu0AoU/cpRQM8wSYN24PXWaw5qC+8W2A9DrMIeuKq3kH8 NNeaRfyCprLlAMp+POyAUbopxY/54mid0vyIx+g7gzJ2L0PmucpXuMO1uUil4c18Re7J VRag== 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=e8Rmj6mejjDyMq10/c5ElVqxfT4Jc8y7fVBUerEHAFQ=; fh=Wizdud8ccG/bBaf65Cy13WlAhf5IjWX6Eh6FcZoSRH8=; b=QmcszJIC0Tk2oACaiePJV7Mgrz+J2MEplGpcsDQIa7UWzzod9dSFwJ9PLayfHk5ztl dCwIWcVXyTnFYfX3gdv2RQ93XeFnWHBJ7dMr/Z0h1gfhlWLmHK3iIbCyJqpC8bdj72gV VpAur8rZiznWVktyYixHks5heC0BbOJHwtuKmI6dYwIchpRbw94+rS8+xASWk9mHq3Ni gvaYg283tTo5m+90Y0hI52JXHAK+XYLq66lQBdQcac8hEDiJeLkhxKCHkUmVHIOmr+Aj 4M/SBWrwJLMrTAs1urEm8gUKKuWQkeHrwd7rMdA3Ry0A3uYiCe7ijWl3HQxYff2kqYVO x9WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=JYH38BiZ; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bv127-20020a632e85000000b00543a89c95c2si8745842pgb.207.2023.08.01.04.59.47; Tue, 01 Aug 2023 04:59: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=@gmail.com header.s=20221208 header.b=JYH38BiZ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233865AbjHAKBw (ORCPT + 99 others); Tue, 1 Aug 2023 06:01:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232718AbjHAKBQ (ORCPT ); Tue, 1 Aug 2023 06:01:16 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBD3E10B; Tue, 1 Aug 2023 03:01:14 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-4fe2d152f62so4085166e87.0; Tue, 01 Aug 2023 03:01:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690884073; x=1691488873; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=e8Rmj6mejjDyMq10/c5ElVqxfT4Jc8y7fVBUerEHAFQ=; b=JYH38BiZyDWL0KXmQnng4sthQhdeV3NJBHfNi+ky1KBbpG9nVv/fbbULdTOLHrIkRc m+cW5Nuo1qJ+ZY/CEFkGrU+LjmOwtRZV5FZbO5P7+OM1zKnHgMDf1oBLHOA+NceI85gx JkZ47KaVpN9ZBvR6FoyVYB0FbHi8KbwxzoilvQtwUB2ij/UJya1TAMXC2C3UOm6p174z S6sbKiiIslls7win2DAPno+jCbJ72BXV6csVG9rjzIDvaWKjNZk+kKpKl91dwFSz63UN EHa/G4niaq852Xz2iz+Bde3Ap6qEvx6ZrdIxP94qmNM5EajZm2Xvu5/MSgK9i/6QI6uE Ds1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690884073; x=1691488873; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=e8Rmj6mejjDyMq10/c5ElVqxfT4Jc8y7fVBUerEHAFQ=; b=CdHKzyr2VzVLhc7SPWGBJa1FWqybGvl39lgy5Gn32IbW3E3V7WahP7CvU/mGNrAgRH /zVebl7ORKLpT/E4hwLfshilFZF15Wf3qv9/aO2K5zIm16Dqr/QxFap515HmhqHC69dl wwRl6WL09m8hfUIgEh9Q8Tbq9Nt7DYiMd/F64twVmFlKBGzSEv6ci5aP9t9+ipuDA1wG lq3Q2u0sLgZOWuqYfKQIGMvxxAZZyj2/uuMRpnhu6aVrqlJ6//w8GqOqFB5/FyCBaqIW 75naEhj5fge+XXQCDBTBWQsEv5Qlw+b+enKGViUFA7sHz/ihTljGgaNkQqdMi/J/xkKW T+Xg== X-Gm-Message-State: ABy/qLY7lpyexsBxLukK2X/8TawyNI2SaX2lzgD0M7bqTWinYT0qUstt 1RbJpCc54BBGCi86e4EJECA= X-Received: by 2002:ac2:43b7:0:b0:4fd:fef7:95ae with SMTP id t23-20020ac243b7000000b004fdfef795aemr1664853lfl.9.1690884071826; Tue, 01 Aug 2023 03:01:11 -0700 (PDT) Received: from localhost (0x934e1fc8.cust.fastspeed.dk. [147.78.31.200]) by smtp.gmail.com with ESMTPSA id j29-20020ac2551d000000b004fe09920fe5sm2512701lfk.47.2023.08.01.03.01.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Aug 2023 03:01:11 -0700 (PDT) Date: Tue, 1 Aug 2023 12:01:09 +0200 From: Joel Granados To: Luis Chamberlain 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 Subject: Re: [PATCH v2 00/14] sysctl: Add a size argument to register functions in sysctl Message-ID: <20230801100109.ospf2gwsdewhhwzn@localhost> References: <20230731071728.3493794-1-j.granados@samsung.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="g6vdqxyc5hdpujuz" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 --g6vdqxyc5hdpujuz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 31, 2023 at 01:50:40PM -0700, Luis Chamberlain wrote: > On Mon, Jul 31, 2023 at 09:17:14AM +0200, Joel Granados wrote: > > Why? >=20 > It would be easier to read if the what went before the why. haha. I totally misunderstood you in lore.kernel.org/all/ZMFizKFkVxUFtSqa@bombadil.infradead.org I thought you meant to put the why first. I'll switch it back to having the what first for V3 >=20 > > 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 el= ement) > > in the ctl_table arrays. > >=20 > > In itself, it does not remove any sentinels but it is needed to bring a= ll the > > advantages of the removal to fruition which is to help reduce the overa= ll build > > time size of the kernel and run time memory bloat by about ~64 bytes per > > sentinel. >=20 > s/sentinel/declared ctl array >=20 > 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. Ack >=20 > You can also mention here briefly that this helps ensure that future move= s 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 consumptio= n. I worked it in Thx for the review >=20 > Thanks for spinning this up again! >=20 > Luis --=20 Joel Granados --g6vdqxyc5hdpujuz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEErkcJVyXmMSXOyyeQupfNUreWQU8FAmTI1+QACgkQupfNUreW QU/tvQv8DSOiRBrGHskMVKuasQMrQO4cj/zOagQExBMcJnGj7M+jr4pvCvBo1Rce fRZBBVfKDjeV4svmqKus54sNM27JPAJALJlnePPgsBqhuOeL6kKLSsCDyDv6bKOS e0J6ZLE6EAqudCJqsxjGkPNEalpooX1Ip9OQqdPQxyfoSdDZQcKucP/rPx+Q4yzy lKv9SqcK/1j7q8fMkiucrjwQF2woB16q6iXZmokZTt7vTX0rSfKFJ8isQOgimpll Xv+hxQaRZEueIIc45dAL7MRYn/zukf8rExbIRNXCtUCsyfJxcdo6V0ubKfMAj/u3 X2J5FIUpf1ua/QX0idONlXIXU1kOWnFapnBPprKBKuBhO6xwSnrQhxgt7aKbbDGl dBwWRbN59m3q7jrz17McOb+LjfA5ZMcs3K58bfg0PnrugQZA537GFL19es1dAssc fy06XeNWXeUhvCjgQW53D2twqvhAhY4WU1D4sbV+8xwQihB416Zkc+ReqQs2cS6Y zhTPrhl+ =F1x8 -----END PGP SIGNATURE----- --g6vdqxyc5hdpujuz--