Re: [PATCH] sched/fair: Use recent_used_cpu to test p->cpus_ptr

From: Peter Zijlstra
Date: Wed Jun 21 2023 - 07:32:57 EST


On Wed, Jun 21, 2023 at 11:19:15AM +0100, Mel Gorman wrote:
> On Tue, Jun 20, 2023 at 04:07:47PM +0800, Miaohe Lin wrote:
> > When checking whether a recently used CPU can be a potential idle
> > candidate, recent_used_cpu should be used to test p->cpus_ptr as
> > p->recent_used_cpu is not equal to recent_used_cpu and candidate
> > decision is made based on recent_used_cpu here.
> >
> > Fixes: 89aafd67f28c ("sched/fair: Use prev instead of new target as recent_used_cpu")
>
> Acked-by: Mel Gorman <mgorman@xxxxxxx>

Thanks!