-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scx_lavd: kick CPU explicitly at the ops.enqueue() path
When the current task is decided to yield, we should explicitly call scx_bpf_kick_cpu(_, SCX_KICK_PREEMPT). Setting the current task's time slice to zero is not sufficient in this because the sched_ext core does not call resched_curr() at the ops.enqueue() path. Signed-off-by: Changwoo Min <[email protected]>
- Loading branch information
Changwoo Min
committed
Oct 28, 2024
1 parent
f56b79b
commit 5b91a52
Showing
2 changed files
with
28 additions
and
23 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