Home
last modified time | relevance | path

Searched refs:other_pset_id (Results 1 – 3 of 3) sorted by relevance

/xnu-12377.1.9/osfmk/kern/
H A Dsched_common.c62 pset_id_t other_pset_id = 0; in sched_pset_search_order_init() local
65 for (int i = 0; i < MAX_PSETS - 1; i++, other_pset_id++) { in sched_pset_search_order_init()
67 if (other_pset_id == src_pset->pset_id) { in sched_pset_search_order_init()
69 other_pset_id++; in sched_pset_search_order_init()
71 assert3u(other_pset_id, <, num_psets); in sched_pset_search_order_init()
72 spill_order.spso_search_order[i] = other_pset_id; in sched_pset_search_order_init()
H A Dsched_rt.c269 for (pset_id_t other_pset_id = 0; other_pset_id < sched_rt_max_clusters; other_pset_id++) { in sched_rt_config_pset_push() local
270 if (pset->pset_id == other_pset_id) { in sched_rt_config_pset_push()
274 sched_clutch_edge out_edge = sched_rt_config_get((pset_id_t)pset->pset_cluster_id, other_pset_id); in sched_rt_config_pset_push()
279 .spsosd_dst_pset_id = other_pset_id in sched_rt_config_pset_push()
283 sched_clutch_edge in_edge = sched_rt_config_get(other_pset_id, (pset_id_t)pset->pset_cluster_id); in sched_rt_config_pset_push()
288 .spsosd_dst_pset_id = other_pset_id, in sched_rt_config_pset_push()
/xnu-12377.1.9/tests/sched/
H A Drt_migration.c317 uint other_pset_id = (stealing_pset_id + off) % topo.num_psets; variable
318 sched_policy_push_metadata("other_pset", other_pset_id);
320 enqueue_thread(pset_target(other_pset_id), stealable_thread);
327 if (topo.psets[other_pset_id].cpu_type == topo.psets[stealing_pset_id].cpu_type) {
328 …T_QUIET; T_ASSERT_TRUE(sched_rt_config_get(other_pset_id, stealing_pset_id).sce_steal_allowed, "st…
336 …T_QUIET; T_ASSERT_FALSE(sched_rt_config_get(other_pset_id, stealing_pset_id).sce_steal_allowed, "s…
341 ret = dequeue_thread_expect(pset_target(other_pset_id), stealable_thread);