Re: [PATCH 7/7 v3] sched/fair: reduce the window for duplicated update

2021-02-12 Thread Valentin Schneider
On 12/02/21 15:17, Vincent Guittot wrote: > Start to update last_blocked_load_update_tick to reduce the possibility > of another cpu starting the update one more time > IIUC this can happen if e.g. a CPU is busy updating load in update_blocked_averages() while another enters update_nohz_stats() fo

[PATCH 7/7 v3] sched/fair: reduce the window for duplicated update

2021-02-12 Thread Vincent Guittot
Start to update last_blocked_load_update_tick to reduce the possibility of another cpu starting the update one more time Signed-off-by: Vincent Guittot --- kernel/sched/fair.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.