Re: [PATCH v2 2/2] sched/fair: use lsub_positive in cpu_util_next()

2021-02-25 Thread Dietmar Eggemann
On 25/02/2021 09:36, vincent.donnef...@arm.com wrote: > From: Vincent Donnefort > > The sub_positive local version is saving an explicit load-store and is > enough for the cpu_util_next() usage. > > Signed-off-by: Vincent Donnefort > > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c >

Re: [PATCH v2 2/2] sched/fair: use lsub_positive in cpu_util_next()

2021-02-25 Thread Quentin Perret
On Thursday 25 Feb 2021 at 08:36:12 (+), vincent.donnef...@arm.com wrote: > From: Vincent Donnefort > > The sub_positive local version is saving an explicit load-store and is > enough for the cpu_util_next() usage. > > Signed-off-by: Vincent Donnefort Reviewed-by: Quentin Perret Thanks,

[PATCH v2 2/2] sched/fair: use lsub_positive in cpu_util_next()

2021-02-25 Thread vincent . donnefort
From: Vincent Donnefort The sub_positive local version is saving an explicit load-store and is enough for the cpu_util_next() usage. Signed-off-by: Vincent Donnefort diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 146ac9fec4b6..1364f8b95214 100644 --- a/kernel/sched/fair.c +++