Re: [patch 1/3] timekeeping: Annotate ktime_get_boot_fast_ns() with data_race()

From: Peter Zijlstra
Date: Fri Apr 15 2022 - 08:08:05 EST


On Fri, Apr 15, 2022 at 11:19:35AM +0200, Thomas Gleixner wrote:
> Accessing timekeeper::offset_boot in ktime_get_boot_fast_ns() is an
> intended data race as the reader side cannot synchronize with a writer and
> there is no space in struct tk_read_base of the NMI safe timekeeper.
>
> Mark it so.

If offs_boot actually ever changed?