[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250617144155.3903431-1-fujita.tomonori@gmail.com>
Date: Tue, 17 Jun 2025 23:41:53 +0900
From: FUJITA Tomonori <fujita.tomonori@...il.com>
To: a.hindborg@...nel.org,
alex.gaynor@...il.com,
ojeda@...nel.org
Cc: aliceryhl@...gle.com,
anna-maria@...utronix.de,
bjorn3_gh@...tonmail.com,
boqun.feng@...il.com,
dakr@...nel.org,
frederic@...nel.org,
gary@...yguo.net,
jstultz@...gle.com,
linux-kernel@...r.kernel.org,
lossin@...nel.org,
lyude@...hat.com,
rust-for-linux@...r.kernel.org,
sboyd@...nel.org,
tglx@...utronix.de,
tmgross@...ch.edu
Subject: [PATCH v1 0/2] rust: time: Add fsleep()
Add wrapper for fsleep() function.
The first patch renames from the Delta's methods as_micros_ceil() and
as_millis() to into_micros_ceil() and into_millis() respectively to
maintain consistency with the other function names. I think that the
commit 2ed94606a0fe ("rust: time: Rename Delta's methods from as_* to
into_*"), wasn't applied as expected, due to the conflict with the
commit 1b7bbd597527 ("rust: time: Avoid 64-bit integer division on
32-bit architectures").
The second patch is effectively a resend of a previous patch in the
iopoll patchset. The last post was:
[PATCH v15 5/6] rust: time: Add wrapper for fsleep() function
https://lore.kernel.org/lkml/20250423192857.199712-6-fujita.tomonori@gmail.com/
This patch has already been reviewed by many developers. It was not
merged previously due to issues with 64-bit division on 32-bit
architectures. A patch addressing the division issue has already been
merged, so this patch can now be merged as well.
FUJITA Tomonori (2):
rust: time: Rename Delta's as_micros_ceil and as_millis
rust: time: Add wrapper for fsleep() function
rust/helpers/time.c | 6 +++++
rust/kernel/time.rs | 5 ++--
rust/kernel/time/delay.rs | 49 +++++++++++++++++++++++++++++++++++++++
3 files changed, 58 insertions(+), 2 deletions(-)
create mode 100644 rust/kernel/time/delay.rs
base-commit: 994393295c89711531583f6de8f296a30b0d944a
--
2.43.0
Powered by blists - more mailing lists