On Fri, Jan 16, 2026 at 03:51:59PM +0100, Frederic Weisbecker wrote:

> +#ifdef CONFIG_NO_HZ_COMMON
> +void kcpustat_dyntick_start(void)
> +{
> +     if (!vtime_generic_enabled_this_cpu()) {
> +             vtime_dyntick_start();
> +             __this_cpu_write(kernel_cpustat.idle_dyntick, 1);
> +     }
> +}

Why don't we need to make sure steal time is up-to-date at this point?

> +void kcpustat_dyntick_stop(void)
> +{
> +     if (!vtime_generic_enabled_this_cpu()) {
> +             __this_cpu_write(kernel_cpustat.idle_dyntick, 0);
> +             vtime_dyntick_stop();
> +             steal_account_process_time(ULONG_MAX);
> +     }
> +}
> +#endif /* CONFIG_NO_HZ_COMMON */

Reply via email to