From: Andreas Hindborg <a.hindborg@kernel.org>
To: alex.gaynor@gmail.com, ojeda@kernel.org,
FUJITA Tomonori <fujita.tomonori@gmail.com>
Cc: aliceryhl@google.com, anna-maria@linutronix.de,
bjorn3_gh@protonmail.com, boqun.feng@gmail.com, dakr@kernel.org,
frederic@kernel.org, gary@garyguo.net, jstultz@google.com,
linux-kernel@vger.kernel.org, lossin@kernel.org,
lyude@redhat.com, rust-for-linux@vger.kernel.org,
sboyd@kernel.org, tglx@linutronix.de, tmgross@umich.edu
Subject: Re: [PATCH v4 0/3] rust: time: Introduce typed clock sources and generalize Instant
Date: Tue, 17 Jun 2025 12:37:48 +0200 [thread overview]
Message-ID: <175015666836.277659.13544106248408491638.b4-ty@kernel.org> (raw)
In-Reply-To: <20250610093258.3435874-1-fujita.tomonori@gmail.com>
On Tue, 10 Jun 2025 18:32:53 +0900, FUJITA Tomonori wrote:
> This patch series introduces a type-safe abstraction over clock
> sources. The goal is to remove the need for runtime clock selection
> (via ClockId) and instead leverage Rust's type system to statically
> associate the Instant type with a specific clock.
>
> This approach enables compile-time enforcement of clock correctness
> across the APIs of Instant type.
>
> [...]
Applied, thanks!
[1/3] rust: time: Replace ClockId enum with ClockSource trait
commit: 1664a671be46a0b0daf5250eb124d94a5501a64c
[2/3] rust: time: Make Instant generic over ClockSource
commit: 768dfbfc98e26cfad45f7165a1801d188f3cbd81
[3/3] rust: time: Add ktime_get() to ClockSource trait
commit: cc6d1098b4cca6ec8e659de8361457c59a90b583
Best regards,
--
Andreas Hindborg <a.hindborg@kernel.org>
prev parent reply other threads:[~2025-06-17 10:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-10 9:32 FUJITA Tomonori
2025-06-10 9:32 ` [PATCH v4 1/3] rust: time: Replace ClockId enum with ClockSource trait FUJITA Tomonori
2025-06-10 9:32 ` [PATCH v4 2/3] rust: time: Make Instant generic over ClockSource FUJITA Tomonori
2025-06-10 9:32 ` [PATCH v4 3/3] rust: time: Add ktime_get() to ClockSource trait FUJITA Tomonori
2025-06-17 10:37 ` Andreas Hindborg [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=175015666836.277659.13544106248408491638.b4-ty@kernel.org \
--to=a.hindborg@kernel.org \
--cc=alex.gaynor@gmail.com \
--cc=aliceryhl@google.com \
--cc=anna-maria@linutronix.de \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun.feng@gmail.com \
--cc=dakr@kernel.org \
--cc=frederic@kernel.org \
--cc=fujita.tomonori@gmail.com \
--cc=gary@garyguo.net \
--cc=jstultz@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lossin@kernel.org \
--cc=lyude@redhat.com \
--cc=ojeda@kernel.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=sboyd@kernel.org \
--cc=tglx@linutronix.de \
--cc=tmgross@umich.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®