Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp471049lqp; Wed, 12 Jun 2024 07:11:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUUuZwYYJ5xzlg27zH8SsfJ7y2OuCCDeLft+nSQHG6sHSocS9lt6MyePWem8JUb2cIHhddQYlI1XrLP4P+FtwbBMb3mk6YBV6ESrPNK4A== X-Google-Smtp-Source: AGHT+IES5MNosl5GF33PAbFdN51A8JhQtjtAOvq2aypaNTxWR/GXgp1ASNidq5xB06/a7Inzm5DG X-Received: by 2002:a17:90b:4f45:b0:2c4:ab0b:9d9e with SMTP id 98e67ed59e1d1-2c4ab0ba0afmr1568482a91.15.1718201476741; Wed, 12 Jun 2024 07:11:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718201476; cv=pass; d=google.com; s=arc-20160816; b=ZNW9RpQZw+Slg9LozQS2FdARpz7Djv4pOuEitmYLXKR7A9LmdZjTMI9d6xWupk4IgI xJ8TR9vnhEhdS5QQ+Tpu2n9zEyAiLBXOK8fE4sFVSPwH9bENPMWJFM0pvGiFR5ryXZQp KC6RFpZa552eZk/lVaDNYe388ZBu9ey5GAEJ4idYPF8WiXfmBMiEtmLj2/8PnUG5QHFh rgqHxIHCXgrY1+IaV/K/2ylNNc3TY5JNBy9bFDwN1Bu25nO93X/T+I+XS0z2j0ukviAF Idv186IDz7/RW8yEl8QVIcldYl/yEAdFPUSglRqeimldUehehp9IkjsAPkAt3YsSRPIA b8kw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=sp4kuln6csh80is8raFd9JuQeBE6LYfogahL+0jpLZs=; fh=4+xP6F9IK8epFcLpqcR6iQ+Kb43h2oi1GyORv2zpGcs=; b=apSryAdOP6Z6jq+Pt7QqIlRHf72vX8OA1ZR8Fg57HJR9UwI3GGBEa8WkJurfj8Uefn 8Aznt7n7/fYSJDKu3oDKu0aUns3u+Rd0O1M0AYyHoRVpUsxJKLiyjUevKd9Z9IfZ2Gjq NQks4FlFxTXJCuoR3TbupjOXyvl4wPBbJxOKHXRpyuA+Rd6Uro0ikje8dMaTJ+/9TgZK lJNC5bSCyl86lPkchzHp7EC3LS+pP7CUUaDRsOYrctL4SOZky+k9FCa9G5FfHG8VRp4y 63BejecE5K6x83cUSll9+7uAPQ0A6kpdN9OrpNVu5cs8MhVLNtwg5x1lXBD0N7OK/MsF bQJw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=VFuu2Wwj; arc=pass (i=1 dkim=pass dkdomain=zx2c4.com); spf=pass (google.com: domain of linux-kernel+bounces-211640-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211640-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c4a7639936si1584391a91.138.2024.06.12.07.11.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 07:11:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211640-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=@zx2c4.com header.s=20210105 header.b=VFuu2Wwj; arc=pass (i=1 dkim=pass dkdomain=zx2c4.com); spf=pass (google.com: domain of linux-kernel+bounces-211640-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211640-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 4A14D285687 for ; Wed, 12 Jun 2024 14:09:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 472B317DE21; Wed, 12 Jun 2024 14:09:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="VFuu2Wwj" 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 5FC185336D; Wed, 12 Jun 2024 14:09:48 +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=1718201388; cv=none; b=a9JVnSdzZQhIZt+Ef6+0jy1gVu6BIL+aznoIyFzfB7foJ11SoJ5MtFcHhzYsRJjxffdMyR/7StCWkHM5qaaym42GezPybZ7A0TKMPfi1kcgTJHvm6rad7xS4HkL5qEpbPQXkMSBX54YRRZeDR1LmolagZ7AIlP2AgvTzFwiHSPo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718201388; c=relaxed/simple; bh=II/NbhnYcdYmV79okBAT6ronkbwY9LssX0rkK2/jFYE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Wxu0jU5kyth4VxQavCyO4FoQkUQrsH2NW70feMII77aQ15StLhsmHGPD2SVNNDFiAIEtGh92e7WNd/xXxBGsoi6OwOCdV7kQBNxfgZJtngBUqtf6R2vwIqeEmT3qnSHYPZctytnBB+w1ZTIzN1RPWgg5BBuISkE2fAu/+YVhSYg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b=VFuu2Wwj; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA7D4C116B1; Wed, 12 Jun 2024 14:09:46 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="VFuu2Wwj" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1718201384; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sp4kuln6csh80is8raFd9JuQeBE6LYfogahL+0jpLZs=; b=VFuu2WwjHV79Ftcbh7MPyFzpURb23M2Q8GuLu1yfrurEKnnPfVq67aRQjUcnc6pG7iF9Fz uVoB+nZR2nX6+c0ItUORM/GdfNQtMLltNs5JmOX74vBFe+zjQadH2pnpdOkcFnkBTZXF9s v/CYDvOwV2LPGahQixqcoChvchvtCxo= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 50eb8ae5 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 12 Jun 2024 14:09:43 +0000 (UTC) Date: Wed, 12 Jun 2024 16:09:40 +0200 From: "Jason A. Donenfeld" To: Steven Rostedt Cc: Vlastimil Babka , Greg KH , "Paul E. McKenney" , Julia Lawall , kernel-janitors@vger.kernel.org, Masami Hiramatsu , Mathieu Desnoyers , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, "workflows@vger.kernel.org" , Thorsten Leemhuis Subject: Re: [PATCH 05/14] tracefs: replace call_rcu by kfree_rcu for simple kmem_cache_free callback Message-ID: References: <20240609082726.32742-1-Julia.Lawall@inria.fr> <20240609082726.32742-6-Julia.Lawall@inria.fr> <20240610112223.151faf65@rorschach.local.home> <20240610163606.069d552a@gandalf.local.home> <70c093a5-df9c-4665-b9c9-90345c7f2139@suse.cz> <2024061143-transfer-jalapeno-afa0@gregkh> <05ec743a-c4e9-4c66-b2cd-4e89c858d7d4@suse.cz> <20240611101458.7fa78da8@gandalf.local.home> 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-Disposition: inline In-Reply-To: <20240611101458.7fa78da8@gandalf.local.home> On Tue, Jun 11, 2024 at 10:14:58AM -0400, Steven Rostedt wrote: > On Tue, 11 Jun 2024 10:42:28 +0200 > Vlastimil Babka wrote: > > > AFAICS that documented way is for a different situation? I assume you mean > > this part: > > > > * Specify any additional patch prerequisites for cherry picking:: > > > > Cc: # 3.3.x: a1f84a3: sched: Check for idle > > > > But that would assume we actively want to backport this cleanup patch in the > > first place. But as I understand Steven's intention, we want just to make > > sure that if in the future this patch is backported (i.e. as a dependency of > > something else) it won't be forgotten to also backport c9929f0e344a > > ("mm/slob: remove CONFIG_SLOB"). How to express that without actively > > marking this patch for backport at the same time? > > Exactly! This isn't to be tagged as stable. It's just a way to say "if you > need this patch for any reason, you also need patch X". > > I think "Depends-on" is the way to go, as it is *not* a stable thing, and > what is in stable rules is only about stable patches. How does "Depends-on" not spiral out of control? There's a *lot* of "Depends-on" relations one could express in commit series and such. Of course a lot of git itself is designed to show some subset of these relationships. It seems like in most cases, the "Cc: stable@v.g.o # x.y.z+" notation expresses the backporting safety correctly. What is the purpose of saying, "if you need this patch for any reason, you also need patch X"? Who is the intended audience, and are you sure they need this? I ask these questions because I wind up doing a lot of work backporting patches to stable and marking things properly for that or submitting manually backported stable patches and so forth, and in general, patch applicability for stable things is something I wind up devoting a lot of time to. If I have to *additionally* start caring about the theoretical possibility that somebody in the future, outside of the stable flow, might not understand the context of a given patch and blindly apply it to some random tree here or there, that sounds like a lot of extra brain cycles to consider. So, is this actually necessary, and how does it not spiral out of control?