Skip to contentSkip to conversation

workqueue rust bindings for v6.7

GIT PULL Merged Tejun Heo 2 participants 2 messages Oct 31, 2023

lore
Share & tools
lore

Tejun Heo

author
#0 lore raw

The following changes since commit 6465e260f48790807eef06b583b38ca9789b6072:

Linux 6.6-rc3 (2023-09-24 14:31:13 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git/ tags/wq-for-6.7-rust-bindings

for you to fetch changes up to 15b286d1fd056b0366bc8d211ff2c4ce2449eacb:

rust: workqueue: add examples (2023-09-25 09:46:42 -1000)

----------------------------------------------------------------
workqueue: Add rust bindings for v6.7

to allow rust code to schedule work items on workqueues. While the current bindings don't cover all of the workqueue API, it provides enough for basic usage and can be expanded as needed.

----------------------------------------------------------------
Alice Ryhl (5):
rust: workqueue: add low-level workqueue bindings
rust: workqueue: add helper for defining work_struct fields
rust: workqueue: implement WorkItemPointer for pointer types
rust: workqueue: add try_spawn helper method
rust: workqueue: add examples

Wedson Almeida Filho (2):
rust: sync: add Arc::{from_raw, into_raw}
rust: workqueue: define built-in queues

 rust/bindings/bindings_helper.h |   1 +
 rust/helpers.c                  |  13 +
 rust/kernel/lib.rs              |   3 +
 rust/kernel/sync/arc.rs         |  46 ++-
 rust/kernel/workqueue.rs        | 679 ++++++++++++++++++++++++++++++++++++++++
 scripts/Makefile.build          |   2 +-
 6 files changed, 741 insertions(+), 3 deletions(-)
 create mode 100644 rust/kernel/workqueue.rs
Signature · 1 line
tejun
merge bot Merged
#1 lore raw
The pull request you sent on Mon, 30 Oct 2023 14:46:58 -1000:

The pull request you sent on Mon, 30 Oct 2023 14:46:58 -1000:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git/ tags/wq-for-6.7-rust-bindings

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/639409a4ac8e1578ce34715338c6a4ddf9941294

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html