Messages in this thread | | | From | Valentin Schneider <> | Subject | Re: [PATCH 2/2] sched/fair: Relax task_hot() for misfit tasks | Date | Thu, 22 Apr 2021 20:19:40 +0100 |
| |
On 22/04/21 19:29, Dietmar Eggemann wrote: > Just to make sure I can follow the conversation ... > > In case you: > > (1) return 1 instead of -1 > > (2) keep the `env->idle != CPU_NOT_IDLE` check > > (3) and remove the `dst_grp_type == group_has_spare` check > > you are pretty much back to what you had in [PATCH v3 7/7] directly in > task_hot() except: > > (4) the 'if (p fits on src_cpu && p !fits dst_cpu) => tsk_cache_hot) check?
Pretty much, I'll now filter the return value of task_hot() rather than affect it directly.
| |