[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175015666836.277659.13544106248408491638.b4-ty@kernel.org>
Date: Tue, 17 Jun 2025 12:37:48 +0200
From: Andreas Hindborg <a.hindborg@...nel.org>
To: alex.gaynor@...il.com, ojeda@...nel.org,
FUJITA Tomonori <fujita.tomonori@...il.com>
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: Re: [PATCH v4 0/3] rust: time: Introduce typed clock sources and
generalize Instant
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@...nel.org>
Powered by blists - more mailing lists