Re: [PATCH] workqueue: make wq_subsys const
From: Greg Kroah-Hartman
Date: Wed Feb 07 2024 - 05:12:44 EST
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 <gregkh@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Ricardo B. Marliere <ricardo@xxxxxxxxxxxx>
> ---
> The maintainer asked [1] for this patch to be received through the
> driver-core tree.
> [1]: https://lore.kernel.org/all/ZcEeOueCbrltxr_b@xxxxxxxxxxxxxxx/
There is no cross-tree dependency at all, but hey, I'll take it, no
worries...
thanks,
greg k-h