Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1905131rdb; Sun, 4 Feb 2024 06:23:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IGwRXDb8BOJzDMZeJ3dUxU6V7uRP0mJeyhIbVFVGigpJ9WNDM+fP+JthleUCj15z9sEkezu X-Received: by 2002:a05:622a:4702:b0:42a:1ba2:1c1b with SMTP id dn2-20020a05622a470200b0042a1ba21c1bmr3613270qtb.45.1707056602134; Sun, 04 Feb 2024 06:23:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707056602; cv=pass; d=google.com; s=arc-20160816; b=KB7c+HFQ1Zph5jH7rHpb3IhTcLOVaUghHHTSORdw1X4PYEvnVKBak4NnJ0HNiic8ZB QERvARjCTlrm6tCFZ5sT/2IOv+osKfLMLFketVGH0fZiI/2ZG3cY7kUBFxNPEn7A+TAH olN0/bzbo0UspE3K/Jzs14Aszz5LlMpQv3DBWvhHZZEJ81Yik6OLDSyymzCdyZg/d17D s+wjoVZyC6/FondF4nGaa/iGsY1mLdstT258cIBz7EaBFyPo3K2g4VPO6oCw0gj9OyCC tAZFDDBtwmZ9HjJbjsu+t82cbj5cKPreINM7XAcI4xiJIvc5UwvqIqYo+TB0ban9W1zO F4qA== 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=NyTexa7jvoUPYYagJtRmJGirdaNw3d1GASXtn4fnOPc=; fh=E0ztmJAGOsqUHfKcQsnaLKRtJYfgYDB0T2t5NFOVQOg=; b=FQcFwCYtRm85UaUQcTbYoJAlnfty4FDrx6claigcZ4vTQHA9EPNmmrcY6RslsIrDzY WFrNHXIxN6Ps4Ne4KwichxKXqjzns2kYYHJjDr5qH4K7IpceRA9jsFkYMt8/3qH633qF s5wE+kHnOOxbVPSlajzCXpJ/J+u2lorpFrtFiwGFWw+voLtDGXBnrLLrIOx0wAzlns2/ lFVHFSPFMK0w1OR+zcFSFArhLxAfKBUHPdq3+XJS/SEGjezxxboPPD9cAmWM1fHeWBlz x+XtfwdBuuvt9sTcKJKzPDOD93kAB+6K3qNca8YJ5SodJr4ZSFQOMLeN8MrRk0eWVLgW 7nuA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=W7OtkGlk; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-51701-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51701-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=1; AJvYcCUHaTJgUM51SrGmR+g+7gRa5RQpDl9pef23Bw2QWx/2TKkZegYfVzh2umDqv1VdZUKp+I+eWCAMDXqZlnB6ng0s2Qywd3BitUT1N6bHNA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id z14-20020ac87f8e000000b0042be6e61b49si6525714qtj.523.2024.02.04.06.23.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 06:23:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51701-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=W7OtkGlk; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-51701-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51701-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id D044A1C213E1 for ; Sun, 4 Feb 2024 14:23:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DC198225D4; Sun, 4 Feb 2024 14:22:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="W7OtkGlk" 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 0CA7A225CB for ; Sun, 4 Feb 2024 14:22:39 +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=1707056560; cv=none; b=B/MFox0apie85+kf4Z/jvmBslFEj8y+0XzfAcgUY5dhoGxGFhW0Yq+l0mYbzSEiqRjnBb//xYHcEFQoU4g3HelbCY2aWxr6mGLsFyyj00P8NjGaSyN7wC1ekyj5A1D5wg/mtkg9xL+yoPQKRMtM0m+sIjT37KEi1Pq4KvymXMUM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707056560; c=relaxed/simple; bh=1CpwfGJb8JQnMtiapNj4quei4505VAdpOAcA5R9QxAU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Gpo11S0NpzX3Yp/6lN+x7nuzvxdCaJTBUa3v/QqcRkEJcYfbBdrfCQ4OcsuEcUmH9emjuPdEmQPbx3bcRdS1E1odC0pqsD2/0n5ZHDsf/7Up99XiabZgHPa6M8J8vwb+g8ptGFi+XXPmGiecUNn3KPbU149T0M7ZFFnaPDvl4Ho= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=W7OtkGlk; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 55DFAC433C7; Sun, 4 Feb 2024 14:22:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707056559; bh=1CpwfGJb8JQnMtiapNj4quei4505VAdpOAcA5R9QxAU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=W7OtkGlkhyDGQZ1arVxEoHWGQ1XckOIm7TR7lzo+r9xazcFWngyTVQ5FNU0d8TRze dNe1Gd5YjXxIciyMuUdcecn0NXYUKL6ccBoAH1JRWOOvlU6wfFFiWozufVyfq/ONzM cv3UfgaIQ/iyBWemIVdovUuLjd7WI5TWY4X5QErM= Date: Sun, 4 Feb 2024 06:22:37 -0800 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: Tejun Heo , Lai Jiangshan , linux-kernel@vger.kernel.org Subject: Re: [PATCH] workqueue: make wq_subsys const Message-ID: <2024020428-brink-sprig-d811@gregkh> References: <20240204-bus_cleanup-workqueue-v1-1-311748f9101a@marliere.net> 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: <20240204-bus_cleanup-workqueue-v1-1-311748f9101a@marliere.net> On Sun, Feb 04, 2024 at 10:47:05AM -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. > > Cc: Greg Kroah-Hartman > Suggested-by: Greg Kroah-Hartman > Signed-off-by: Ricardo B. Marliere > --- > kernel/workqueue.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Greg Kroah-Hartman