Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7764511rdb; Thu, 4 Jan 2024 07:05:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IHiGRp3jkkIkXhAvLZxuFJQ9iI2deGpOtrW8oS4+tLIclPvP0jXOyykVNkhzp30sLizItFA X-Received: by 2002:a05:6a20:7d81:b0:199:443:f225 with SMTP id v1-20020a056a207d8100b001990443f225mr588640pzj.54.1704380753657; Thu, 04 Jan 2024 07:05:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704380753; cv=none; d=google.com; s=arc-20160816; b=bKh6B41c7pU1zxq4ab8MzPZqGWPJV2U8N8vB2rI9nl7RS86WficwmMtMnvh0ROg3B/ 4jLdaou0H5lL4ZSFtOF+Gt/HBf1Q+52jnmmFHeEuWVCw9wAJwZUyvnX61A+AgXbrRw2F 2PdybV289qK1igMxaNtnLotbRAfWogEs95QktDMNbfL2ZcBPVjFt5E0PkD8Pv/0SQrn6 lY2oeeUHa7T/3cRdTPN6yk+eDi53fu7AXts6tEs9YBCoKiGpJi2tay8/kVLbj2R8+s5u W1OgIR/fuG5lRhK4b+x5OpNmQnF7/ckrKmHIvQ3OhYuvy1icVhoiA1M3SGiB7giaWA4o DRAA== 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=ahGTOiTGe575TnhVywvyUARIdMfBIeQ0+tpUlDJzXjM=; fh=AuaFKPUwFYzSLqc7bUwLZldSXfNG4AOo7Dj5zlnvlas=; b=Ym6JOMadMC1Y1cZbZLkwlBGBNCb48dJ9yTWa/CZy9iw4h6ISRDPHV2AE/9d0T2fRWT pcG/dlZ6z5TGEr3kJ4Hu07g2daHEvcSvcH1u9xkgBqdf6P960EI44SLtqKUEEAlgj3gm VbVvqCrvI5gtGdQnGJ9IrZaKlS2AlQTBJIcnmn58A6sJ8iJrB3FEBH7cq2iYfbpxZJDm +bqrG5X1RCkpcVgky/y8x95iEzWkspk67vVsho3snxg2YMo2ygneZBfTAUXAAKjVCDJ9 BExpy0GCXXjCy19gM61ZUTDPzE6FS7uJAFIBi9IqNL1YulHKzjJ8Cu1582tLJi9cQuN8 oYyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tzKw1YP7; spf=pass (google.com: domain of linux-kernel+bounces-16829-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16829-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id du22-20020a056a002b5600b006d99ffbe803si19519290pfb.329.2024.01.04.07.05.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 07:05:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16829-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tzKw1YP7; spf=pass (google.com: domain of linux-kernel+bounces-16829-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16829-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 0BB1E283372 for ; Thu, 4 Jan 2024 15:05:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0D35728DDD; Thu, 4 Jan 2024 15:02:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tzKw1YP7" 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 57880249EA; Thu, 4 Jan 2024 15:02:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 0AD6AC433BA; Thu, 4 Jan 2024 15:02:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704380566; bh=M0lJ+zooV1Yyo+14mKPEjenw2FnX5TBeXLD/QG0EKrM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=tzKw1YP7iIwTgszbYEuQZQ8dX1nOccWY8M8SGP2Nzp/8LWeIPOGNOr2NNzsoFe9Do j05IBQDEhuUS2ubHJ5bizSVvzoRJ17h4yzKH75+VO9hik5kXjhUm4A3h3koKADRHct U+1NakhR+RiLo8W62Qt5qJwvlywtfKPnZzlVgK2qRBTKNMB0y8gwrSxvYmfdZaepNA hjxHw25riuL0BfKnHW+SchCTLxkgE03cq1ntsNYrLlJDpGACxysJ0+QMD3WIPD0fDO xU0K5MV2RNIBrUAQapXUgekoxrBZP1PMfyIV2r/cSuP8mxcMYAHXXeM3WrKFsWkaCZ a8bxTIquTzCbA== 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 E4F5CC47079; Thu, 4 Jan 2024 15:02:45 +0000 (UTC) From: Joel Granados via B4 Relay Date: Thu, 04 Jan 2024 16:02:30 +0100 Subject: [PATCH v2 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: <20240104-jag-sysctl_remove_empty_elem_kernel-v2-9-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=901; i=j.granados@samsung.com; h=from:subject:message-id; bh=PJ/c6fiwMnA0nSEp9ZYMYlywMQK/R+6xe3ijDcw/ADA=; b=owEB7QES/pANAwAKAbqXzVK3lkFPAcsmYgBllsiRDJVGlokeBPAeSnBuaNAX8JsMtOXt+W+FM Cp0ZHKNzvCJAbMEAAEKAB0WIQSuRwlXJeYxJc7LJ5C6l81St5ZBTwUCZZbIkQAKCRC6l81St5ZB T0exC/0WOlxgdQAPTkUXH2DLj25puL6IGH5/b/8KTxvl+60NCnIK0wEAFPYJnXwxHEsq+TClWFB XpCPnd/DbI+DlCwtnb9PaX/0XnOscIW1ghf0w7khP8fPvWHC0bkY33+Kfbi6tS+ntWvPH7ZZvrc evDRhuly4KSc4ohC8Qdrdsgmk0yPVg4SKRo4fFUCF0dtwxlt5J1kE22Z6nJ2hG13egE8+T+82xp 19Q1JuQuRLHTKzQKqCi1oDxg/XxKIhTZfkS0Vb/9A1DACIS0YLWyMF6lcMcsRfo85Pufe0dOs0k H/XDH5JXuHJ1UBeFP1FrRnkIpYr0jkkR6UqYKd3IEzPaz42VXre2MEOIm576M0styOzXhtMTT8D ZhJ4mU72oirOt4qo/lmElvXNlIVaD5zsg2WMJgsN2F1r2nmMqo4yGcr2ICMGmjSkqGludZyJFzn h+Xn942NzRutgaffrzpd4F8smoC9HOBtKsdbTXiQolKnk7JyhFRKWosghv6n9hJ5OzOO4= 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 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.30.2