[PATCH v2 4/4] [Doc] Workqueue: WQ_UNBOUND doc upgraded

Marco Crivellari posted 4 patches 1 month, 1 week ago
[PATCH v2 4/4] [Doc] Workqueue: WQ_UNBOUND doc upgraded
Posted by Marco Crivellari 1 month, 1 week ago
Doc upgraded to mention future removal of WQ_UNBOUND.

Suggested-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Marco Crivellari <marco.crivellari@suse.com>
---
 Documentation/core-api/workqueue.rst | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/core-api/workqueue.rst b/Documentation/core-api/workqueue.rst
index 165ca73e8351..c8ece1c38808 100644
--- a/Documentation/core-api/workqueue.rst
+++ b/Documentation/core-api/workqueue.rst
@@ -206,6 +206,10 @@ resources, scheduled and executed.
   * Long running CPU intensive workloads which can be better
     managed by the system scheduler.
 
+  **Note:** This flag will be removed in the future and all the work
+  items that don't need to be bound to a specific CPU, should not
+  use this flag.
+
 ``WQ_FREEZABLE``
   A freezable wq participates in the freeze phase of the system
   suspend operations.  Work items on the wq are drained and no
-- 
2.50.1
Re: [PATCH v2 4/4] [Doc] Workqueue: WQ_UNBOUND doc upgraded
Posted by Frederic Weisbecker 1 month, 1 week ago
Le Mon, Aug 25, 2025 at 03:29:06PM +0200, Marco Crivellari a écrit :
> Doc upgraded to mention future removal of WQ_UNBOUND.
> 
> Suggested-by: Tejun Heo <tj@kernel.org>
> Signed-off-by: Marco Crivellari <marco.crivellari@suse.com>
> ---
>  Documentation/core-api/workqueue.rst | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/Documentation/core-api/workqueue.rst b/Documentation/core-api/workqueue.rst
> index 165ca73e8351..c8ece1c38808 100644
> --- a/Documentation/core-api/workqueue.rst
> +++ b/Documentation/core-api/workqueue.rst
> @@ -206,6 +206,10 @@ resources, scheduled and executed.
>    * Long running CPU intensive workloads which can be better
>      managed by the system scheduler.
>  
> +  **Note:** This flag will be removed in the future and all the work
> +  items that don't need to be bound to a specific CPU, should not
> +  use this flag.
> +

I would introduce that later, once WQ_PERCPU is correctly added everywhere and
we can assume that no flag means unbound.

Thanks.

>  ``WQ_FREEZABLE``
>    A freezable wq participates in the freeze phase of the system
>    suspend operations.  Work items on the wq are drained and no
> -- 
> 2.50.1
> 

-- 
Frederic Weisbecker
SUSE Labs