Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp530911lqh; Thu, 28 Mar 2024 08:46:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU1QqeMYW6Jxayi523LkRLdWwd5aAQfihcun9Rxg13lBdBPR6R6ieEzneRfospA/bfGSDBZPwSnfhH1A1CcokagvP+C4Bi0djpm8hDv5Q== X-Google-Smtp-Source: AGHT+IH+rkBEAQ2by7Y2NAUHBsHPVwrPJwHewDiS72b21nTHBLHuOTtFnanUBwfgoIfYI8ceA3zr X-Received: by 2002:a05:6a21:998b:b0:1a3:ac75:2890 with SMTP id ve11-20020a056a21998b00b001a3ac752890mr4314665pzb.46.1711640792862; 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=LTBblV7KFLiU2KK9b3ytEY6yi1UdN6R8lOy66Rtu5hfDwbzWN6+cyrkSIbG7IGnWQU JPxDds3+RenaPDlQwu6cDMnc4kh7tX+e2+xy20D5k99SkjPAllNG54ANIj26jX7sr/Q1 jCnHnvj9XfLiR4rGfBVk4pL002SPpz/lcICWEmh8LZq0+O369e9cftrdqyCJceHEUd/w OgJJZiq8+kG95W16IffnAaJdAjIu1uC4jWDhWwIX500knHNv4xEPTRwWHUSDoI0UkyGn qgAo4smbQZgmttImUbjAbDEMV4CWsgX5PJhhtunREF8PRUMJkvlJAqZnhnjANXMUAC0f Nzkg== 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=9z5EG7W9Rezjei/4VkSPWpN6wvNYNS8/ELI//jWguv4=; fh=8sEP7PoBw7e4O+S+A/hMUPL5KaSQ94UIL1REULHwRR4=; b=Oiu8ob9jRF/JAP6hJtBug0C4tFzZWJeVuhioNzTynhef/ArwAzejtyt8YYOa0neisP dtXCvIrIAhEpmVmADUzUGKp7YIeWlSyvcqCdQPNb6fkIegB+PYj5Lcm75gVfsQM4iiVC V4+Ldr2M+l8xwyCzqqA/vEoe18s2lNSdpG3PHval5lWKyvpkmRBw3A5LVvEeh9zY2Xv8 bPhwoRYXCZC7C/C2EpfmWzfIWRpjLBNGj6eKLD8V/0J0zdtsyJRZkHY+sYfZWC4vWK9L Q4GAc+Xv28VlB0AHITYThxEIMrCAfUllKmkSdrtGO6g5rQL4Puz3j/gIBIo2rjW3s5t0 IqfQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dKPD2wS4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-123183-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123183-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 kt11-20020a056a004bab00b006e79a5b1199si1645870pfb.35.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-123183-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=dKPD2wS4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-123183-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123183-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 7773D296DF2 for ; Thu, 28 Mar 2024 15:46:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D54C2137C40; 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="dKPD2wS4" 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 2F2AE131196; 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=ndUoJKcSEJokfXulbLSRTqnv07K2gP+A8efoowq4yvpGSmVd7EQV+ZXtHLtHzJB43K7MpfpgWPMveSd6sRd72eMEVvzCmJ3fVKvvMq7esOQ440SdIfMlzIQs3itvA6qLn91xj26wYKEVwmePrrO5I4lLNxtXabEt//stQRUx37I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711640658; c=relaxed/simple; bh=MHDLw01aV7Y2y8q4FVOlVqqv1r/NUfwe173AEwvrpiQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=AHR2dbKUbXV6N46pxQ10qkeZ29wNxut0Kdg5uB1ZB+5U+AdakjwpbRg7lNpiQcbcM8pITUYXqiT1r//ra0axPYYfSJE+KfUQgd0o7QEHD3/qJBLkjh9OBcxuyk1D+ydqORZ7gYvndoeayrviOSjcNRE/OBwdsAFTO3hPLYqH/NU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dKPD2wS4; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 06321C4E66A; Thu, 28 Mar 2024 15:44:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711640658; bh=MHDLw01aV7Y2y8q4FVOlVqqv1r/NUfwe173AEwvrpiQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=dKPD2wS418NUIbqJZhZ08bU1j9gcAOSF+5V8WUweINfFYLrG796kBAdHGPno8ouFE cfg24Z9mXJ4mMIMNgO8ptj6Bs31eL4WdrAlLq79VvMQkyDbGokebYEivh6+U7hgz+O lIgOraJK97jRcAkwbE0TQg2/DZ5tmtDQIYiutkDEgAGumoSAunQQsm0kNazW6mIHCu Qyn78HeyB3+aN6GcZbukSEEdRLmtZnjTx82OpkUxA0Bnzf+amJOOL7QEeZX23WU0dK llOxfI/qQ3r3tmo4wOcYVa2SqwdBtA4BPLXM5Jm2hxMKM0AI85vAEBwc6teCx4TZR3 9goN7McNdwdsA== 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 E1065CD1284; Thu, 28 Mar 2024 15:44:17 +0000 (UTC) From: Joel Granados via B4 Relay Date: Thu, 28 Mar 2024 16:44:11 +0100 Subject: [PATCH v3 10/10] bpf: 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-10-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=940; i=j.granados@samsung.com; h=from:subject:message-id; bh=EHedMAAx8mJbivlU9QHUO7qJGc32TBFT3ByM4xDoG9I=; b=owJ4nAHtARL+kA0DAAoBupfNUreWQU8ByyZiAGYFkE408xMhw90vhF81FOWcLfCE8LWhQfflT 61/EIF6yCrZ3okBswQAAQoAHRYhBK5HCVcl5jElzssnkLqXzVK3lkFPBQJmBZBOAAoJELqXzVK3 lkFPfZQL/3zdbAgEIU2dcwe2erodBotsa3e1HOBR1lR9Kv1mef/Eai0SkALWcSc5dDfORlh8Bpq PH8ootjUW/DunAVLKXTQn4VMu6CLt820UZOwAAUShG8wiPlD4fPaiCI3bJT2Gmei+/UblaMVCdT 7zSXlcmiXsNQpLq8wzHqy1pX7aghk8yJqVPHjwRh/RQdcVvFeabeB6ftt/HC5jB4xRGKOC2oRuT t1YyA9E3vlnRld0l3Uz4poLLs6b+/Hl1CYRdcR90Vamvfh2vrhHNkhSZalYTcUe6Zt35Kda6JmY h+Bn9Q93xvC9r8Ehl48JR/4OnKrelkTK5nibpYdaTr+qdGNmJMIlGTaIfwjxFPnT9wQwxHgSore qY5gbsjMkHcpBf/cSrodl7fYS+2m8r1N6uxoFO+qx6jK8BEHEkPUSly2nhgOStdKvBxcMqJo15Y /UHtNHyB50pyHMxZlSDGfg/qGcL5XYwLqrGyHpObIk+F5IXwU2yUuRmWXIZcFjiMMdWAeEM4C85 rE= 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 bpf_syscall_table. Acked-by: Andrii Nakryiko Signed-off-by: Joel Granados --- kernel/bpf/syscall.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/bpf/syscall.c b/kernel/bpf/syscall.c index ae2ff73bde7e..c7e805087b06 100644 --- a/kernel/bpf/syscall.c +++ b/kernel/bpf/syscall.c @@ -5979,7 +5979,6 @@ static struct ctl_table bpf_syscall_table[] = { .mode = 0644, .proc_handler = bpf_stats_handler, }, - { } }; static int __init bpf_syscall_sysctl_init(void) -- 2.43.0