summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-03-06 07:58:04 -1000
committerTejun Heo <tj@kernel.org>2026-03-06 07:58:04 -1000
commit25037af712eb04eb92a89440852029a50eea8d82 (patch)
tree9fe44b7db1aebcbc327cd0e1203a5dced7d82a5e /tools/perf/scripts/python
parent54be8de4236a52b301825cb51c6d5fdecb2fd6b8 (diff)
sched_ext: Add rhashtable lookup for sub-schedulers
Add rhashtable-based lookup for sub-schedulers indexed by cgroup_id to enable efficient scheduler discovery in preparation for multiple scheduler support. The hash table allows quick lookup of the appropriate scheduler instance when processing tasks from different cgroups. This extends scx_link_sched() to register sub-schedulers in the hash table and scx_unlink_sched() to remove them. A new scx_find_sub_sched() function provides the lookup interface. Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions