rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] [PATCH 0/5] rust: Task & schedule related changes for v6.16
@ 2025-05-06  4:58 Boqun Feng
  2025-05-06  4:58 ` [PATCH 1/5] rust: sync: Mark CondVar::notify_*() inline Boqun Feng
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Boqun Feng @ 2025-05-06  4:58 UTC (permalink / raw)
  To: Ingo Molnar, Peter Zijlstra
  Cc: Ingo Molnar, Juri Lelli, Vincent Guittot, Dietmar Eggemann,
	Steven Rostedt, Ben Segall, Mel Gorman, Valentin Schneider,
	Miguel Ojeda, Alex Gaynor, Boqun Feng, Gary Guo,
	Björn Roy Baron, Benno Lossin, Andreas Hindborg, Alice Ryhl,
	Trevor Gross, Danilo Krummrich, Nathan Chancellor,
	Nick Desaulniers, Bill Wendling, Justin Stitt, FUJITA Tomonori,
	Tamir Duberstein, Kunwu Chan, Mitchell Levy,
	Martin Rodriguez Reboredo, Borys Tyran, Christian Brauner,
	Panagiotis Foliadis, linux-kernel, rust-for-linux, llvm

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)


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-06-02 18:16 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-06  4:58 [GIT PULL] [PATCH 0/5] rust: Task & schedule related changes for v6.16 Boqun Feng
2025-05-06  4:58 ` [PATCH 1/5] rust: sync: Mark CondVar::notify_*() inline Boqun Feng
2025-05-06  4:58 ` [PATCH 2/5] rust: sync: Mark PollCondVar::drop() inline Boqun Feng
2025-05-06  4:58 ` [PATCH 3/5] rust: task: Mark Task methods inline Boqun Feng
2025-05-06  4:58 ` [PATCH 4/5] sched/core: Add __might_sleep_precision() Boqun Feng
2025-05-09  6:00   ` Ingo Molnar
2025-05-09  7:19     ` Boqun Feng
2025-05-19 12:40       ` Boqun Feng
2025-06-02 18:16         ` Boqun Feng
2025-05-09  7:41     ` Andreas Hindborg
2025-05-09  9:20     ` Alice Ryhl
2025-05-06  4:58 ` [PATCH 5/5] rust: task: Add Rust version of might_sleep() Boqun Feng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).