From patchwork Tue Nov 7 13:44:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Granados via B4 Relay X-Patchwork-Id: 13448709 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8340EC4167B for ; Tue, 7 Nov 2023 13:45:02 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C5F146B00A2; Tue, 7 Nov 2023 08:44:56 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id BC2066B009D; Tue, 7 Nov 2023 08:44:56 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9C49B6B00A2; Tue, 7 Nov 2023 08:44:56 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 79BD36B009D for ; Tue, 7 Nov 2023 08:44:56 -0500 (EST) Received: from smtpin24.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 545CC40A18 for ; Tue, 7 Nov 2023 13:44:56 +0000 (UTC) X-FDA: 81431278992.24.202BAFE Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf19.hostedemail.com (Postfix) with ESMTP id 467D81A000B; Tue, 7 Nov 2023 13:44:51 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=jteEPtHI; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf19.hostedemail.com: domain of devnull+j.granados.samsung.com@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=devnull+j.granados.samsung.com@kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1699364693; h=from:from:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=Tx3BEBR3CN94z3gLDjAIrZEqxqUbEbzHGOCVB/Wa6F8=; b=TIYpCRW9VbYQGwXDmXFTAf0ndug8jDrTgUbs679p+udmYED7owuLutwMw3OQ8Zp7TLIIlt ObnVHS0jvddYmrELtduawWa9M7h9OaM4lyjQ5pF/dcQy7JXdDaN8iFiEGo6HPPenj3BH8A hF+8D0Gvvkc7/3KMOuhpjJA2p17Vx1U= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=jteEPtHI; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf19.hostedemail.com: domain of devnull+j.granados.samsung.com@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=devnull+j.granados.samsung.com@kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1699364693; a=rsa-sha256; cv=none; b=6QbCXD9neUaqWyxKLeJt5s6/mwCmGBwTmX9l6MwJNti17wQO8koWCkJW4aybQ6kIfJ3hsF ufTkLDiJ05hu0yVf9FHkcKOxAWLiTRtSy7N19x6O76hgJOIrNjSzt4htfjkzI9LPjY9kuE zumN4h71Hn1kx55yc2osPRTmIdCfGT4= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id BBCEACE0E6A; Tue, 7 Nov 2023 13:44:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 76D08C433C8; Tue, 7 Nov 2023 13:44:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699364686; bh=jp5zupYC3dqga+xgTeyhYepRQqFBsm6KYR9/rvlBnN0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=jteEPtHIs7oAmJr7WInd7m30GfZ3+4YOC7SdOkBiKWXaNYrkebAR9Qw9S20TrciIE +iRJWBmeeD6H4E6Q0UGLCOHUSZPQKR+ilHqofBw0pECe3YuXPN4n3T9LQK+Exg9yVi uUHPHnc7KFA754RGOn4/y3TBRY4aqg0D04JTxg3j3OquVgbec1cFP0iEDt+rN+3ClT FSDI9AfK9PnF9RPehD0CN90FIOsHCa6yTryGLJPb5vvfzlCsF1dyKyKLm8pZHB7eIs TuRcvvyJJCXvglvGlTiWBNHPpG/9UxXE/Uc/01v8JHju0okDPMW+snpyk9bUq56tVO NDvvV/UHanIQA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 549B9C4167D; Tue, 7 Nov 2023 13:44:46 +0000 (UTC) From: Joel Granados via B4 Relay Date: Tue, 07 Nov 2023 14:44:20 +0100 Subject: [PATCH 1/4] cachefiles: Remove the now superfluous sentinel element from ctl_table array MIME-Version: 1.0 Message-Id: <20231107-jag-sysctl_remove_empty_elem_fs-v1-1-7176632fea9f@samsung.com> References: <20231107-jag-sysctl_remove_empty_elem_fs-v1-0-7176632fea9f@samsung.com> In-Reply-To: <20231107-jag-sysctl_remove_empty_elem_fs-v1-0-7176632fea9f@samsung.com> To: Luis Chamberlain , willy@infradead.org, josh@joshtriplett.org, Kees Cook , David Howells , Alexander Viro , Christian Brauner , Benjamin LaHaise , Eric Biederman , Trond Myklebust , Anna Schumaker , Chuck Lever , Jeff Layton , Neil Brown , Olga Kornievskaia , Dai Ngo , Tom Talpey , Jan Kara , Amir Goldstein , Matthew Bobrowski , Anton Altaparmakov , Namjae Jeon , Mark Fasheh , Joel Becker , Joseph Qi , Iurii Zaikin , Eric Biggers , "Theodore Y. Ts'o" , Chandan Babu R , "Darrick J. Wong" , Jan Harkes , coda@cs.cmu.edu Cc: linux-cachefs@redhat.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-aio@kvack.org, linux-mm@kvack.org, linux-nfs@vger.kernel.org, linux-ntfs-dev@lists.sourceforge.net, ocfs2-devel@lists.linux.dev, fsverity@lists.linux.dev, linux-xfs@vger.kernel.org, codalist@coda.cs.cmu.edu, Joel Granados X-Mailer: b4 0.13-dev-86aa5 X-Developer-Signature: v=1; a=openpgp-sha256; l=923; i=j.granados@samsung.com; h=from:subject:message-id; bh=SGTnhgVPbRkVEntdcKFq1I6E3blB6PSwrb9JaawnFFQ=; b=owEB7QES/pANAwAKAbqXzVK3lkFPAcsmYgBlSj9M2ig+1rzDK3f26PkGfrXWs+L3sZHbcxuLZ iLSqjCt04yJAbMEAAEKAB0WIQSuRwlXJeYxJc7LJ5C6l81St5ZBTwUCZUo/TAAKCRC6l81St5ZB TyqTC/9Uoc1Mimxa39eNT1hPi8AUMLHAwsLHAs/0Njg/O4yNK+y9soM5dgjUElmwbiilSzCoF96 KOrLzOVWdrT8x5EiJajBmIczrpnvFo2XR1q59Tdg8+dVfzfdBKf9810BUXm22LDrhR5GCrfUjIe WI/w8QEvhxTRKvMJ5RUVl2jeeid8nF4ujb09LKlQMcj8mWT2+Dky7Y7C1J+AYI6fUSkT1SYRCGh ffoxN9L3S8Z/p3QRid2gFhunhJR3srSt3zGaLSwjJ/uQem0RFk0bHeGNq6mtq7H9PGnx7WrBq2Q X38P2PTXPDPOJW1aJJo3JV4J6I9ZJXvvc9ICJ3Wwd4yjd6sC199Oyu5j8fs9zXXlGKMoJbR+6Ua U//6ZueugQgAELb5QYH2rbjFeKAdSEJMotieMRJX/EXowVpmwUtie1sugGTqE0lBeQj7YcSl0It omT8aMtMmJ7/fay2nrRV3e63CCMFfc9EOjGkjEX1MMFnzzyQv14byTNJhE303H6qq5M4A= X-Developer-Key: i=j.granados@samsung.com; a=openpgp; fpr=F1F8E46D30F0F6C4A45FF4465895FAAC338C6E77 X-Endpoint-Received: by B4 Relay for j.granados@samsung.com/default with auth_id=70 X-Original-From: Joel Granados Reply-To: X-Rspamd-Queue-Id: 467D81A000B X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: ia576szge8655auaeggbhroeisj83guf X-HE-Tag: 1699364691-879593 X-HE-Meta: U2FsdGVkX191rvMWVZzQ197rSwMQy0Uqq+GJqaGQLExgE2vH4Hd8VPMgmNfUoCSZfIIZS0p2z3lMikUTDR0PF2J1mslEbjG06jthzgqrE+ULRSNYb4tdafxq7rFItZxNuyyQy++3UNMhyA2OsrNlEPIA5TPQJ8Btxue+MjwuKPhw1us/b0q856M5CMnRlRbz/NmoGge+/k7Jbp6pK9pdv70snr+Cfae8xCxapXK7ViXbPXP0kUWbSr9p0dAhrYntxg4LLWrm/IJKTvubiQ3tdHV5mBiJsKH2gwH9qi8GtUoJu7m9oELvrD1kIaQkpbn9gg4e80Os26V9VhzMNA0Ljfy3+dbtdY709xqs785FaQMMf0vFIAxpI8dwI00z0hjD5JncqGti64akkUwuasKNLKpEvehnAVPIan35CrKBppvndWXyTOWbFBIEBBWte9wA3+EqLVOM2vrgM/FyIWQh4WEIaG2s5TSRS7y/b5oCblTuHW21aWMPu1744Sf3bPXMPHVBCotJZ5Yz0EHqh9/sE5c5ZGFvIqtOvHuA6fdS0if5Pvru0rIcb6NVFRl0io457NBPJ/esTZl6pyKU38OU3ojhRwoEJFEenCIuIV7MDTDTaukhmA3EnAasKimrFvfSkRimcEJtxTtwYwXxgopvmYqFhrpnThv8d2FB7TBoatElLaHIC2eLaTLPkf47+mlZv7RkkSEu59Ai9a0DXvMD/k2i/NXUOtXiYtmwXLT32KeEfMwUR/ce8YTmHiWPtvEpogBd7xmjN21gI0HZp+qLJMwwxOHRolsXMwilEKdLMk3+MvncoG1nnJEHfq2f0EjWc300nYiGeW6HhLRjTRb+FjG2Ii+joi2OgNuZclV6FPdbWYHF4hOfXHiVneAdlY2l+I22+718J6pCkFKF8AXP2tZ5b0VfnPEVIuEa2jxFv7ltq+OVmhi44dfvmeTNdrXiXr2dugTDZErkT5/HTrA I/Yofl4b OuDrGg/x7ZbTYsgnn0TWSZ3/i9HmSbrPnBEWA22sMl+LT+/GZExYA8JbD3HPDGJheHtisG7s39J4DBPCK3hJP3TkeIj9OXdh4zpj6o8uYVg7PSW2BrRLPbiWgiNc2Sh2jaz822E7w9PZ1sZBDS+fTuOe4fR0MkB5UPkGyQzOgZOtisCZ18VBeowi8crJOtDNKfHYEjvN0wfCHoRO0Ax5eH07dzugR/HMfLbFVV0R/xhDZB3U2B6S+PNeCG8Jr9tl+r2hwIE4HDvaohu4Or7HJMrZkjYEqv1BrUVyMv15SeowVS7eLK1VGfGQB2QuL0XcH/JYTt4judtF3TylASys1Od8joweb12C5EOcqAa0fO739Hc1WAolXXItRgUE1ENzoBY+8bHL36CT+ALCRM9jSbV5iNUh+Q2VCfQW0t8BN8d9qo0HhystDDcbB6dTTPv94an66phRGTtuGHmPMMuMIB/l4FA== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: From: Joel Granados 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/) Remove sentinel from cachefiles_sysctls Signed-off-by: Joel Granados --- fs/cachefiles/error_inject.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/cachefiles/error_inject.c b/fs/cachefiles/error_inject.c index 18de8a876b02..1715d5ca2b2d 100644 --- a/fs/cachefiles/error_inject.c +++ b/fs/cachefiles/error_inject.c @@ -19,7 +19,6 @@ static struct ctl_table cachefiles_sysctls[] = { .mode = 0644, .proc_handler = proc_douintvec, }, - {} }; int __init cachefiles_register_error_injection(void)