Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp530901lqh; Thu, 28 Mar 2024 08:46:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV2PEPZDpdlWVnVUrUj2cnFXZ+/dM06t1OWbvXMPo3Evv9dvYqHGiR1X86Mid5Q1HigHc2iToNo+aXKSV1doam7ia21xHM05Cim2KQzgg== X-Google-Smtp-Source: AGHT+IFRYUvcUl1Rx+s7RZIcqU81XLfs/SB6ciYgBWoFLpl6vN/k6KXBPN3a0sE8AFbxq0qYogpa X-Received: by 2002:a17:906:8ce:b0:a4e:15d2:8577 with SMTP id o14-20020a17090608ce00b00a4e15d28577mr1808230eje.33.1711640792150; Thu, 28 Mar 2024 08:46:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711640792; cv=pass; d=google.com; s=arc-20160816; b=uWmr1L1jQ5JgztpfETO/Z92LTND9RUtbpDCenan21sXH0fxT053oTiNkjUGNb4gymu iyY+BeSU5fBBPjL0l9AW/YZa1AxePsDAKq46aojuf9p5KswC0Ck9OQfRNRRjWhEM6B9V i29fb/T1R9GDIpnd76nKTT8dH/3DDoUNjvvsvCToXCqxuNd19GpzfcNA+5JN/oKoa15s iq27SKr2hb5JTPiDqAAZduBUYCDUOWjVNnGsi68tXLDhU8XNL1qC2ydBXhCa2Ra++7Bj BC3iOD1Puex0jbUAvmxxMFrVCtITKaz6U2mZ/Ydjcy+KK58wxMrK9EQHI9p/pCZB5b5e RW1A== ARC-Message-Signature: i=2; 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=/0WU684oVUNO9o1KfuQR+d0ve9NgfaqKtHdRd+J53gA=; fh=8sEP7PoBw7e4O+S+A/hMUPL5KaSQ94UIL1REULHwRR4=; b=KXUareJAd7zmKZtgaaiNSF6IB8NYgTelhUaGNjd16wf98JpTc4jhB47338G//Wb4A/ z7BA1UKNwlna9Fn+5TtKKN3hcKadNRDU6XxutfPjidzj4dzXc+CVgWWMEDzlZKg/Py8l /RBqPcHRLY98SCeHSM0Gnf+mUA0koaY5g56e0mmnR+mRrmqlle0fHmNNIplajS7mRe3F JHEbZ9JNvbRLeEWFsgZPGzUw+2YseajjSolRr+xLm6phu47sLZpsVbgZ2CfsiO8U1SbE XiSPa/mC84UCd93ZUGAp3j+/Kc8X5pZxiIaaUZ1IUdZY8hK/qffu5b+QQeu3tEJmpat/ o4Nw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bqIkT9A8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-123181-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123181-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id hv14-20020a17090760ce00b00a464a1f3cd2si867770ejc.314.2024.03.28.08.46.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 08:46:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-123181-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bqIkT9A8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-123181-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123181-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 am.mirrors.kernel.org (Postfix) with ESMTPS id CCA0A1F25A0A for ; Thu, 28 Mar 2024 15:46:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CBC31137C3D; Thu, 28 Mar 2024 15:44:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bqIkT9A8" 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 03D0E130AF5; Thu, 28 Mar 2024 15:44:18 +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=1711640658; cv=none; b=sn6qO61cMjwTH+LHTWQkpMbwN68TaJBeaU7xX2DDPnmmpy2SOJB7yHnqvvgZzV5b4JwFDbhbvsE8QZ8A/jAK2E+F/9Mk83Lh1eDe6ub7wkmJ/HKeCWLTGnDKTlsWKCTe/ho1L0fvy0lY8VHrumfc9oaXLOtPKlZdkIpvmtnMFDs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711640658; c=relaxed/simple; bh=QsSLkxrYhUVqWpP8CUeoYlHeoCpNTEWsJfd/CbMZCLo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jhCR+cmz31rHwq6h/WxcUTfXstxGvB9VejVGIn2WjIq8oGEPs6R1VuVe/O42pu0S6fH67TbizfYFJuTEJIh0Pbe5URGqDIzHWyDbapFoomkKLW7MINiE05ecFvNVnBiF+pokL7/6FjOyTEAThHcHDdORJwySXmZbZTeAKoFqggs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bqIkT9A8; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id D555BC32796; Thu, 28 Mar 2024 15:44:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711640657; bh=QsSLkxrYhUVqWpP8CUeoYlHeoCpNTEWsJfd/CbMZCLo=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=bqIkT9A8miIjGRIsO5FxO6WM+mLxihwoAA8t78Xpnj9RD0KbfJ9WdYRma13L6ITC/ XaoGbHF847ihU1FcmetLZSvSXI02qe9Z0AF/oOUsMqpKBBSJYcZYyAY/71rYgf0JQu EsO12QV5cI8vwYHomFbGv/kh0NuC7m5jaWuoxJVeEy2lObrLGIqVxwJlAqE1Hznb69 8a3NbeQjdODnhyuXC9a7KJv/DcFDoWC/BxwKx47EfmAorORXqEfE9QnUQkRRUHlB8J t7ivo/j0FASUakZvLtG2XMITF3f8qD7Hcd1FSQzAH8TfR3zaCp5Jz5F0pGe2BUmdWB DwQhlx/xjNwgQ== 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 C9E2ACD128A; Thu, 28 Mar 2024 15:44:17 +0000 (UTC) From: Joel Granados via B4 Relay Date: Thu, 28 Mar 2024 16:44:10 +0100 Subject: [PATCH v3 09/10] delayacct: 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: <20240328-jag-sysctl_remove_empty_elem_kernel-v3-9-285d273912fe@samsung.com> References: <20240328-jag-sysctl_remove_empty_elem_kernel-v3-0-285d273912fe@samsung.com> In-Reply-To: <20240328-jag-sysctl_remove_empty_elem_kernel-v3-0-285d273912fe@samsung.com> To: Luis Chamberlain , 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-2d940 X-Developer-Signature: v=1; a=openpgp-sha256; l=901; i=j.granados@samsung.com; h=from:subject:message-id; bh=i6rZdV8sO6keniVz/tdr/tgncwQ879+rgbNywApATf4=; b=owJ4nAHtARL+kA0DAAoBupfNUreWQU8ByyZiAGYFkE6p4PaxshghascUKUubW96pCKfCYMXWK /aBSiIGgBYe9IkBswQAAQoAHRYhBK5HCVcl5jElzssnkLqXzVK3lkFPBQJmBZBOAAoJELqXzVK3 lkFPT5QL/jFMK8C8aAUdHmCMTOc9tNhM631bX9/8b8lUvEasqWg0CLuygFHjzAxdGGUi6f2nMno kUA+T74QXcgNWEfjN8VdVP/NO4Hz21SVA+aCZP0vFbtKHAWBkHmYwmnWX0fPlkGMJCrUunVQyKT /67OzmNJMzHHhjA/5fn7WKriT/aSjVsfwMvG4vmTR6pFuRckh3PfzYN490bT09jtp1LM5eUpmG8 v+ea5g4zkwWid2odf83OnRVh4vdoUz5SuApM5ocoFDK7fQ6gmTKXpn9+d22D/KNKyXUPTutUE6b B+0o078nrfEIiOgvo4renClDzc1apR/G+d1RNpqmV8CYDBGy1C/udE8mtdW8dL14nv07BW4TQ75 7DrHQJXonF56KDikz3C/7owWHYyRwwWaSoa3lP3hankVdZGw4kpt1l5d4Zc7t/LBDUip5/4gAew VC1fPxiZoxYHw1Y5wWleWrZgF2lyeO69C7f9SD9OUdRUvMTemIC3m7QuHy3ZmGO6//TXewH9oV6 tI= 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 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 kern_delayacct_table Signed-off-by: Joel Granados --- kernel/delayacct.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/delayacct.c b/kernel/delayacct.c index 6f0c358e73d8..e039b0f99a0b 100644 --- a/kernel/delayacct.c +++ b/kernel/delayacct.c @@ -74,7 +74,6 @@ static struct ctl_table kern_delayacct_table[] = { .extra1 = SYSCTL_ZERO, .extra2 = SYSCTL_ONE, }, - { } }; static __init int kernel_delayacct_sysctls_init(void) -- 2.43.0