]> Gentwo Git Trees - linux/.git/commit
sched_ext: Exit early on hotplug events during attach
authorAndrea Righi <arighi@nvidia.com>
Thu, 4 Sep 2025 05:57:16 +0000 (07:57 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 13 Oct 2025 18:45:01 +0000 (08:45 -1000)
commit0128c850513a7f5199397a79da9c39558a5558cb
tree83c2ed75f21c979f2ff733309fe367bfe3b1a304
parent14c1da3895a116f4e32c20487046655f26d3999b
sched_ext: Exit early on hotplug events during attach

There is no need to complete the entire scx initialization if a
scheduler is failing to be attached due to a hotplug event.

Exit early to avoid unnecessary work and simplify the attach flow.

Signed-off-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/sched/ext.c