Re: [PATCH] sched/numa: fix choosing isolated CPUs when task_numa_migrate()

2018-10-23 Thread Srikar Dronamraju
Hi Yi Wang, > When trying to migrate to a CPU in task_numa_migrate(), we invoke > task_numa_find_cpu() to choose a spot, in which function we skip > the CPU which is not in cpus_allowed, but forgot to concern the > isolated CPUs, and this may cause the task would run on the isolcpus. > > This pa

[PATCH] sched/numa: fix choosing isolated CPUs when task_numa_migrate()

2018-10-21 Thread Yi Wang
When trying to migrate to a CPU in task_numa_migrate(), we invoke task_numa_find_cpu() to choose a spot, in which function we skip the CPU which is not in cpus_allowed, but forgot to concern the isolated CPUs, and this may cause the task would run on the isolcpus. This patch fixes this issue by ch