Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

scx: Flip order of scx_rq_{de}activate() #220

Merged
merged 1 commit into from
Jun 6, 2024
Merged

Conversation

Byte-Lab
Copy link
Collaborator

@Byte-Lab Byte-Lab commented Jun 6, 2024

Tejun pointed out that if we set or unset the hotplug online flag before we invoke the relevant hotplug callbacks, schedulers could get confused because they could begin receiving callbacks on a CPU before (or after) they're notified that a CPU is online (or offline).

Let's reverse the order to fix that.

Tejun pointed out that if we set or unset the hotplug online flag before we
invoke the relevant hotplug callbacks, schedulers could get confused because
they could begin receiving callbacks on a CPU before (or after) they're
notified that a CPU is online (or offline).

Let's reverse the order to fix that.

Signed-off-by: David Vernet <void@manifault.com>
@Byte-Lab Byte-Lab requested a review from htejun June 6, 2024 19:07
@Byte-Lab Byte-Lab merged commit 25c10e0 into sched_ext Jun 6, 2024
1 check passed
@Byte-Lab Byte-Lab deleted the fix_hotplug branch June 6, 2024 21:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants