llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] [PATCH v2 0/5] rust: Task & schedule related changes for v6.17
@ 2025-06-25  5:15 Boqun Feng
  2025-06-25  5:15 ` [PATCH v2 1/5] rust: sync: Mark CondVar::notify_*() inline Boqun Feng
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Boqun Feng @ 2025-06-25  5:15 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,

This is the updated version from my pull request last cycle:

v1: https://lore.kernel.org/rust-for-linux/20250506045843.51258-1-boqun.feng@gmail.com/

Please take a look, thanks!

Changes since v1:

- `Location::file_with_nul()` is used to avoid the C changes of
  __might_sleep()

Regards,
Boqun


The following changes since commit 5bc34be478d09c4d16009e665e020ad0fcd0deea:

  sched/core: Reorganize cgroup bandwidth control interface file writes (2025-06-18 13:59:57 +0200)

are available in the Git repository at:

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

for you to fetch changes up to 7e611710acf966df1e14bcf4e067385e38e549a1:

  rust: task: Add Rust version of might_sleep() (2025-06-24 15:53:50 -0700)

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

- 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

----------------------------------------------------------------
Boqun Feng (1):
  rust: Introduce file_from_location()

FUJITA Tomonori (1):
  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

 init/Kconfig                |  3 +++
 rust/helpers/task.c         |  6 +++++
 rust/kernel/lib.rs          | 48 +++++++++++++++++++++++++++++++++++++
 rust/kernel/sync/condvar.rs |  3 +++
 rust/kernel/sync/poll.rs    |  1 +
 rust/kernel/task.rs         | 33 +++++++++++++++++++++++++
 6 files changed, 94 insertions(+)

-- 
2.39.5 (Apple Git-154)


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

end of thread, other threads:[~2025-07-21 14:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-25  5:15 [GIT PULL] [PATCH v2 0/5] rust: Task & schedule related changes for v6.17 Boqun Feng
2025-06-25  5:15 ` [PATCH v2 1/5] rust: sync: Mark CondVar::notify_*() inline Boqun Feng
2025-06-25  5:15 ` [PATCH v2 2/5] rust: sync: Mark PollCondVar::drop() inline Boqun Feng
2025-06-25  5:15 ` [PATCH v2 3/5] rust: task: Mark Task methods inline Boqun Feng
2025-06-25  5:15 ` [PATCH v2 4/5] rust: Introduce file_from_location() Boqun Feng
2025-06-25  5:15 ` [PATCH v2 5/5] rust: task: Add Rust version of might_sleep() Boqun Feng
2025-06-30 13:50 ` [GIT PULL] [PATCH v2 0/5] rust: Task & schedule related changes for v6.17 Boqun Feng
2025-07-21 11:00   ` Alice Ryhl
2025-07-21 13:50     ` Boqun Feng
2025-07-21 14:35       ` Alice Ryhl

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).