Received: by 2002:ab2:3c46:0:b0:1f5:f2ab:c469 with SMTP id x6csp233796lqf; Fri, 26 Apr 2024 05:26:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVajUn+XwwynXXnfldFBoJUX5dStpLp63ZKVEy/OgcN0+WmL2cBiviZg8dxKyKC6FuWVUEN1t0itfKZlW1Nouip29MJD/bcskwjstQfLQ== X-Google-Smtp-Source: AGHT+IHvEZXybtadMzG9yhm9DMLyaFLGBj1Dp7ODG5q3TdhSVcQrNbw3k9lqLNzdqTDO/O/ieuV6 X-Received: by 2002:a05:622a:d1:b0:43a:18ad:854 with SMTP id p17-20020a05622a00d100b0043a18ad0854mr2509527qtw.14.1714134401133; Fri, 26 Apr 2024 05:26:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714134401; cv=pass; d=google.com; s=arc-20160816; b=yIiwv9Qy92HkVd6PLH31vFOZof5ZSnFMuNk0WBn0q7qcb9SHNyMXhzpaSXWTEppFnv kmfeM8tyJZPbuM8HyzQt8+n3DfMjhMujKpERq7F+O0GtiGKZr3C/GqUFcdah+Rtn7eCr 26vSvxAGfvcjaqAx4bZnFZDUFJvdrQKQViEe4uQrnp3YfKBIC21O97dvgVmqiCyjrv2i jpulqQue13u1/ShovHBXOgGG722+UR6QN/xNJNpwU+2l6UnmRxW3QDRG8xVmWkHVhZ0p bLUMaELPiTg9FhamNRFkMDxSHjIxZcVJBqtWfKDOA/DxQeXM+H3nH0SZEZIi7CTPZ4ot n14A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=INjy/hj53QDTW/tytOUW83Ky4xbF8c4d8bHxRxthOKA=; fh=BsDoi2o3Nwf21Qn70C1VrHc148mNYgDbLTC9o4aPa5g=; b=EUXKJBUzuzk/6XUMcvM5eTc/ELdXK/88MmF/Y9GsaOrfgezELdLDjDmmHMsTt0MMe/ lLnBNFKmj3Mf79w/mTYH8PxrED+avv2xuvpqWFY7+6dVWwwFs9qdTkjuzHZg/zqDxNPe iqr2NGVTXfpyyiTzMPZUqtWB3kS4rKU/qee/0IIpiPCIu6xAyd3657gYYS9Zy7bo+71L hkskBRVmkkVUvyJLPhBbYXaMIP34Yx154QX7xFy9tLYQPxHF4nS6O3Fw8PyUZdaUnLEg jo/1exjrRZEDuVD+dkss/vDEpl2sKV1izchDN63R9/3Y7mWayy36znYOWP+++Wom2mVK QuUQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Jvkom9kI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-nfs+bounces-3035-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6-20020ac85906000000b004372fae938bsi19581467qty.208.2024.04.26.05.26.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 05:26:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs+bounces-3035-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Jvkom9kI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-nfs+bounces-3035-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 36EC81C21E70 for ; Fri, 26 Apr 2024 12:26:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 97B14145FED; Fri, 26 Apr 2024 12:26:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Jvkom9kI" X-Original-To: linux-nfs@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 41258145B31; Fri, 26 Apr 2024 12:26:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714134395; cv=none; b=aNSG8cDVzJTqFVMG1VQXHq2UuUg5bp/9hFxU3fCu5MxJNOIlaBOmpd0VUdYDtT9NvLZ3LJa/5UOfiawitohOdWtvzFCIxMXXcfDNoItPk1DmLZMXIPqwLKJ80r5CVwdhz4UOJCWsZYlgP0lshIW0jSU4osUsmtOpGa130xEKjj0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714134395; c=relaxed/simple; bh=Pbkg/ngrAoqu+aQpDwFHA6fzbz8gCEVgjlmTJ3VIByg=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=OQSDTBq2198AJ+hIcTVnJIA8F1MOvvhgCV+ZFJACXgiqDp4XKsxPHPUwXThFc9TiEK4cYe3q9oIfQ0kHWc9axdO4Sxqvr98iLRGsWsRFUC2ULOvYtqJyLOh+ZEib1D+/MWFgU5vncDjrbYvrNFJVCZ/S9CvB5HGE2R0jKiTiIO8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Jvkom9kI; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 985C2C113CD; Fri, 26 Apr 2024 12:26:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714134394; bh=Pbkg/ngrAoqu+aQpDwFHA6fzbz8gCEVgjlmTJ3VIByg=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=Jvkom9kIZ6ZoOCRjQjn9a0bkl2urlzt/qUolqWeJKwBFTg0g/7qNVw8NASFDVe1i0 UEDHmza8cBYDEs4zV4FiBfzE1KP4Xs3iwpDeddUSaVFQ275fbh13J8R5lFHG+Pl41U u1oZ31xr1Pqd8GpjAVce1gnK8O5Jc5GfLUatTtJl2xwQFK6Yny9BdiUfqI3OpO35r7 QJUUsUOhhmKM1vtgZWe9PRrmEgFMvC39cxG/VoPhkkuQ6Mh0ekMCqXwMq4uQz37ErB 0O3D8PsJ5ccCBkjlAaGCHuVwfTMiRUzGl2tVWLuUPtwkPUcCnuP6/52faA7avqlwqf 81oQdZ2Lk8R1g== Message-ID: <6b05026f14b6b1e1067876f3bc1c07266dfe2ac2.camel@kernel.org> Subject: Re: [PATCH v5 4/8] net: sunrpc: Remove the now superfluous sentinel elements from ctl_table array From: Jeffrey Layton To: j.granados@samsung.com, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Alexander Aring , Stefan Schmidt , Miquel Raynal , David Ahern , Steffen Klassert , Herbert Xu , Matthieu Baerts , Mat Martineau , Geliang Tang , Ralf Baechle , Remi Denis-Courmont , Allison Henderson , David Howells , Marc Dionne , Marcelo Ricardo Leitner , Xin Long , Wenjia Zhang , Jan Karcher , "D. Wythe" , Tony Lu , Wen Gu , Trond Myklebust , Anna Schumaker , Chuck Lever , Neil Brown , Olga Kornievskaia , Dai Ngo , Tom Talpey , Jon Maloy , Ying Xue , Martin Schiller , Pablo Neira Ayuso , Jozsef Kadlecsik , Florian Westphal , Roopa Prabhu , Nikolay Aleksandrov , Simon Horman , Julian Anastasov , Joerg Reuter , Luis Chamberlain , Kees Cook Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, dccp@vger.kernel.org, linux-wpan@vger.kernel.org, mptcp@lists.linux.dev, linux-hams@vger.kernel.org, linux-rdma@vger.kernel.org, rds-devel@oss.oracle.com, linux-afs@lists.infradead.org, linux-sctp@vger.kernel.org, linux-s390@vger.kernel.org, linux-nfs@vger.kernel.org, tipc-discussion@lists.sourceforge.net, linux-x25@vger.kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, bridge@lists.linux.dev, lvs-devel@vger.kernel.org Date: Fri, 26 Apr 2024 08:26:28 -0400 In-Reply-To: <20240426-jag-sysctl_remset_net-v5-4-e3b12f6111a6@samsung.com> References: <20240426-jag-sysctl_remset_net-v5-0-e3b12f6111a6@samsung.com> <20240426-jag-sysctl_remset_net-v5-4-e3b12f6111a6@samsung.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.0 (3.52.0-1.fc40app1) Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Fri, 2024-04-26 at 12:46 +0200, Joel Granados via B4 Relay wrote: > From: Joel Granados >=20 > This commit comes at the tail end of a greater effort to remove the > empty elements at the end of the ctl_table arrays (sentinels) which > will reduce the overall build time size of the kernel and run time > memory bloat by ~64 bytes per sentinel (further information Link : > https://lore.kernel.org/all/ZO5Yx5JFogGi%2FcBo@bombadil.infradead.org/) >=20 > * Remove sentinel element from ctl_table structs. >=20 > Signed-off-by: Joel Granados > --- > net/sunrpc/sysctl.c | 1 - > net/sunrpc/xprtrdma/svc_rdma.c | 1 - > net/sunrpc/xprtrdma/transport.c | 1 - > net/sunrpc/xprtsock.c | 1 - > 4 files changed, 4 deletions(-) >=20 > diff --git a/net/sunrpc/sysctl.c b/net/sunrpc/sysctl.c > index 93941ab12549..5f3170a1c9bb 100644 > --- a/net/sunrpc/sysctl.c > +++ b/net/sunrpc/sysctl.c > @@ -160,7 +160,6 @@ static struct ctl_table debug_table[] =3D { > .mode =3D 0444, > .proc_handler =3D proc_do_xprt, > }, > - { } > }; > =20 > void > diff --git a/net/sunrpc/xprtrdma/svc_rdma.c b/net/sunrpc/xprtrdma/svc_rdm= a.c > index f86970733eb0..474f7a98fe9e 100644 > --- a/net/sunrpc/xprtrdma/svc_rdma.c > +++ b/net/sunrpc/xprtrdma/svc_rdma.c > @@ -209,7 +209,6 @@ static struct ctl_table svcrdma_parm_table[] =3D { > .extra1 =3D &zero, > .extra2 =3D &zero, > }, > - { }, > }; > =20 > static void svc_rdma_proc_cleanup(void) > diff --git a/net/sunrpc/xprtrdma/transport.c b/net/sunrpc/xprtrdma/transp= ort.c > index 29b0562d62e7..9a8ce5df83ca 100644 > --- a/net/sunrpc/xprtrdma/transport.c > +++ b/net/sunrpc/xprtrdma/transport.c > @@ -137,7 +137,6 @@ static struct ctl_table xr_tunables_table[] =3D { > .mode =3D 0644, > .proc_handler =3D proc_dointvec, > }, > - { }, > }; > =20 > #endif > diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c > index bb9b747d58a1..f62f7b65455b 100644 > --- a/net/sunrpc/xprtsock.c > +++ b/net/sunrpc/xprtsock.c > @@ -160,7 +160,6 @@ static struct ctl_table xs_tunables_table[] =3D { > .mode =3D 0644, > .proc_handler =3D proc_dointvec_jiffies, > }, > - { }, > }; > =20 > /* >=20 Reviewed-by: Jeffrey Layton