]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sched_ext: Move internal type and accessor definitions to ext_internal.h
authorTejun Heo <tj@kernel.org>
Wed, 3 Sep 2025 21:33:28 +0000 (11:33 -1000)
committerTejun Heo <tj@kernel.org>
Wed, 3 Sep 2025 21:33:28 +0000 (11:33 -1000)
commit0c2b8356e430229efef42b03bd765a2a7ecf73fd
tree4f98b36589fd08a41b8b299666a54121172da2f7
parent4a1d9d73aabc8f97f48c4f84f936de3b265ffd6f
sched_ext: Move internal type and accessor definitions to ext_internal.h

There currently isn't a place to place SCX-internal types and accessors to
be shared between ext.c and ext_idle.c. Create kernel/sched/ext_internal.h
and move internal type and accessor definitions there. This trims ext.c a
bit and makes future additions easier. Pure code reorganization. No
functional changes.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Andrea Righi <arighi@nvidia.com>
kernel/sched/build_policy.c
kernel/sched/ext.c
kernel/sched/ext.h
kernel/sched/ext_internal.h [new file with mode: 0644]