Re: [PATCH v2] sched/fair: Remove setting task's se->runnable_weight during PELT update

2018-09-11 Thread Peter Zijlstra
On Mon, Sep 10, 2018 at 04:49:05PM -0700, Dietmar Eggemann wrote: > > Is there anything else I should do for this patch ? This. Got it now, thanks!

Re: [PATCH v2] sched/fair: Remove setting task's se->runnable_weight during PELT update

2018-09-10 Thread Dietmar Eggemann
Hi, On 08/03/2018 07:05 AM, Dietmar Eggemann wrote: A CFS (SCHED_OTHER, SCHED_BATCH or SCHED_IDLE policy) task's se->runnable_weight must always be in sync with its se->load.weight. se->runnable_weight is set to se->load.weight when the task is forked (init_entity_runnable_average()) or

[PATCH v2] sched/fair: Remove setting task's se->runnable_weight during PELT update

2018-08-03 Thread Dietmar Eggemann
A CFS (SCHED_OTHER, SCHED_BATCH or SCHED_IDLE policy) task's se->runnable_weight must always be in sync with its se->load.weight. se->runnable_weight is set to se->load.weight when the task is forked (init_entity_runnable_average()) or reniced (reweight_entity()). There are two cases in