Re: [RFC PATCH 06/23] sched/core: Update the classification of the current task

From: Peter Zijlstra
Date: Wed Sep 14 2022 - 09:45:09 EST


On Fri, Sep 09, 2022 at 04:11:48PM -0700, Ricardo Neri wrote:

> + if (sched_task_classes_enabled() && user_tick)
> + arch_update_task_class(curr, is_core_idle(cpu));

This evaluates is_core_idle() even if the hardware improves.