Re: [PATCH] sched/fair: Don't migrate with src_cpu == dst_cpu

2020-12-07 Thread Scott Wood
On Thu, 2020-12-03 at 09:47 +0100, Peter Zijlstra wrote: > On Thu, Dec 03, 2020 at 12:04:49AM -0600, Scott Wood wrote: > > Besides being a waste of time to try to move tasks to where they already > > are, this avoids triggering the WARN_ON_ONCE(is_migration_disabled(p)) > > in set_task_cpu(). > >

Re: [PATCH] sched/fair: Don't migrate with src_cpu == dst_cpu

2020-12-03 Thread Peter Zijlstra
On Thu, Dec 03, 2020 at 12:04:49AM -0600, Scott Wood wrote: > Besides being a waste of time to try to move tasks to where they already > are, this avoids triggering the WARN_ON_ONCE(is_migration_disabled(p)) > in set_task_cpu(). > > Signed-off-by: Scott Wood > --- > Patch is against tip/master.