Re: [RFC PATCH 2/4] sched/fair: Introduce cfs_migration

From: Yafang Shao
Date: Wed Nov 10 2021 - 09:18:02 EST


On Tue, Nov 9, 2021 at 6:47 PM Valentin Schneider
<valentin.schneider@xxxxxxx> wrote:
>
> On 06/11/21 15:40, Yafang Shao wrote:
> > It seems we'd better take the patch[1] I sent several weeks back.
> >
> > [1]. https://lore.kernel.org/lkml/20210615121551.31138-1-laoar.shao@xxxxxxxxx/
> >
>
> As Peter stated in that thread, this only reduces the race window and
> doesn't eliminate it. The FIFO-1 smpboot idea is still a good one IMO.
>

Of course.
I will think about how to avoid the migration happening in the smpboot
thread_fn.

--
Thanks
Yafang