[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aYIWvU0vEtEUPTrD@google.com>
Date: Tue, 3 Feb 2026 15:39:41 +0000
From: Alice Ryhl <aliceryhl@...gle.com>
To: Marco Crivellari <marco.crivellari@...e.com>
Cc: linux-kernel@...r.kernel.org, rust-for-linux@...r.kernel.org,
Tejun Heo <tj@...nel.org>, Lai Jiangshan <jiangshanlai@...il.com>,
Frederic Weisbecker <frederic@...nel.org>, Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
Michal Hocko <mhocko@...e.com>, Miguel Ojeda <ojeda@...nel.org>, Alex Gaynor <alex.gaynor@...il.com>
Subject: Re: [PATCH v4 2/2] rust: add system_percpu() and per-cpu enqueue functions
On Tue, Feb 03, 2026 at 04:28:17PM +0100, Marco Crivellari wrote:
> The C code defines 2 new workqueues: system_percpu_wq and system_dfl_wq,
> respectively the futures replacement for system_wq and system_unbound_wq.
>
> This change introduce system_percpu(), that use the new system_percpu_wq.
>
> In order to enqueue on a specific CPU, two new functions have been added
> to the Queue implementation:
>
> enqueue_cpu() - that receive a u32 CPU id as 2nd argument
> enqueue_delayed_cpu() - that receive a u32 CPU id as 3rd argument
>
> system_wq (and so workqueue::system()) will be removed in a future
> release cycle and should not be used.
>
> Suggested-by: Tejun Heo <tj@...nel.org>
> Signed-off-by: Marco Crivellari <marco.crivellari@...e.com>
Reviewed-by: Alice Ryhl <aliceryhl@...gle.com>
Powered by blists - more mailing lists