Re: [PATCH] rust: workqueue: replace deprecated system_wq with system_{percpu,dfl}_wq

From: Alice Ryhl

Date: Tue Oct 13 2026 - 12:13:12 EST


On Tue, Oct 13, 2026 at 3:58 PM Gary Guo <gary@xxxxxxxxxxx> wrote:
>
> On Tue Oct 13, 2026 at 2:51 PM BST, Alice Ryhl wrote:
> > From: Danilo Krummrich <dakr@xxxxxxxxxx>
> >
> > system_wq is deprecated and triggers a runtime warning:
> >
> > [ 0.857414] workqueue: work func ...WorkItemPointerKy0_E3runB7_ enqueued on deprecated workqueue. Use system_{percpu|dfl}_wq instead.
> >
> > Replace system() with system_percpu() and system_dfl(), to match the
> > previous behavior of the deprecated system() and convert doc examples
> > and tests to system_dfl().
>
> system_unbound() is also deprecated (replaced by system_dfl(). It appears to
> have no users, so we should remove it in the same patch.

I will resend with that change tomorrow.

Alice