[PATCH v4 0/3] Creation of workqueues in Rust

Alice Ryhl posted 3 patches 7 months, 3 weeks ago
MAINTAINERS                                    |   1 +
rust/helpers/workqueue.c                       |   7 +
rust/kernel/workqueue/builder.rs               | 380 +++++++++++++++++++++++++
rust/kernel/{workqueue.rs => workqueue/mod.rs} |  53 +++-
4 files changed, 437 insertions(+), 4 deletions(-)
[PATCH v4 0/3] Creation of workqueues in Rust
Posted by Alice Ryhl 7 months, 3 weeks ago
GPU drivers often need to create their own workqueues for various
reasons. Add the ability to do so.

Signed-off-by: Alice Ryhl <aliceryhl@google.com>
---
Changes in v4:
- Add link to delayed work fix.
- Redo workqueue creation to prevent invalid configurations.
- Introduce a directory as workqueue.rs was getting really large.
- Link to v3: https://lore.kernel.org/r/20260227-create-workqueue-v3-0-87de133f7849@google.com

Changes in v3:
- Switch to builder pattern.
- Drop BH workqueues for now.
- Mark delayed wq change as fix.
- Link to v2: https://lore.kernel.org/r/20251113-create-workqueue-v2-0-8b45277119bc@google.com

Changes in v2:
- Redo how flagging works.
- Restrict delayed work to not be usable on custom workqueues.
- Link to v1: https://lore.kernel.org/r/20250411-create-workqueue-v1-1-f7dbe7f1e05f@google.com

---
Alice Ryhl (3):
      rust: workqueue: restrict delayed work to global wqs
      rust: workqueue: create workqueue subdirectory
      rust: workqueue: add creation of workqueues

 MAINTAINERS                                    |   1 +
 rust/helpers/workqueue.c                       |   7 +
 rust/kernel/workqueue/builder.rs               | 380 +++++++++++++++++++++++++
 rust/kernel/{workqueue.rs => workqueue/mod.rs} |  53 +++-
 4 files changed, 437 insertions(+), 4 deletions(-)
---
base-commit: df9c51269a5e2a6fbca2884a756a4011a5e78748
change-id: 20250411-create-workqueue-d053158c7a4b

Best regards,
-- 
Alice Ryhl <aliceryhl@google.com>
Re: [PATCH v4 0/3] Creation of workqueues in Rust
Posted by Onur Özkan 4 months, 4 weeks ago
On Thu, 12 Mar 2026 09:23:01 +0000
Alice Ryhl <aliceryhl@google.com> wrote:

> GPU drivers often need to create their own workqueues for various
> reasons. Add the ability to do so.
> 
> Signed-off-by: Alice Ryhl <aliceryhl@google.com>
> ---
> Changes in v4:
> - Add link to delayed work fix.
> - Redo workqueue creation to prevent invalid configurations.
> - Introduce a directory as workqueue.rs was getting really large.
> - Link to v3: https://lore.kernel.org/r/20260227-create-workqueue-v3-0-87de133f7849@google.com
> 
> Changes in v3:
> - Switch to builder pattern.
> - Drop BH workqueues for now.
> - Mark delayed wq change as fix.
> - Link to v2: https://lore.kernel.org/r/20251113-create-workqueue-v2-0-8b45277119bc@google.com
> 
> Changes in v2:
> - Redo how flagging works.
> - Restrict delayed work to not be usable on custom workqueues.
> - Link to v1: https://lore.kernel.org/r/20250411-create-workqueue-v1-1-f7dbe7f1e05f@google.com
> 
> ---
> Alice Ryhl (3):
>       rust: workqueue: restrict delayed work to global wqs
>       rust: workqueue: create workqueue subdirectory
>       rust: workqueue: add creation of workqueues
> 
>  MAINTAINERS                                    |   1 +
>  rust/helpers/workqueue.c                       |   7 +
>  rust/kernel/workqueue/builder.rs               | 380 +++++++++++++++++++++++++
>  rust/kernel/{workqueue.rs => workqueue/mod.rs} |  53 +++-
>  4 files changed, 437 insertions(+), 4 deletions(-)
> ---
> base-commit: df9c51269a5e2a6fbca2884a756a4011a5e78748
> change-id: 20250411-create-workqueue-d053158c7a4b
> 
> Best regards,
> -- 
> Alice Ryhl <aliceryhl@google.com>
> 

Hi Alice,

What's the status of this series? Do you have plans to continue working on this
anytime soon? I would like to take it over and continue the work otherwise.

Thanks,
Onur