This repository was archived by the owner on Jun 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scx: Remove enum rq_onoff_reason enum
The existing hotplug code is a bit brittle in that the sched_class->{online, offline} callbacks can be invoked both from hotplug context, or from domain rebuild context. A callback is only invoked in one of the two contexts, with the context that runs the callback setting rq->online accordingly to avoid doing the callback more times than necessary. Unfortuntaly, this causes commit 2125c00 ("cgroup/cpuset: Make cpuset hotplug processing synchronous") to break hotplug for us because it makes the topology rq->online event happen before the cpu hotplug rq->online event; thus preventing us from invoking the cpu online callback in the scheduler. This integration is fragile and hacky, so we'll instead call directly into ext.c on the hotplug path. This will be added in a subsequent commit. Signed-off-by: David Vernet <void@manifault.com>
- Loading branch information
Showing
7 changed files
with
24 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters