Re: [PATCH v5 1/2] powerpc/vcpu: Assume dedicated processors as non-preempt

2019-12-13 Thread Michael Ellerman
On Fri, 2019-12-13 at 03:50:35 UTC, Michael Ellerman wrote: > From: Srikar Dronamraju > > With commit 247f2f6f3c70 ("sched/core: Don't schedule threads on > pre-empted vCPUs"), the scheduler avoids preempted vCPUs to schedule > tasks on wakeup. This leads to wrong choice of CPU, which in-turn >

Re: [PATCH v5 1/2] powerpc/vcpu: Assume dedicated processors as non-preempt

2019-12-13 Thread Michael Ellerman
Srikar Dronamraju writes: > * Michael Ellerman [2019-12-13 14:50:35]: > >> Waiman Long suggested using static_keys. >> >> Fixes: 247f2f6f3c70 ("sched/core: Don't schedule threads on pre-empted >> vCPUs") >> Cc: sta...@vger.kernel.org # v4.18+ >> Reported-by: Parth Shah >> Reported-by: Ihor

Re: [PATCH v5 1/2] powerpc/vcpu: Assume dedicated processors as non-preempt

2019-12-12 Thread Srikar Dronamraju
* Michael Ellerman [2019-12-13 14:50:35]: > Waiman Long suggested using static_keys. > > Fixes: 247f2f6f3c70 ("sched/core: Don't schedule threads on pre-empted vCPUs") > Cc: sta...@vger.kernel.org # v4.18+ > Reported-by: Parth Shah > Reported-by: Ihor Pasichnyk > Tested-by: Juri Lelli >

[PATCH v5 1/2] powerpc/vcpu: Assume dedicated processors as non-preempt

2019-12-12 Thread Michael Ellerman
From: Srikar Dronamraju With commit 247f2f6f3c70 ("sched/core: Don't schedule threads on pre-empted vCPUs"), the scheduler avoids preempted vCPUs to schedule tasks on wakeup. This leads to wrong choice of CPU, which in-turn leads to larger wakeup latencies. Eventually, it leads to performance