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

scx: rq should be locked when calling scx_ops_exit_task() from scx_cancel_fork() #127

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

htejun
Copy link
Collaborator

@htejun htejun commented Jan 23, 2024

This should fix #124.

…ncel_fork()

scx_cancel_fork() was calling scx_ops_exit_task() without acquring rq lock.
Fix it.

Signed-off-by: Tejun Heo <tj@kernel.org>
@htejun htejun requested a review from Byte-Lab January 23, 2024 18:06
@Byte-Lab Byte-Lab merged commit 0c6e66d into sched_ext Jan 23, 2024
2 checks passed
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.

rq lock not held in scx_ops_exit_task
2 participants