[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87v7pe5mp0.fsf@kernel.org>
Date: Mon, 02 Jun 2025 14:53:47 +0200
From: Andreas Hindborg <a.hindborg@...nel.org>
To: "FUJITA Tomonori" <fujita.tomonori@...il.com>
Cc: <rust-for-linux@...r.kernel.org>, <boqun.feng@...il.com>,
<frederic@...nel.org>, <lyude@...hat.com>, <tglx@...utronix.de>,
<anna-maria@...utronix.de>, <jstultz@...gle.com>, <sboyd@...nel.org>,
<ojeda@...nel.org>, <alex.gaynor@...il.com>, <gary@...yguo.net>,
<bjorn3_gh@...tonmail.com>, <benno.lossin@...ton.me>,
<aliceryhl@...gle.com>, <tmgross@...ch.edu>, <dakr@...nel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v1 2/5] rust: timer: Replace HrTimerMode enum with
trait-based mode types
"FUJITA Tomonori" <fujita.tomonori@...il.com> writes:
> Replace the `HrTimerMode` enum with a trait-based approach that uses
> zero-sized types to represent each mode of operation. Each mode now
> implements the `HrTimerMode` trait.
>
> This refactoring is a preparation for replacing raw `Ktime` in HrTimer
> with the `Instant` and `Delta` types, and for making `HrTimer` generic
> over a `ClockSource`.
>
> Signed-off-by: FUJITA Tomonori <fujita.tomonori@...il.com>
Reviewed-by: Andreas Hindborg <a.hindborg@...nel.org>
Best regards,
Andreas Hindborg
Powered by blists - more mailing lists