[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250506045843.51258-1-boqun.feng@gmail.com>
Date: Mon, 5 May 2025 21:58:38 -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 0/5] rust: Task & schedule related changes for v6.16
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)
Powered by blists - more mailing lists