Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2369158lqt; Mon, 22 Apr 2024 08:53:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU6Xgsd7rVBp6Bm2cK571RrkClWeRx/OQG4hyItEO6wYVW/gB9KgRrqJfU6Da7IJita7/c+p4DnY0qtz5QSN0eNXMaOxDA5uSXEAFl4Mw== X-Google-Smtp-Source: AGHT+IE07aD0AURexYYMrpCMNaSIwAQC94oT19Zz6FebsnzZAPBGSls6IjtJ0TuCMhH8PE2w5kTu X-Received: by 2002:a05:6a20:7347:b0:1a7:7fbb:262d with SMTP id v7-20020a056a20734700b001a77fbb262dmr11257583pzc.36.1713801215438; Mon, 22 Apr 2024 08:53:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713801215; cv=pass; d=google.com; s=arc-20160816; b=O2dNTLt8UT/1Rf2P21fo+MfEt3UZKiDVrCbDpscUrexC2nJza4b/7JwkTxUzBsqNL8 4cgD5mojNxJdKPAJshxUbCADAgmQNKBDiQEwNg5ULr49AeepaGRZXVmwrOgY5fpfN1Fh 29rsVi3fjnmRda3tKpI/s0tJFOj1s82EpJuxql0PGY9UsO1VfgYZPO/ZwrqT7pUsvPOX psi06PFXdMAfrGraFlpxWmGExxCiPOI7CGz6iIUbQC+WLldQjJF0Wi0ugbBLQqXXmcz4 BReRnflGshOsVKsoxuhwV+uyYJi24vH0Mszj7VfxXB728eF/fQwQug2NLyGNfHCRIVhc QuJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=geLtT8m1/iya/TYVzYc30GxFKvE1nbQ2PRNzYIc7LVY=; fh=dy5hme5TcbOHHha1dtt2xec1VC/Ldxg/kliPoBtdhCM=; b=XqCsw7ocjP8m8gZLK0zYzad2G0DuEtwlWohF5lzoYi30sNtLMXfNTOV/qR+k+TnLkg hT4HSAeSivBIjHG8qogBl7eWDnCjEDFtzxle5g1tv8ENr1Xko0piVQMj2KP/0Sba8Cjw Fw/hj60lhQbVIe4E+3YFSou94QdTyM6HMuOR9R/BcTkS3A4TMhUbDTywVdtda7p1Y8hv OztLIQGoDnshcdctGf1QxlghSxP7dvY5XCyv3LdkmojB+eJjSBzG+UUkTslh2qwlTzd5 EzboYz4UhWP0c3RdKy1NEm1fZmGzToDpAiJloDKNBVSDlBPD1S1WNnacM2uhOqaKtXo4 T0pw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DJjR3K8p; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-153605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153605-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 189-20020a6301c6000000b005f0a54c1d8csi7810133pgb.838.2024.04.22.08.53.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 08:53:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153605-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=DJjR3K8p; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-153605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153605-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 6760A2884D8 for ; Mon, 22 Apr 2024 15:08:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A555153566; Mon, 22 Apr 2024 15:08:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DJjR3K8p" 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 9070D152505; Mon, 22 Apr 2024 15:08:10 +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=1713798490; cv=none; b=CeOSi0W46wkww1NT9HyFgs6dyyQkw1A61S55zGyTmxq5O7h0bCmkaJ3Mt6HSkpTRFPmZYJhDYAmp5LIFGK5GG6sH3HpfB/kssBG/DcX+k38nVWu+MO6a+lsA1t1SBrYwrZC5kBHYER2bhMeb8A90dsLV+FJmxwT28qWTQa7jcqY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713798490; c=relaxed/simple; bh=HgI0pSUU4NWbIhWPY12WnAiieAv9liBTwLeis4swDAQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=HeVji+306Z481o2Z5hzQHdc1rRn/qQv4nWh0m0fkzq7DtEJrLXpuxnLKVUn3z5SWMCOnM6S6vawqNotLgl3S6uhMR4GomfYm8oVUGA4U3OIGszhzt6edXjCITmFFhorjBruH2HN9x7WfaqCCpMNbwDDNzSKhC+40V7Ep3Xckko8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DJjR3K8p; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00268C116B1; Mon, 22 Apr 2024 15:08:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713798490; bh=HgI0pSUU4NWbIhWPY12WnAiieAv9liBTwLeis4swDAQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=DJjR3K8p2kfDDzOGD7irpjGxMZbZbWI/jCybEZ0Bl6lVuKQ7B5a/uyzTPUJNjawb7 KvTOcIS/8XACZ+YBYnOeAMSj2OC/Z99sXC1Qk6WlEUIgQ3vJg1SqMRsBUJ8lPuyB5n 93Nvkju0+RAnrVRjwPonDcTl/QDQ8xQDQ9vZIyUHkdEqDkDzNtAg+Ug5/e5yJ7YeBz qOnpknYhtttskooEiPXLgMs+6bu3WjFtPXUBFLcfeJk/gYPrKCFOy+t+JZREZyUwMe DehNHOX6RANMaPegW66kPXS+STajYwsJBYMjrM6NfuQr0E/WUUt8PVyGG+b+Smwxca jylPtDob5cUXg== Message-ID: <1804aebc-68a5-4bd8-b42e-e06ce82f7355@kernel.org> Date: Mon, 22 Apr 2024 17:07:59 +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: Konstantin Ryabitsev Cc: Konrad Dybcio , 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 , 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> <36a1ea2f-92c2-4183-a892-00c5b48c419b@linaro.org> <311c8b64-be13-4740-a659-3a14cf68774a@kernel.org> <20240422-sensible-sambar-of-plenty-ae8afc@lemur> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SS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suzqKvhEVS oic5by3fbUnuI0cemeizF4QdtX2uQxrP7RwHFBd+YUia7zCcz0//rv6FZmAxWZGy5arNl6Vm lQqNo7/Poh8WWfRS+xegBxc6hBXahpyUKphAKYkah+m+I0QToCfnGKnPqyYIMDEHCS/RfqA5 t8F+O56+oyLBAeWX7XcmyM6TGeVfb+OZVMJnZzK0s2VYAuI0Rl87FBFYgULdgqKV7R7WHzwD uZwJCLykjad45hsWcOGk3OcaAGQS6NDlfhM6O9aYNwGL6tGt/6BkRikNOs7VDEa4/HlbaSJo 7FgndGw1kWmkeL6oQh7wBvYll2buKod4qYntmNKEicoHGU+x91Gcan8mCoqhJkbqrL7+nXG2 5Q/GS5M9RFWS+nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: <20240422-sensible-sambar-of-plenty-ae8afc@lemur> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 22/04/2024 16:57, Konstantin Ryabitsev wrote: > On Mon, Apr 22, 2024 at 04:49:27PM +0200, Krzysztof Kozlowski wrote: >>>> 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). >> >> Just to clarify, in case it is not obvious: >> Please *do not merge your own trees* into kernel.org repos. Instead use >> b4 shazam to pick up entire patchset, even if it is yours. b4 allows to >> merge/apply also the cover letter, if this is your intention. >> >> With b4 shazam you would get proper Link tags and not break everyone's >> b4 workflow on next. :/ > > I was expecting this to happen at some point. :/ > > Note, that you can still use b4 and merge your own trees, but you need > to switch to using a different cover letter strategy: > > [b4] > prep-cover-strategy = branch-description Yes, but you still won't have: 1. Link tags 2. Nice thank-you letters 3. Auto-collecting review/tested/ack tags So sure, maintainer can even cherry-pick patches, use patch or manually edit git objects and then update git refs, but that's not the point. :) Just use b4 shazam, it's so awesome tool. Best regards, Krzysztof