Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

task_exit.c: Add missing sched_note_stop() #14483

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

pussuw
Copy link
Contributor

@pussuw pussuw commented Oct 23, 2024

Summary

I noticed that sched_note_stop() is never called for tasks that exit normally. This patch fixes a regression from #13728 ; there is a missing call to sched_note_stop() in task_exit().

Impact

Fixes the scheduler instrumentation when a task exits. Nothing else is affected.

Testing

Private MPFS target with sched note driver.

@github-actions github-actions bot added Area: OS Components OS Components issues Size: XS The size of the change in this PR is very small labels Oct 23, 2024
A regression from apache#13728 ; sched_note_stop() is never called for tasks
that exit normally via exit().
@acassis acassis merged commit 134ecf3 into apache:master Oct 23, 2024
26 checks passed
@pussuw pussuw deleted the exit_sched_note branch October 23, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: OS Components OS Components issues Size: XS The size of the change in this PR is very small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants