[GIT PULL] [PATCH 0/5] rust: Task & schedule related changes for v6.16

Boqun Feng posted 5 patches 7 months, 2 weeks ago
include/linux/kernel.h      |  2 ++
kernel/sched/core.c         | 62 ++++++++++++++++++++++++-------------
rust/helpers/task.c         |  6 ++++
rust/kernel/sync/condvar.rs |  3 ++
rust/kernel/sync/poll.rs    |  1 +
rust/kernel/task.rs         | 38 +++++++++++++++++++++++
6 files changed, 91 insertions(+), 21 deletions(-)
[GIT PULL] [PATCH 0/5] rust: Task & schedule related changes for v6.16
Posted by Boqun Feng 7 months, 2 weeks ago
Hi Ingo & Peter,

Here are the Rust changes related to task and schedule, I figure the
best route would be via tip/sched/core hence I send this pull request.
Let me know if you want to do this differently.

Same as lockdep changes, I send this pull request in the format of
patchset, but here are also the tag and pull-request message.

Regards,
Boqun

The following changes since commit c70fc32f44431bb30f9025ce753ba8be25acbba3:

  sched/fair: Adhere to place_entity() constraints (2025-04-16 21:09:12 +0200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/boqun/linux.git tags/rust-sched.2025.05.05

for you to fetch changes up to d131cde69445b8a9a01ef1cbeed7232e171d4bd0:

  rust: task: Add Rust version of might_sleep() (2025-05-04 20:12:12 -0700)

----------------------------------------------------------------
Rust task & schedule changes for v6.16:

- Make Task, CondVar and PollCondVar methods inline to avoid unnecessary
  function calls

- Add might_sleep() support for Rust code: Rust's "#[track_caller]"
  mechanism is used so that Rust's might_sleep() doesn't need to be
  defined as a macro.

----------------------------------------------------------------
FUJITA Tomonori (2):
  sched/core: Add __might_sleep_precision()
  rust: task: Add Rust version of might_sleep()

Kunwu Chan (2):
  rust: sync: Mark CondVar::notify_*() inline
  rust: sync: Mark PollCondVar::drop() inline

Panagiotis Foliadis (1):
  rust: task: Mark Task methods inline

 include/linux/kernel.h      |  2 ++
 kernel/sched/core.c         | 62 ++++++++++++++++++++++++-------------
 rust/helpers/task.c         |  6 ++++
 rust/kernel/sync/condvar.rs |  3 ++
 rust/kernel/sync/poll.rs    |  1 +
 rust/kernel/task.rs         | 38 +++++++++++++++++++++++
 6 files changed, 91 insertions(+), 21 deletions(-)

-- 
2.39.5 (Apple Git-154)