Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1402283lqj; Mon, 3 Jun 2024 23:30:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUyp8JeTH1bgTmVH4YL1f/XvNaFm9MJhI1GUDG1NxFGwWvA8CF5Kx2Qx2KWPtlK7H9rzgV1exmnzZhmNaqbY1qt+kAq79Tqel+QM6O1OA== X-Google-Smtp-Source: AGHT+IGXfc8vzTep1qTKrVxMWRJXu+SC977oaifTqO7zo5L+/fCfJepqxDA8GE8a829UZe4uasC8 X-Received: by 2002:a17:906:e241:b0:a5c:e16a:2d12 with SMTP id a640c23a62f3a-a682204963fmr601408666b.50.1717482636058; Mon, 03 Jun 2024 23:30:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717482636; cv=pass; d=google.com; s=arc-20160816; b=r4w6uiYNZH0x64m474eDADVMnMKhjIJUChrCbz6b9kBBf7rQedjc+tOp6yZS79loBe ojNlkKlbYLPStMtBzQNFkEP+AZPic1FtYSNbP6CP4Lt3qdQoH/uueECLArcOpTE9R91M rk70Ww1B4PX4IgEAvcmHQVskHKLcc3U8rU/afRupQZR8LBbsMmCIbqXmDvOqMqIIktEl oRMl/CFaPh5rQdnXD8qj36ZNbPYeXv/erWuzbjjheznvKzArvJUKdXf7Sy+Mjkj9GWF6 XQWnAMYG4C1SuPA2+1rl1xg9dmHmfRBs/IhZHynyCdL49fC32Z0n3vQ64YI9i8b84db2 a/gw== 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=+1RckZw3CGfs7GvOUUFzSHlqQ4mrjdbz4Vl0igwxUEo=; fh=JVRUZZLuRsJ3MmHwpM7KMtlA/nDFrs/x0P5sZr3L/X0=; b=teddAy4j6vhId/UBo7UIAtj2LBCi7UVPXFe5tDFwkzq9mPgMRn4dz/vHTFNZ4JaKIk BxjvS2If5jQVa8rFZMMPgN7fJ4fpXUsx3yjHdm8io0T+NuqvsO4xQ2P0yTAKudQ6jjmV 4g7UGZaP7U+ePi1kMi34m/Hnv+yG9pjjFht1l9mC8w1M8Ul/t5i8gI+P/J6Xvv50ZJRO vJ0UaMr3pPE342sj+SKUulQvGwqBx622rNAaWNguih4HHWSRpz23DuZU6/6UHh73J48I 17OtuMs69fkNrscKbw3sZCSPsh21i+JjLKA9ADpXZecVU5rcgCT6rOqo8Gd5Bd1vu1Gi SF8g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XmOaJBCN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-200101-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200101-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. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a68f1c997d6si244022266b.784.2024.06.03.23.30.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 23:30:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200101-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XmOaJBCN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-200101-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200101-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 BF6401F22663 for ; Tue, 4 Jun 2024 06:30:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C2B6C1411C8; Tue, 4 Jun 2024 06:30:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XmOaJBCN" 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 D488265F; Tue, 4 Jun 2024 06:29:59 +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=1717482599; cv=none; b=lPFytXORno4S3q0xaHmelcP4OlTc65qJ1fN1HlX3bB4Uuw9iO24VPg2y0B5oH18QzAin6F3tkCD7Y+roiOy6equSI+DuROQ4Y29NfAD1Wmw3zh7CRxT1rJWOPIjmP4APSl3sJwYVGrjP8GiB7M423bIdRVvFGE8bru6dFJ9Pdoc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717482599; c=relaxed/simple; bh=WuskAK9QMw2Rb7LOBaE2ncAcIhSptttUqQRlOQ8Mdw8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lviFPPfMP73KQSzaD9/9jH1FbUn0uAmUjpEyPiwnCqL2Cit5Nle78CN3wD/NZ90pwyw1UW2gj1R5+gSshndZf0KUmis5QgXjJYKkkMPx7qWsz0750XFKdr7P0uSYDH61DqWwlD/6bu3tguFcxTly/q6ZI75UM+jTg88095XK7Wc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XmOaJBCN; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id A60A5C4AF08; 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=WuskAK9QMw2Rb7LOBaE2ncAcIhSptttUqQRlOQ8Mdw8=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=XmOaJBCNNhIk3UU18TsE4jmyx7Lq7jCrOLUmJNxjqPDcCFDgQl2DmJgWeBoO5O2cy hbtVw89hITlfEkLbn7HfQHjHjdjQZjHcowoB5tpg7avtohdheMiJ17HGEWrP0NXZei QltPuZBue7VdCJkD9utcSgbTjV0DFdShfUCtR075TP9XMLt5aJ7lP6hAPskiJeheoH 6c68TGQVytiKrJkdqreOoQGp0MOMHBx47+s6j+SBYvRz4QBvPWtVhDrSfGAGlSHBn9 jNtKztz+66GA9ocoVqZV/4PWQhpUzXoz3Y989QMQ/jChKBqmFU0IVRf2ioegPhQyHV /Tu0jucWCC6UA== 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 935DDC27C54; Tue, 4 Jun 2024 06:29:59 +0000 (UTC) From: Joel Granados via B4 Relay Date: Tue, 04 Jun 2024 08:29:20 +0200 Subject: [PATCH 2/8] mm profiling: Remove superfluous sentinel element from ctl_table 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: <20240604-jag-sysctl_remset-v1-2-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=862; i=j.granados@samsung.com; h=from:subject:message-id; bh=grXyma2z6K/wRopvypgEfIMP+PFHWBDb7VqNp82ood4=; b=owJ4nAHtARL+kA0DAAoBupfNUreWQU8ByyZiAGZetGLtay8GHHZfoulwDT7Cp/+NFmjaUVFeN K1kk9wfksxNuIkBswQAAQoAHRYhBK5HCVcl5jElzssnkLqXzVK3lkFPBQJmXrRiAAoJELqXzVK3 lkFPLVQL/RZBp0EyIV+vm0gXQg6+z7wQ3w++rqI1ydJNjnUfIkWxiBXMoWjegWKgorptI5L0LL5 QiBGzg09KK78sYzgGlTjTudseX5pEj0wPgl5NA41VUKS3+eKByodee1SAT7w/5KgDAtjOwJiCmx hsXoF/SogQ0PJnNF+lZgwNnSukeE3eotjMuL0fhv7BGE9TwpcF7pOGrqB8AmLn91nFXyVOWjtBj Y/BhWU1/R5n57AbIDkaR04pcY907qAipnMbKVrminTdDhcjrYBuoX2O3K/WsV5UGPLWxg7Pwr2+ DKSCcd3f7cgKGvrqvuO0E1bsr+dsJj2zRAGJsSJtpfUhQ5A/KnmBUxbFb6W6IGbQVIfeAia9jys u3mALmKeyGRvnUkSMmH+z8yrhDmtI4Hn4lQUh9MofiwVN8fBR64dUuoxfVJhH2vHrg9PEnToAUN 6djR12wRe1b3eoxy8lGrrPi6EMi8z7R+qmxIqSo83Up6qfK7p2AMUDkiSJY6aoyusP77KXPACI5 0I= 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 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/) Removed sentinel from memory_allocation_profiling_sysctls Signed-off-by: Joel Granados --- lib/alloc_tag.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/alloc_tag.c b/lib/alloc_tag.c index 11ed973ac359..7293cd54d1b1 100644 --- a/lib/alloc_tag.c +++ b/lib/alloc_tag.c @@ -238,7 +238,6 @@ static struct ctl_table memory_allocation_profiling_sysctls[] = { #endif .proc_handler = proc_do_static_key, }, - { } }; static int __init alloc_tag_init(void) -- 2.43.0