[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250625051518.15255-1-boqun.feng@gmail.com>
Date: Tue, 24 Jun 2025 22:15:13 -0700
From: Boqun Feng <boqun.feng@...il.com>
To: Ingo Molnar <mingo@...nel.org>,
Peter Zijlstra <peterz@...radead.org>
Cc: Ingo Molnar <mingo@...hat.com>, Juri Lelli <juri.lelli@...hat.com>,
Vincent Guittot <vincent.guittot@...aro.org>,
Dietmar Eggemann <dietmar.eggemann@....com>,
Steven Rostedt <rostedt@...dmis.org>, Ben Segall <bsegall@...gle.com>,
Mel Gorman <mgorman@...e.de>, Valentin Schneider <vschneid@...hat.com>,
Miguel Ojeda <ojeda@...nel.org>, Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <benno.lossin@...ton.me>,
Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>,
Danilo Krummrich <dakr@...nel.org>,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <nick.desaulniers+lkml@...il.com>,
Bill Wendling <morbo@...gle.com>, Justin Stitt <justinstitt@...gle.com>,
FUJITA Tomonori <fujita.tomonori@...il.com>,
Tamir Duberstein <tamird@...il.com>, Kunwu Chan <kunwu.chan@...mail.com>,
Mitchell Levy <levymitchell0@...il.com>,
Martin Rodriguez Reboredo <yakoyoku@...il.com>,
Borys Tyran <borys.tyran@...tonmail.com>,
Christian Brauner <brauner@...nel.org>,
Panagiotis Foliadis <pfoliadis@...teo.net>, linux-kernel@...r.kernel.org,
rust-for-linux@...r.kernel.org, llvm@...ts.linux.dev
Subject: [GIT PULL] [PATCH v2 0/5] rust: Task & schedule related changes for v6.17
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)
Powered by blists - more mailing lists