Re: [PATCH 2/2] sched/core: Consider afffinity constrain when yield to a task
From: Wanpeng Li
Date: Mon Jun 11 2018 - 05:03:31 EST
On Mon, 11 Jun 2018 at 16:39, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
[.../...]
>
> Then it calls set_next_buddy(&p->se), which will mark @p more likely to
> get picked on its rq (p_rq) _not_ our rq. Note how set_next_buddy() uses
> cfs_rq_of().
I miss it, thanks for the great explanation. I will drop the two patches.
Regards,
Wanpeng Li