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

Increase compat coverage and other misc updates #188

Merged
merged 10 commits into from
Apr 29, 2024
Merged

Conversation

htejun
Copy link
Collaborator

@htejun htejun commented Apr 27, 2024

No description provided.

…ple schedulers

- ECODE_SYS_ACT_MASK and ECODE_SYS_RSN_MASK were swapped.

- UEI_ECODE*() macros are not very useable in that they take skel as an
  argument but whether to branch for restart or not has to be decided after
  the skel is destroyed.

- SCX_ECODE_* aren't defined for user C code.

Let's fix and simplify it so that:

- Fix the masks and copy SCX_ECODE_* definitions. Hopefully, we can figure
  out a way to do this better in the future.

- UEI_REPORT() returns the ecode.

- UEI_ECODE_*() macros take ecode instead of skel & uei. UEI_ECODE_RESTART()
  added.

scx_simple, scx_flatcg and scx_central are updated to implement restart.
scx_qmap is excluded as it implements CPU hotplug ops.
set_next_task_scx() can call ops.running() which can update p->scx.slice.
Check and warn zero slice after set_next_task_scx(), not before.
@htejun htejun requested a review from Byte-Lab April 27, 2024 01:12
@htejun htejun merged commit 8518ada into sched_ext Apr 29, 2024
1 check passed
@htejun htejun deleted the htejun/misc branch April 29, 2024 18:55
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.

1 participant