Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp396915rdb; Thu, 8 Feb 2024 08:56:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IE8kC6aLNCnSu6DoiYtU4GIjkxGEPBFBdoTmBXEN+VsQWeqYuAiHQdndLbOHugTywImel4v X-Received: by 2002:a05:6870:910f:b0:219:6e95:c0b with SMTP id o15-20020a056870910f00b002196e950c0bmr6982oae.31.1707411366323; Thu, 08 Feb 2024 08:56:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707411366; cv=pass; d=google.com; s=arc-20160816; b=eDtU+UCitGgfdbw/tp67+W0lDxPPUCJHr44Ugj78mImLxWsnK+JhG4N+5Q9iZyNdfe 4AnZd/QOpiSeGCooGxdn2tog1H0+yFhCeYkyE39751LOuEHeNB3ollQa6lQPX8IJwBXp PDHSgRiCbpYWTlMWFQZKT+l67QB2bVx9A3B3j+Fcl2qYoJ2w8C0BilK9lmwkfyeyVX2f wXDZqXES4iLCFvA7igqSkKagHHZDmHo5HUcadt1etTmsuouyrwbjL07ZuGPVlr+DBx60 FqKI4ZN7FSO0wn6eo+6P9hN1tu36wV6GAN8IROgLVMS+X55toSPkL5JNMJM4aMw1o+4H G7mg== 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:sender:dkim-signature; bh=n3u9szKpYPyrNy5jvkhk/rgkbDNkIR1zBJBDv2G3wdo=; fh=Rtr+7vJYpugpWzcKldVIyPMso+dnmBrfPZDxVpzMzfA=; b=R3+iCbRQEbARYunTjq1bvI9lvSvh10TeJzPlgbi3VNaPMdbXsEtDE7TSANdQVrr1tf qeZUUX7pVkIOEhB154RwYfkB13hNK3VQVZVcMU1YI94Zv9rVrhH7BXatLeVhOQS0ADqm YywqOKvpwU7cYsHxEW7ZEndzp+UKZ1GnpbZF65OQ1DIPGU053TxTy/1YLK7DMU8+PjW1 ORbmR7N5R8cBzL8s1NcnDfg0ewlbG+gvKbTuaNi1NngAiTaIGXFwQ7+Xmn50+pOFQOMY Jj8J7sazCju6u4fVEIRACHojUzzIGmSdA4MzQdmeFDl1xqVDftr2Kee/Pw8z0HaH3tom qJ9g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="Y/V4bG9s"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-58385-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58385-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCXIKGvr6ndijtrV9ud1g+mm0oaJEqCQm9pYqhiuQ3vjaDm5SONAB+lE/1WjBeBVbmXAzpFGW+CpS49vZ9RRQsIz4tdmH6tyZ0GGQOdRCQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id s71-20020a63774a000000b005dc422577a9si38942pgc.209.2024.02.08.08.56.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 08:56:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58385-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=@gmail.com header.s=20230601 header.b="Y/V4bG9s"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-58385-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58385-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 3225228CF07 for ; Thu, 8 Feb 2024 16:55:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E96E880048; Thu, 8 Feb 2024 16:55:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Y/V4bG9s" Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (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 954F97EF1C for ; Thu, 8 Feb 2024 16:55:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707411302; cv=none; b=hP3kRpZziDN0G9yzB06nRzryUfPIYwDRpowrCGvwK6X8+JUnNU+4JoZTJVDOo4f+z3zxgb/9/43Qp5Ew92bkZN0PrGLPsZuxgFth63bWXMT93LWEzglr535Xrgi8y99c+g6jTGSE1X8r53NgQ/exzr7hljnYz4WOXCcZdIN1Bhk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707411302; c=relaxed/simple; bh=Hqdzk76SRqhICM3GB7WDS80yEJOio9cExmmNYlYFQUY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TiFdm6z4yOHZ3kgoinfu360DmqALSf83cJpcKu4FIQt2OBLIVX9AhCqQy7w251ucxzQyngEXfKf6uKq06IKZGQgXd8s5NHqXoMl8OF11kGiXpdoocwuoN1EpH31hodA2dv/2ar4Z9JPqR1YI060I18wfKC9gudipNfQvy0zKn2A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Y/V4bG9s; arc=none smtp.client-ip=209.85.214.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-1d7431e702dso18936035ad.1 for ; Thu, 08 Feb 2024 08:55:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707411300; x=1708016100; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=n3u9szKpYPyrNy5jvkhk/rgkbDNkIR1zBJBDv2G3wdo=; b=Y/V4bG9sGcyHophT92ysw4HNPrL6uPLwyAX7sVSdAaHllV4D3RdbEU9Muv4IfOBPJW ZniDfRDPHGlLxRfs1fqo00f87MhZ2Xe+6DiZy5jAU7/7CynZSgCiPD9AtA4WJNf1+q4x bFDD4/0jbEkmQZiXhTCNL+Png9yUtxGWfRA0Uif+y3hQ8O4sV0HpnRxevpLvNS7qIBH0 SIdZL/ptvnoqhqjuINPgUHYKVV99ewkkm6mLC4xdXV+WC+IZM6504JkeozKvkKWz1Nri 06OJd9AHg7yTdv6YGIoQ69/Hr0f4kfpjeOJTAdErg7kPKqJvdei2OBwT1KX7WTpZ4XEi 0wpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707411300; x=1708016100; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=n3u9szKpYPyrNy5jvkhk/rgkbDNkIR1zBJBDv2G3wdo=; b=YcIUK6NjIyf7le8PGMf//sNMHNZRI5kaynettuKY02piU3Cxf6UbozupEq1hdwgntY 21rgc2b+sJakXl/xC9rdtruBot+mYGO6SxOeXnpDM/ZDru7TeQR9AYDT4ONF+upd6sKw yWcIGNUYQdWUmMqpk6INeAJ80k+RbeUHaUas0H7o03ImbMrjYbpQGmKhsmhC463U6oRR rTJ2uYbeLUeXKRX1nhOdzQiD20yS/pQow3+1YloKgeon/EOhb5idKJHE4W94/YWyq1Tu gAipA0LaBVn3Sd4Ek6Rx86YO7hBvS7XFXJjUPH03ibstIm02+TYesfw/ifoKVoNmU+JZ ElXg== X-Gm-Message-State: AOJu0Yx9n2g9j2hvvzaENKjsShUSGMKlzQkfNGMxsrp3qpU/Nq/e2Kv/ 2tva9mtI0eQ1y5RsBIm4BHfRnsORbHo8ZdE6V/eerLeoUu/96VG6 X-Received: by 2002:a17:90a:bc98:b0:296:37c7:3b6b with SMTP id x24-20020a17090abc9800b0029637c73b6bmr6699576pjr.2.1707411299696; Thu, 08 Feb 2024 08:54:59 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWOpiHuSHXd5vHT7dR5LB7rPYpA8jr2dieWyLxEPQG+sXmvwLnpToPg8HdpmytruGF7PrWShMcvpLIxNrLFh3CuxDlIMPhmy2p371QjYz5Y6lhj0uSz8hqhYDZ2yXusPG8CPEniooKonwhRWFgoTHXhCuHQ8WNC Received: from localhost ([2620:10d:c090:400::4:3c45]) by smtp.gmail.com with ESMTPSA id nb16-20020a17090b35d000b002970410a047sm392036pjb.24.2024.02.08.08.54.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 08:54:59 -0800 (PST) Sender: Tejun Heo Date: Thu, 8 Feb 2024 06:54:57 -1000 From: Tejun Heo To: Greg Kroah-Hartman Cc: "Ricardo B. Marliere" , Lai Jiangshan , linux-kernel@vger.kernel.org Subject: Re: [PATCH] workqueue: make wq_subsys const Message-ID: References: <20240206-bus_cleanup-workqueue-v1-1-72b10d282d58@marliere.net> <2024020752-tannery-frozen-04ea@gregkh> <2024020813-wool-haste-fe6d@gregkh> 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=us-ascii Content-Disposition: inline In-Reply-To: <2024020813-wool-haste-fe6d@gregkh> On Thu, Feb 08, 2024 at 10:10:56AM +0000, Greg Kroah-Hartman wrote: > On Wed, Feb 07, 2024 at 06:34:27AM -1000, Tejun Heo wrote: > > On Wed, Feb 07, 2024 at 10:12:34AM +0000, Greg Kroah-Hartman wrote: > > > On Tue, Feb 06, 2024 at 03:05:06PM -0300, Ricardo B. Marliere wrote: > > > > Now that the driver core can properly handle constant struct bus_type, > > > > move the wq_subsys variable to be a constant structure as well, > > > > placing it into read-only memory which can not be modified at runtime. > > > > > > > > Suggested-by: Greg Kroah-Hartman > > > > Signed-off-by: Ricardo B. Marliere > > > > --- > > > > The maintainer asked [1] for this patch to be received through the > > > > driver-core tree. > > > > [1]: https://lore.kernel.org/all/ZcEeOueCbrltxr_b@slm.duckdns.org/ > > > > > > There is no cross-tree dependency at all, but hey, I'll take it, no > > > worries... > > > > Ah, my bad. I branched out wq/for-6.9 before rc1 and was assuming the > > dependent commit was still in the driver core branch. I should have just > > pulled linus#master. > > The dependent changes are in 6.4, so before -rc1 would have been ok as > well :) Hmmm.... > git log -1 --oneline 32f78abe59c7 32f78abe59c7 driver core: bus: constantify subsys_register() calls > git describe --contains 32f78abe59c7 v6.8-rc1~61^2~10 -- tejun