On Tue, Sep 29 2026 at 22:24, Thomas Weißschuh wrote:
> CLOCK_BOOTTIME_ALARM behaves exactly as CLOCK_BOOTTIME as far as the
> vDSO is concerned. The vDSO library can handle it automatically
> correctly. Only the basetime needs to be maintained during the tick.
>
> The namespace offset is already set correctly, although it was not
> used before.
>
> Reuse the CLOCK_BOOTTIME basetime for CLOCK_BOOTTIME_ALARM and update
> the userspace hres clock mask to include CLOCK_BOOTTIME_ALARM.
It behaves the same way, but ALARM clock IDs require a RTC device. See
alarm_clock_get_timespec().
So the VDSO and the syscall will disagree when there is no RTC
available...
Thanks,
tglx