Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2309854lqt; Mon, 22 Apr 2024 07:28:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXUwzhfvG6YiAt7cosIWq2lLgBrs5EEwHvbwspaPpKPumzQBaoaO2CIcqGiKA56GrEKQvg+CYERYJ0X/xQ+O4zRVAduI2yMa5zEYQVMbQ== X-Google-Smtp-Source: AGHT+IGiL6X8o1kzVyhMGlZfmsSWSfe8MUSfIGd9x+cXeCiT3btKVXmaJ8b+wIfWxgn17wFn0NLr X-Received: by 2002:a05:6512:781:b0:519:63c1:6f2b with SMTP id x1-20020a056512078100b0051963c16f2bmr5550714lfr.54.1713796090129; Mon, 22 Apr 2024 07:28:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713796090; cv=pass; d=google.com; s=arc-20160816; b=1CzZgfyYX5S3nEF0glwGsmxbOowwDxpUqnEb5fkHI5kW70f5Ied7CPJfE0mnVE3o2w XwOiQnMxHHMrAQW6JykSt2q8ZNQY2mxx92zMSRE/g5sOHSYOm8z5itCozeDZ3cjmlaiS dmdZ9aGrboj6m1GVlciqIDyTAI0DP3MbF35UZPlaPi+ZBVBKVqEjneM6I/aFwi35+uRu nNH9/OwYH3Deu4kS3A4JKfkDsbdf95aye3rtRXoa5LRe+YJKoJ8ddlWYU71UtXKRLz2k bY38w/FIJVS+kiRnHFgxxbwGel8TJ8v70NwqzIy4HltKdAhFTn48+aI1Nfkhs6z/zWcy vLUA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=UNBjOTY0qs0uiF8EORx5BtyTGJtQ6MyutJpELBAOp5E=; fh=H/wZrYkEFlSbnqEiHZSJWekKiL9mFkENehuZrkWdlfY=; b=j3gjkW4voLgM18ZuTUM336eHlvtfnFaOJVinpKBn4Y+r+SMumUZLD5nI2X02Qa52WV mNTdIo9DIkApdkKKMoQl3zPKJWLo8v7F9fZCKFMRRPJMUVXOkb82SqGsW66QiBiGq20v W7WGZ6+dfBp/6XpDkDXhX611BvAW+1wPFmvMHygVEqjZbHJXKouCRuzO8SWcEozi7qs3 s01cbj/yKlCVQzg+ilMw6lHSIcPK+p6opVKdLBkUif/YAmF8wEynpduQi7bYNijxXqzh SZkVY9Ff8/nCXY4MmA817FHoaVYg+UgnaZsscnSKhbaSVUVyk8rwoZ5M2XS/kbogCt0g Y6Ig==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AvRcdhh6; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-153539-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153539-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 z9-20020a1709063ac900b00a4743988f95si5692605ejd.820.2024.04.22.07.28.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 07:28:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153539-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=@linaro.org header.s=google header.b=AvRcdhh6; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-153539-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153539-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 D1F461F216E2 for ; Mon, 22 Apr 2024 14:28:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E48E21514E0; Mon, 22 Apr 2024 14:27:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="AvRcdhh6" Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 32A781509AE for ; Mon, 22 Apr 2024 14:27:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713796077; cv=none; b=dAkrrb7/sKnB0dMnlJMaPRVkY/SZ5kiX/hvKyw5JpIhENdB6I4vhIJ8AH1N2xOsBfrtUJn+PPXaip4zkFp2YiEfthRjnT4EVoa7aSA6BDZUJ5CX4EBe0l8HpHUMgdZHfwpoWg4YwgyT22eUzaaWaOk1Y754oo7TeSf3HB8I8ef0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713796077; c=relaxed/simple; bh=UNBjOTY0qs0uiF8EORx5BtyTGJtQ6MyutJpELBAOp5E=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=oJGv+BrS+bJ5feQ/dHT5FZjhog41dwWnWnsihaAVpjAapFLoO9gx5yUKLCjFZCSO6HTbGDHfI7s7sTHCFHpKm/XOWHREacwoOefYuaIPramuxYtlOYXm/T9LRUOF7FGiV8QTV6iTSsg4iiELF/fPaduZJ4ZVZUr+rSds222P0Wg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=AvRcdhh6; arc=none smtp.client-ip=209.85.208.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-2dde561f852so1987931fa.2 for ; Mon, 22 Apr 2024 07:27:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713796072; x=1714400872; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=UNBjOTY0qs0uiF8EORx5BtyTGJtQ6MyutJpELBAOp5E=; b=AvRcdhh6bssrwby6uQ53USsUaKKfA+EIjVX759zcaKj7AUOyOVcb5e+Gds//W8ik/P 5eJf9yOG2L6bWP60UKgMm61rwbzoWkWZLYigGPhAfGDqy9kao664Tjs5dmvX9EIccXVw uOtWZM92YdGqraWkksh+1ibfbv1kwFVdR1kFnPCGvBy719BZ5Mykhtp2V0VFlLdT/1+2 Ev3PlMbAsuz3Cu97Aos2IWeCW8Y4wwl51tee9K2Ct0OQ2BB5exzpelb6+XoMLtAkM/s1 ztNZT6H9z7X+3cWolCjRGbkIOC5aZYow7I6ZvEWXg2MmyEa5BihCupNafaKfF1Upekju qpYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713796072; x=1714400872; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UNBjOTY0qs0uiF8EORx5BtyTGJtQ6MyutJpELBAOp5E=; b=r9nBoSg90IbwpUUAtsGflIxGuB3rBPXLWZN23ZDRYOiPDPOTViQGOkKfId3nt6kR0K NuMk/P/xco6EmpaaoBCdjW4VS/cnxXQ53sl78jnidVdEn46yE/B3Q8dkHmPibHfqNaAM PgrrYQv6KaysIE27gD1ebMF+/f+P1lGb4gFXnWJ1EgWeLUjHlQZt/gE67bFEVWj1SSHp 7dy/3JxyN3z1I0PNnAvnw78J4tVdTUtU+DBUERFSW8V2VYYiBpkMJcye+YMdKBhR895d LobaAHjlgZc047FziqmZWtcoHwoEpjqeVwW2mgEyEdOnsLCviOnS7ZXhUPoptjEdUIhT MX1A== X-Gm-Message-State: AOJu0Yy7wkgsoQbaQjDYQLngKi1hZ17YN7bKxuwaxxfepMGVqYg4TRIZ PVlLdrZf0/huiBYih2wsB1FOksx8VrX0z+E1Xb2URkYjs5UHviqxwWxIhl1dAWU= X-Received: by 2002:a2e:805a:0:b0:2db:99e4:dbdd with SMTP id p26-20020a2e805a000000b002db99e4dbddmr5541085ljg.53.1713796072319; Mon, 22 Apr 2024 07:27:52 -0700 (PDT) Received: from [172.30.205.46] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id p5-20020a2e93c5000000b002dce3eab848sm1076631ljh.47.2024.04.22.07.27.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Apr 2024 07:27:51 -0700 (PDT) Message-ID: <36a1ea2f-92c2-4183-a892-00c5b48c419b@linaro.org> Date: Mon, 22 Apr 2024 16:27:47 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 00/10] sysctl: Remove sentinel elements from kernel dir To: Joel Granados , 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, tools@kernel.org References: <20240328-jag-sysctl_remove_empty_elem_kernel-v3-0-285d273912fe@samsung.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20240328-jag-sysctl_remove_empty_elem_kernel-v3-0-285d273912fe@samsung.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/28/24 16:44, Joel Granados wrote: > 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]. Hi, looks like *this* "patch" made it to the sysctl tree [1], breaking b4 for everyone else (as there's a "--- b4-submit-tracking ---" magic in the tree history now) on next-20240422 Please drop it (again, I'm only talking about this empty cover letter). Konrad [1] https://git.kernel.org/pub/scm/linux/kernel/git/sysctl/sysctl.git/commit/?h=sysctl-next&id=ec04a7fa09ddedc1d6c8b86ae281897256c7fdf0