Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7762707rdb; Thu, 4 Jan 2024 07:03:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IGfIEJ/AFXNoXepswvrkeXX69NyK/DOviBY4hKhjGMx1j2jNO1K4L7aRQu4rXrwur3CaUk+ X-Received: by 2002:a05:6870:958a:b0:205:c935:9378 with SMTP id k10-20020a056870958a00b00205c9359378mr503342oao.68.1704380627070; Thu, 04 Jan 2024 07:03:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704380627; cv=none; d=google.com; s=arc-20160816; b=qujghTimcdv6X9ddAdp7jx2IsbA+S0WaD9x7ANCmj8yAORkdYOIndPPfugY4dI3/a7 lGSXxNyvZRIH2T9i3M5j9NMLlnzUUHCIqx9XZ3zE1csAqvXLscDnr0JCRL3Co+Teu19A KQmRQdGZxK/oFi3LL/tNzZK/YGpvy6aZhQJbHG9ELWnlMnn4Exf8F6dI9YkL552PAUH1 Zz/0dAcJEEmLXaufDsujDoB+bq7Swb/JzWXkKITQM6Ndwu4oFRaGOhWLjMNg+yunOrCS YIM0lT+wUc24s+InuBNJ6bKGVEFlQy/jzUCaz+LEolrdYOGjdznfChNBFOS1qtAr7VeE zhPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=gdLt8TRmlQHpvEnTs2B9fA/0Sqgy5FSPnfeLUeHFF/s=; fh=AuaFKPUwFYzSLqc7bUwLZldSXfNG4AOo7Dj5zlnvlas=; b=Ee1O8Mi4hMKbfaRCWBK8IgoK/F6ozJZmFcS5K8Crza003Xe1ievQENVQHs7L5lvfve IutkKlieIpKJn1zUBFYxnct/+iIlBvB5zRY8vWYasp6jH9By5hoAz5Cy3KC0STUzlTNH qmwKzl4RJApiysgaW5rWptqtevnUsHSsY6dDxlPjICI+ofvikMQGGRQDcd9Z2GO9h52q PlRB9q6pOKTx18TUJlmLz9e2ioXnSYOm4RankFPJdYtT3CEBP4Ebfjb3CCwO8mXCUvXq zoTzjggfQ7rdJn22XgwMUNc8Njm2xq2gl04ijDP06E4fQ3jOCLMyPIgv9fxILTyixMtM vAgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LIsXFBB9; spf=pass (google.com: domain of linux-kernel+bounces-16821-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16821-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. [147.75.199.223]) by mx.google.com with ESMTPS id m16-20020a67f290000000b004673f770c0bsi1568007vsk.125.2024.01.04.07.03.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 07:03:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16821-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LIsXFBB9; spf=pass (google.com: domain of linux-kernel+bounces-16821-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16821-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 C494A1C20A9D for ; Thu, 4 Jan 2024 15:03:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B7CD924B31; Thu, 4 Jan 2024 15:02:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LIsXFBB9" X-Original-To: linux-kernel@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 C15A62376C; Thu, 4 Jan 2024 15:02:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 78ED9C433BC; Thu, 4 Jan 2024 15:02:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704380565; bh=76OiXqny0I5FAtIEkgtQeFpTLfwhsiR4xIiHIe8GjjQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=LIsXFBB97dNIR6T+s1NkUbkQvnDWu7qABrhOgeDu4bURrQDFmDdugT/qe4EalTSXu foMcISTUIzWUV2FsxqWR1/HcpEplm7HfB+jUds0jiUTauTvG5IYtPr118enbkNy//L LFf6v5RD0cdCDG0ufbeqK6gWoIeRVvS6QyOrGCw4R2mCGoy47FNkMz6gYhS/b5Y0+m ot3EoYiVFIL2qudYErJyOEgzNfmRAlUAf56EQItn48xgKhPwmtpZMwfJqoM5DKXJVz IscBJDMf7i7nUO0yXPINQmK3xz6AsF9cQGM42mn9cyRbQcJDA5xeoloOVlLR8npHNG jTTgU6jxW/t6w== 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 5F230C47073; Thu, 4 Jan 2024 15:02:45 +0000 (UTC) From: Joel Granados via B4 Relay Date: Thu, 04 Jan 2024 16:02:25 +0100 Subject: [PATCH v2 04/10] timekeeping: Remove the now superfluous sentinel elements from ctl_table array Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240104-jag-sysctl_remove_empty_elem_kernel-v2-4-836cc04e00ec@samsung.com> References: <20240104-jag-sysctl_remove_empty_elem_kernel-v2-0-836cc04e00ec@samsung.com> In-Reply-To: <20240104-jag-sysctl_remove_empty_elem_kernel-v2-0-836cc04e00ec@samsung.com> To: Luis Chamberlain , willy@infradead.org, josh@joshtriplett.org, Kees Cook , Eric Biederman , Iurii Zaikin , Steven Rostedt , Masami Hiramatsu , Mark Rutland , Thomas Gleixner , John Stultz , Stephen Boyd , Andy Lutomirski , Will Drewry , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , Petr Mladek , John Ogness , Sergey Senozhatsky , "Naveen N. Rao" , Anil S Keshavamurthy , "David S. Miller" , Balbir Singh , Alexei Starovoitov , Daniel Borkmann , John Fastabend , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa Cc: linux-kernel@vger.kernel.org, kexec@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, bpf@vger.kernel.org, Joel Granados X-Mailer: b4 0.13-dev-86aa5 X-Developer-Signature: v=1; a=openpgp-sha256; l=864; i=j.granados@samsung.com; h=from:subject:message-id; bh=rOgjyk+y2sTTf7UpdfCg7T7N07f0Drf2bm8cuUCjmf0=; b=owEB7QES/pANAwAKAbqXzVK3lkFPAcsmYgBllsiQeefs10L9U9C6E9ObjWbvyDIljOI9DQ+SH mJVo12IrSyJAbMEAAEKAB0WIQSuRwlXJeYxJc7LJ5C6l81St5ZBTwUCZZbIkAAKCRC6l81St5ZB T7OtDACWjrpqcR5DbGc48ai3Fu0II5BMzsCkwdkvgpsLPPoXZJd8Skx95KGSKIeQnsNc11MPKkq L1YS1lrX1fMo+5Vs8mHNUwYne2u3EDkcY+jaVW68W6LhkpYNrhlh/9+3S/5Q1T7y7v4o4PQqUHS 4h4ybQ/0wIK3nsbGeZWFsccqSN66LDB/3YFHZraXHOEugCtIz8c4L1GnRaVfg8qKTPaGGmzbPxi jXEE1jiI4BgsFViTAbgHKntquCgG19U5eFsXfIoKre11wGggdq8JT9UidiPajbH6E2FI/JIUQxv 6EfjtOoF8+BTsnLuSPSN2Og7sGF+M5WFX0rRKGautby6LT9Kf2f2x03U4Sdiou6vV7fyVniWVVe Va8vDlewMZo+ksIJl1jrxvBc9dTEJwaNpIh4KLjFAQkQBb2fIW/YkUSXRo6ZuRSgFBEzYVgVM41 pcpVje8m1dgYFE0mTmV5L0MChWeCvmR89eUA8+W82cRb5gFlFO3QmHkXVUPdbPI70btPI= 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: 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 element from time_sysctl Signed-off-by: Joel Granados --- kernel/time/timer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/time/timer.c b/kernel/time/timer.c index 63a8ce7177dd..475826ad78df 100644 --- a/kernel/time/timer.c +++ b/kernel/time/timer.c @@ -260,7 +260,6 @@ static struct ctl_table timer_sysctl[] = { .extra1 = SYSCTL_ZERO, .extra2 = SYSCTL_ONE, }, - {} }; static int __init timer_sysctl_init(void) -- 2.30.2