test_idle_cores
static inline bool test_idle_cores(int cpu);
idle_core >= 0 || !test_idle_cores(cpu))
if (test_idle_cores(core))
bool has_idle_core = sched_smt_active() && test_idle_cores(target);
has_idle_core = test_idle_cores(target);