Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1426779lqp; Mon, 15 Apr 2024 06:25:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVtDhtBgjER497ZYmCCjxELHIK3Ckj3SL/Bg+6Gvry4C67RgjjlYtDWE//0knDCRE3aHDTpVuvIEiPcx3MY481MH2F5yn3yO86K8LD88A== X-Google-Smtp-Source: AGHT+IEO16YaRgBGgrsYXAQVK+fat+lYhZBLlBIn1eqIUrhi2FZFD6EMlDVmgJSkhv1rDlXP3/Ro X-Received: by 2002:a9d:76c9:0:b0:6ea:30ba:37f9 with SMTP id p9-20020a9d76c9000000b006ea30ba37f9mr11474043otl.6.1713187552747; Mon, 15 Apr 2024 06:25:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713187552; cv=pass; d=google.com; s=arc-20160816; b=ks561R89MKcuxyv1dkmfHlbgKR7mN/FrQbdzq/hlFww2/622S6j2OeyLLDxM+n7+PD XzosRWQemKl/pxDhd2s034JZ4q331lncbF8a8nnra57WnLK+odlg1PaNRj1QXEyEriP4 VdmFTDYUlV+/IL0iicNG1Eyc4qKeXVKfJ6QwwQ0ozq4Pjby8JcFydfwO97iWXu10zIt0 RBpHDXXNxZngjEOKAjQCVoYIzWA5LRWhKF7kLQIVgXon1HR+uk4CyXJQrZzX1CETVsXa ToX9JGgsgulGSmIRKRpT8k+NqAG2KFF4i2fARTo7jqWJUa/gqpnVAdIh1MMuMwfXAWTT 3wyg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:cms-type:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id :subject:to:from:date:dkim-signature:dkim-filter; bh=Qca6XvzlrUWEgjiYFgsicelqsoUPPwVfMv97Wpge0Zs=; fh=vfOE7wXDQ+ejwdKfmqMPN6hbc6IUF1CNIMJFKXnufuc=; b=JW12+gdjszfdWDC0tKP0YlPyKnxDkSI9C4Yezmjm3v8Rc5ZhXqjsKp5cq0TW5zeO0R WpFQTdD2HrjFXzZ56aDWuIdy1aku1WKeqEikiiSO0T1ZwGCrGCyV0NYlY++/UfrURXkX 24yazzx9pEN00Aa0h03r5OsFsPhTdjRRoavdHkgjA/8yUIgxgzXU7REIq0wO2vLM71PE TzgXc0QA8KbjU/PbxUB8vOupvxNHUyu21Sv+I0AOyPsC4+mYOv3+41XGXmQxC+VMQJsJ qQuLT8OQJfj782LhuJ01ZXDlD8qcogoDBNXKz8sENe2qxgv7/B/Q+/j9Yz3zddIhYvH7 WnVQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=viy8RF4h; arc=pass (i=1 spf=pass spfdomain=samsung.com dkim=pass dkdomain=samsung.com dmarc=pass fromdomain=samsung.com); spf=pass (google.com: domain of linux-kernel+bounces-145232-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145232-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id o10-20020a0cecca000000b0069b1ecf2c21si10177671qvq.469.2024.04.15.06.25.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 06:25:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-145232-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=viy8RF4h; arc=pass (i=1 spf=pass spfdomain=samsung.com dkim=pass dkdomain=samsung.com dmarc=pass fromdomain=samsung.com); spf=pass (google.com: domain of linux-kernel+bounces-145232-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145232-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com 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 673B31C21E5C for ; Mon, 15 Apr 2024 13:25:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EA1B680035; Mon, 15 Apr 2024 13:12:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="viy8RF4h" Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) (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 091AE7319C; Mon, 15 Apr 2024 13:12:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.118.77.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713186762; cv=none; b=r+5T5AH/kOPBYnCfb5TqVBoFEYzY/7kqHfErO3YGyt/3zfpH2ye1IdV9Bl+sa0b3Xa9ZXi9JWnlfPa3aw6tygat/CpR4Im2Ye6rVuKiYOGrxCCc0cVFr9BEZQo/2h/t9zQ8UwfRMVhbVtC85G7TKUZSwk+bQdibV/5y/PAcIZcg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713186762; c=relaxed/simple; bh=Qca6XvzlrUWEgjiYFgsicelqsoUPPwVfMv97Wpge0Zs=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:References; b=nqHVS9iNdAVBSZOkf97YQGJsR+uHuJN0rrNyhFIXw6j3VspZDcf0V+E+TnYS/ojAPtCSlXpKTWsXJRKDeM1/0irni81ydOwoyuoeXXfFXQDhIQ9jA3RDvmpjpX23xz7dHSYYXtCnb+982EZ2e0h6fq8ea9+0T0BtZBMlipeDCXQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=viy8RF4h; arc=none smtp.client-ip=210.118.77.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20240415131237euoutp017a2f62749534a2b9acddd5159781d6bf~Gdkd-Lxw32930829308euoutp01G; Mon, 15 Apr 2024 13:12:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20240415131237euoutp017a2f62749534a2b9acddd5159781d6bf~Gdkd-Lxw32930829308euoutp01G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1713186757; bh=Qca6XvzlrUWEgjiYFgsicelqsoUPPwVfMv97Wpge0Zs=; h=Date:From:To:Subject:In-Reply-To:References:From; b=viy8RF4hNXEqmJO09gbRkN1hplzL9qWjf30RFTI7FTwLhCoWneLeBXSDvbLsxpZ9j GbRuWAVNqjoG/SbTkO+rwZqOp+dKHuUnBjQibXnQGX7hNb7NR1eDov++YJ/Jm+QrcE cMJxQiOg6puH76trnIUgetFkYReZNRUwnD+KWLGw= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20240415131237eucas1p1356b3196b37e50355c04831542d6c242~Gdkds-9ke2775027750eucas1p1_; Mon, 15 Apr 2024 13:12:37 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id BE.28.09624.5C72D166; Mon, 15 Apr 2024 14:12:37 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20240415131236eucas1p26e04b3c555dc61967b7e3095f73fc0bc~GdkdOBHxz1272012720eucas1p2x; Mon, 15 Apr 2024 13:12:36 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20240415131236eusmtrp14bad41fdcb1d30a1a34d053288f52139~GdkdLWMCT1022510225eusmtrp1f; Mon, 15 Apr 2024 13:12:36 +0000 (GMT) X-AuditID: cbfec7f2-c11ff70000002598-69-661d27c5eab3 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id EE.D0.09010.4C72D166; Mon, 15 Apr 2024 14:12:36 +0100 (BST) Received: from CAMSVWEXC02.scsc.local (unknown [106.1.227.72]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20240415131236eusmtip23358818af7e1c8c6c8f052ff5acc6772~Gdkc2V-fH0603206032eusmtip2W; Mon, 15 Apr 2024 13:12:36 +0000 (GMT) Received: from localhost (106.210.248.128) by CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 15 Apr 2024 14:12:35 +0100 Date: Mon, 15 Apr 2024 15:12:31 +0200 From: Joel Granados To: Luis Chamberlain , , 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 , , , , , Subject: Re: [PATCH v3 00/10] sysctl: Remove sentinel elements from kernel dir Message-ID: <20240415131231.gqsmiafwqxefxuuy@joelS2.panther.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="b5ducwyxpvyw5o7f" Content-Disposition: inline In-Reply-To: <20240328-jag-sysctl_remove_empty_elem_kernel-v3-0-285d273912fe@samsung.com> X-ClientProxiedBy: CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) To CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) X-Brightmail-Tracker: H4sIAAAAAAAAA2VTa0xTZxjed85pT8GVHQrqN8DoYOBkiCJm+5LhZYvbjstiCCRbcNm0wuEm FNPCYJrFAkXuWEEwXAVRChQZ1yJSEDuw3IQBDhnIJHIZCGPlLuM26sHNZP+e97kkz/Pj5eGC OtKM5yMKZMQioZ8l15BQPVhq39u4e4fn/tocY7S4nI6jmrF+As0t9ZNotkHLRV1Dv3LRtfFQ AmWMt5EoN2cBRxkdMgKNyCtxtK6SkUijvUeisDv5GFI9ug5Qw9W0DSE7AK00lXLRwOVkArXF +qOa1nkM/VEXjyF1bTOBuu9mcFHDTw8JpLwt5aBbjzsxVBRdwEG98hGAkqZGAcpV2KCu+mwM Ka+ukkgbX4+h9aF5DqqLGsTQWk8pgbpeTBCopvQGF2kVq1xUXpaMo6iGjYaVjYsk6o9ZJ9Gg UsVBedUnju6ln06uEnRRVh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kveHXT/g8N01si1Kr58ZBLvws/OBh3s+LbiOjhL7fSkfaOWp+T+h/zqzedDEop PWWVbR2N/0K+3wxDfZJjUo01439rhS+/t3vxU2uDt/iEX6x67/nOJ83e7xekSA5FzPccmNGX 2/fwHvn674y+0e2Z6iL1/CZ6g679JUUwnG68WHVAn+tjvWMeAmuN/MCUmjMWWaQgdt9Ue/a7 O0LMgwJNlMSyu4B/h/3MbYnPfmU9f51NqfU7khVVa3lnX8nlOMHcYlBqhEd8+/fHFMcfGB4Z PG2ajqQxm4d5Qn7kVh65oOvsneVg8kQRzxeVyUX/AGLpL+5hBAAA X-CMS-MailID: 20240415131236eucas1p26e04b3c555dc61967b7e3095f73fc0bc X-Msg-Generator: CA X-RootMTR: 20240328154421eucas1p14e2a43b2894dd706aa4e2affc54f3143 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20240328154421eucas1p14e2a43b2894dd706aa4e2affc54f3143 References: <20240328-jag-sysctl_remove_empty_elem_kernel-v3-0-285d273912fe@samsung.com> --b5ducwyxpvyw5o7f Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Just a heads up: will add this to the sysctl-next tree https://git.kernel.org/pub/scm/linux/kernel/git/sysctl/sysctl.git/log/?h=3D= sysctl-next so it has time to soak there for next merge window. If you are a maintainer and are thinking of including any of these patches in your tree, let me know and I'll remove when upstreaming On Thu, Mar 28, 2024 at 04:44:01PM +0100, Joel Granados via B4 Relay wrote: > From: Joel Granados >=20 > What? > These commits remove the sentinel element (last empty element) from the > sysctl arrays of all the files under the "kernel/" directory that use a > sysctl array for registration. The merging of the preparation patches > [1] to mainline allows us to remove sentinel elements without changing > behavior. This is safe because the sysctl registration code > (register_sysctl() and friends) use the array size in addition to > checking for a sentinel [2]. =2E.. Best --=20 Joel Granados --b5ducwyxpvyw5o7f Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEErkcJVyXmMSXOyyeQupfNUreWQU8FAmYdJ74ACgkQupfNUreW QU8ybAv+Or5Tl4So4uWHapLPqMyxsHPDQXiHfVb00sVzzrsRYvg20WiOaWSRbLTT ss7ysfiWX5M59/hUyyiuO7JKEziQOHjmowkxiz4XS2N+8alLAwEmKIDQlFIzBNnx 5ZDjbinS9zcVXG3yxKpdMPe/EHZfG80Zf5BW0Tgb+JDCQida4njEZp0J7T7MA8Ti 6GjelQYR/deOeddD/TAyZxkaEfxe/zZ0K3BeXVpAX5IZnym1jnivrrcEiDowcpvD PypDC2xCq1Uyt8jc5FFpud261wJiWW16an4fdiPix45OoMB5r9LOpY+kon4x63Zq JZ35JtDNL0DA1tCMNKr4yoOg22ddnDOqxjMWepulYPNY2i5v2mg+Hn7tNbtnjN38 mTBbkkzcXtS7HbGsQhzEErEGe8+GcEKCwKw8Y+5o5fvi09V7NYLu+CI+s0/mvdlb 5b72Y4QbUsVdFr/aeiy41GrQBKtH8UzXdTfVQLA5YHNRCUTeCBasYEvHr8jK9oGI HlbukVaB =iNEu -----END PGP SIGNATURE----- --b5ducwyxpvyw5o7f--