On Wed, Apr 1, 2020 at 7:27 AM Cheng Jian <cj.chengjian@xxxxxxxxxx> wrote:
when SCHED_CORE enabled, sched_cpu_starting() uses thread_sibling asJust a high-level question, why does core-scheduling matter on ARM64?
SMT_MASK to initialize rq->core, but only after store_cpu_topology(),
the thread_sibling is ready for use.
notify_cpu_starting()
-> sched_cpu_starting() # use thread_sibling
store_cpu_topology(cpu)
-> update_siblings_masks # set thread_sibling
Fix this by doing notify_cpu_starting later, just like x86 do.
Signed-off-by: Cheng Jian <cj.chengjian@xxxxxxxxxx>
Is it for HPC workloads?
Thanks,
- Joel