Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp427916rdb; Thu, 8 Feb 2024 09:45:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IE906swpyMjVu/IwnWTd9y+Km1Vhic98LaoOunvc94HpPjqv//lY6nufEohnMXzLN8g1vbG X-Received: by 2002:a17:902:c102:b0:1d9:2cda:afe5 with SMTP id 2-20020a170902c10200b001d92cdaafe5mr9597408pli.31.1707414310397; Thu, 08 Feb 2024 09:45:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707414310; cv=pass; d=google.com; s=arc-20160816; b=PtIQpQPHjcsPkTRb5LbslkJdxn0/lscnPSyZzFLayFS/FG7bUcG2lmEztuQP5TpAZo +Uq5XzEhZphRlQ2ZMekKEm1yOfxaFOdnFm97fCtuq+G69ci2y/6Tk/cGGRA2RVkVV5V4 zMSaTnIAOS2fBXhi7soSRneWd+YIKv9MJjWVk9W82YxYmCQhkvYv6ZF1O3RZfPnxwwXL PGB1z/iHg+CB39XZz9C4ehyiB2WaZy32nqimrIki2gaZhxqoysW+u8zTU1UXQQ6145fr I6GTvIERWxgfzGFPCMSxv7Ie36LrvhY3jEe8TXO/BPKQYsz2zkonNL6Gd4zVdZzKx2tk m79w== 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=qf1Ess4F/cDvr9Fd6u41io516SuOyWpBhrVJHricrl4=; fh=WOTdMfMyQXDDltcMzzEouwIJZSSx2v94XT0qS8DV+Lo=; b=f2KTlhcBxuLvEuwFoAo67Fpttbi4nGYjWcKmHGhcZ1qxgqtUDMpfNHWolU1qXtR5PU /GOlLrzQuH8/olPX1yS6I8U9Edjw8ac0XJh6ZyLLKOwu+EYwWlFTo9PtYNXYjPAbk3Cz +ci2l5LA2h+jMCIYJwcPpFo6p/rozwgWe/0/S3N5cBFcSsumgrPA7toK7eCqUEZnASE6 Jfk61i8ac8cxFQbfgsBODMpNrQsbNMJjK3Incr5uiAtSpzopGMCIAXP3Ztlx4GrgTUw5 Hzg8KL3euLA/uSuBJWlI5RpSx5YW+QP+VdmXWS62Jz2qC3CXSIBTivaNCMGGXitYEcs5 DVfA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=mH1dGVaF; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-58459-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58459-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=2; AJvYcCVU9CvT9PVFpkIZn/B2B2dMDlKMzdzyDpBWUm7rYXuq93zEecPc9x3wuUtSBPXBQ5qVcfK/7ZKHkhkHTMyMpXVWHthxHJVyOJ6tQnQVPQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id j14-20020a170902da8e00b001d9e188ad3bsi38596plx.470.2024.02.08.09.45.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 09:45:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58459-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=mH1dGVaF; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-58459-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58459-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.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 61522295C2C for ; Thu, 8 Feb 2024 17:29:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 12DAF823C2; Thu, 8 Feb 2024 17:28:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="mH1dGVaF" 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 081B373164 for ; Thu, 8 Feb 2024 17:28:07 +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=1707413288; cv=none; b=EUGM4bfVtqZHvbrtUfeC8UkVXBIcTq5iIsCRADoqM8TYUzlUYrXd7R0oLN0MmEvRamgI1GMOtees+HPTJ8kbkkGZB0KZNK3vdkMrZiuKbvMNiJJjzlT/9U9h79yNLf4slzcGuqTPGdB4xcXiQXbCOo5qfqp2uJhBbhSNN8yx+SE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707413288; c=relaxed/simple; bh=PbK9lZkGvTCDpgvmYCYNtp1ktrj17ouTcNWuLsrQ2To=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tLaMRGN13TMb/nBLSLZ1sRBz2FY5Dcb6tnNIz2rEw9Z+pbKexmdvUNdoJ9loUQU0tsV0tqcAPXu5luBjK5WY/rqYusBFLL4Uends9XPNSM6apbHxUwzpmLPiBT7gUcLA8vRzerOYcfl1TFlxKOk+TKMnDGpCkw6Z/YR6RdH4Fcg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mH1dGVaF; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 15C73C433F1; Thu, 8 Feb 2024 17:28:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707413287; bh=PbK9lZkGvTCDpgvmYCYNtp1ktrj17ouTcNWuLsrQ2To=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mH1dGVaFvNzPLCkvgXp9aFMLOiqI1A0jvrVFS0q4TmJhJQuR1p6BbVSVTiaH4SC5T q9j+yd9CqMfmphaB2UiczhFy/BiMU5HMcM7GAj5cRK9qLtj5Xj6THfCHimnC+pQL0f 6r/FxE2Tfyf/Ekel3kQQTXlKuExESL7Ee6r5/iyE= Date: Thu, 8 Feb 2024 17:28:04 +0000 From: Greg Kroah-Hartman To: Tejun Heo Cc: "Ricardo B. Marliere" , Lai Jiangshan , linux-kernel@vger.kernel.org Subject: Re: [PATCH] workqueue: make wq_subsys const Message-ID: <2024020820-chaos-scale-33cf@gregkh> 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: On Thu, Feb 08, 2024 at 06:54:57AM -1000, Tejun Heo wrote: > 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 Ugh, sorry, you are totally right. Too many different "make X const" series are floating around now, my fault. I'll go suck this in now to end the pointless discussion where I am proven wrong multiple times :) greg k-h