From patchwork Tue Jun 4 06:29:19 2024 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: 13684732 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 8FE28C27C52 for ; Tue, 4 Jun 2024 06:30:07 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 392446B0089; Tue, 4 Jun 2024 02:30:04 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 27C846B0096; Tue, 4 Jun 2024 02:30:04 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D04106B0093; Tue, 4 Jun 2024 02:30:03 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 827776B008A for ; Tue, 4 Jun 2024 02:30:03 -0400 (EDT) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id EE89312060F for ; Tue, 4 Jun 2024 06:30:02 +0000 (UTC) X-FDA: 82192231044.05.226559C Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf28.hostedemail.com (Postfix) with ESMTP id E13BDC001C for ; Tue, 4 Jun 2024 06:30:00 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b="Janm6h/L"; spf=pass (imf28.hostedemail.com: domain of devnull+j.granados.samsung.com@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=devnull+j.granados.samsung.com@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1717482601; a=rsa-sha256; cv=none; b=nRArHHDqJEISNWKNfaA2vcLP6DZsCm2g7JSs2UtXzM7deIo6v+EX7p6TdWRyboQB5seoEc wl+XijMBJ41VouhXSfj8Dc7S8TwpnHHy9Qqq4D48ogaimyHQ0WOfIHhSsqet155t4nSq9K Mp+9h5tID1aTo+xTsjeUynDaKSlSbdI= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b="Janm6h/L"; spf=pass (imf28.hostedemail.com: domain of devnull+j.granados.samsung.com@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=devnull+j.granados.samsung.com@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1717482601; 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=+e7IW1FZgNMJoikAe9UUFiLH+nyx93bmeEBnO5G1xjQ=; b=Zz3zza3Verp6qslBKZM1YXqRtYTBRh7RhiZQ1J/EItOfxyKfeivMet9oHGwBF2soHJfIsK aqVLb0jZ1MhhMRGeuTW8BO1yW11DYlYSnBFHwx28JPXlwmvoAe/bf13cgaa3ywWWNUKHco 6syuBZAl8C8/GINUFRB32VsFUjO6DiU= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 02D5B61199; Tue, 4 Jun 2024 06:30:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 9D302C4AF07; Tue, 4 Jun 2024 06:29:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717482599; bh=vlte7/jFt4SHMLHwVPqBFv0PbVs5A4Gx+169UcJVYx4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Janm6h/LdugNk9//EITCAQZDYPDw1vSnkgIxHRJuajbB1uhJNb70fHHifyUdgIwcd Mg/HAMdxAw36cEdgsIlgBSdWy4Hc1od48ze7wM/QiaaAiTJzgstk8udBt6Zdg8/iOG f8VuGNUzWuQKpYFFGRqCGi2qBuVHvmp/E7SYChkdTKQTlffnCQs8/lsca4Kg0BegZL IM1CNUrig4EYtykD2DZQb1tjvma1ZoZXSYPE3wH1aCO3p6Z2ja0uG2BkYSqWU3Y4yB 6bsIl/ubhru7xQrDX8TdX9KSM4vlh1VmOObgZh71649aGA8FYEifSv59esu8EEoPN4 xSTPH1D/d4gTQ== 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 8419BC27C52; Tue, 4 Jun 2024 06:29:59 +0000 (UTC) From: Joel Granados via B4 Relay Date: Tue, 04 Jun 2024 08:29:19 +0200 Subject: [PATCH 1/8] locking: Remove superfluous sentinel element from kern_lockdep_table MIME-Version: 1.0 Message-Id: <20240604-jag-sysctl_remset-v1-1-2df7ecdba0bd@samsung.com> References: <20240604-jag-sysctl_remset-v1-0-2df7ecdba0bd@samsung.com> In-Reply-To: <20240604-jag-sysctl_remset-v1-0-2df7ecdba0bd@samsung.com> To: Peter Zijlstra , Ingo Molnar , Will Deacon , Waiman Long , Boqun Feng , Suren Baghdasaryan , Kent Overstreet , Andrew Morton , Luis Chamberlain , Kees Cook , Joel Granados , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, netdev@vger.kernel.org X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=860; i=j.granados@samsung.com; h=from:subject:message-id; bh=14739GNIvIP1jcOFEalMBBReb5ieHSFF2clMwb/AQoM=; b=owJ4nAHtARL+kA0DAAoBupfNUreWQU8ByyZiAGZetGJabxTBGOF4nHQDP1wm5ErY55X5yT1ko moGhHsQTVtxBIkBswQAAQoAHRYhBK5HCVcl5jElzssnkLqXzVK3lkFPBQJmXrRiAAoJELqXzVK3 lkFPreYMAIXr/sxZeeYa1hpzMSQR+LDo1okDOTVaAB6RI94p35Ph0NodstJFVE8/a/F7z8yznfT zRGB5mwTfERvnAHoLRa4cRPV7deYGX2Lfl4gRBxx38VVMXVNXGHuX412vQ/HGw8IG9A/McpDk0u Z2K9H7mdffgtNOrik+M5doL2wo8aIl3n/ntCbrFS6KMi5BjMA6JTGcCKPQc09MMFN8iWCyUlpHv PO0MOmlqI+ydfIGKM3grwe0ygIghPE7rXbC+RmQ/CFoPVTtuysPBixbT389HdPi2kwZfc3yMdiG JqIDpGDgEfx6eBoHqPi9f6UjsZsRZ8uQjA3cPhNf2r57I/Ous7iFkFzWnm9lsT7juRvP2yBLdve Fsb5u3LI21rJQdi9hKHm+Qy0a7lF7daS5ISDeA9YiPhRmI4qFElN50yOxuLkzeWdOmUek/m7eVe mIrjNatEmaWnNaLmtaw3exq+Eoi54Rdh5QCBMA0GRO+dVR2JtZ85j6nhTdGkijeKFOoJQ/Vz+O5 Xc= 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: j.granados@samsung.com X-Rspam-User: X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: E13BDC001C X-Stat-Signature: 1wkj9x8b14hf8sezfwx49f6ywqr3hgo9 X-HE-Tag: 1717482600-119738 X-HE-Meta: U2FsdGVkX19EOX/DN/EcCc4bAraUKoXVb0pBbWWXRx18vbWPWWwUZFfYfp/tfQK8GSB+0b4AnKsn5P8gB7ANfV1UGbX9aFX9ED7pgHncmWsRKxis8baqEvNPoVBW7Zwg4ZrEaPrbhHAgchI1JVHmzgCHbMxYMZ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u/qzoMRerylsl4CPm+XUKUHJefoH5KjfMRd3ULVnwbrwysHb4SZcFprJFj9rGaPkZqHxaTb9+dExAFwosa4++lpShLfZmUPGRorXsO7y6Z0+HQSTjqXDl/TkgQD5xhTgMA0Rbm6/XfHz6bS8oGu6nkirlpIwXWcIGv973/YU6zPdqyyTi3e3NmjugYaGstLjNR0X4plEcAk4Lh90fQbI4o/i34fnwyUzTcmhQ0b1nJdt0/Mg2QCAzN+0VJnvW7KNWqZOyg3ypkx//E1Xa6XlhjPV1PrrbmzcwMgFcLEP 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 is part of a greater effort to remove all 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/) Signed-off-by: Joel Granados --- kernel/locking/lockdep.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c index 151bd3de5936..726b22ce7d0b 100644 --- a/kernel/locking/lockdep.c +++ b/kernel/locking/lockdep.c @@ -97,7 +97,6 @@ static struct ctl_table kern_lockdep_table[] = { .proc_handler = proc_dointvec, }, #endif /* CONFIG_LOCK_STAT */ - { } }; static __init int kernel_lockdep_sysctls_init(void)