Home
last modified time | relevance | path

Searched full:scx_root (Results 1 – 4 of 4) sorted by relevance

/linux/tools/sched_ext/
H A Dscx_show_state.py40 root = prog['scx_root']
/linux/kernel/sched/
H A Dext.c16 * scx_root usage is in a transitional state. Naked dereferences are safe if the
18 * necessary otherwise. Naked scx_root dereferences trigger sparse warnings but
20 * updated to point to the associated scheduler instances rather than scx_root.
22 struct scx_sched __rcu *scx_root; variable
1283 struct scx_sched *root = rcu_dereference_sched(scx_root); in schedule_reenq_local()
1333 if (unlikely(SCX_HAS_OP(scx_root, core_sched_before))) in touch_core_sched_dispatch()
2887 struct scx_sched *sch = scx_root; in balance_one()
3023 struct scx_sched *sch = scx_root; in switch_class()
3394 struct scx_sched *sch = scx_root; in handle_hotplug()
3400 * scx_root updates are protected by cpus_read_lock() and will stay in handle_hotplug()
[all …]
H A Dext_internal.h1366 extern struct scx_sched __rcu *scx_root;
1442 root = rcu_dereference_all(scx_root); in scx_prog_sched()
1463 return rcu_dereference_protected(scx_root, in scx_task_sched()
1470 return rcu_dereference_all(scx_root); in scx_task_sched_rcu()
1481 return rcu_dereference_all(scx_root); in scx_prog_sched()
H A Dext_idle.c755 struct scx_sched *sch = scx_root; in __scx_update_idle()
1095 sch = rcu_dereference(scx_root); in scx_bpf_select_cpu_and()