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

sched_ext: API update fallouts #171

Merged
merged 2 commits into from
Apr 2, 2024
Merged

sched_ext: API update fallouts #171

merged 2 commits into from
Apr 2, 2024

Conversation

htejun
Copy link
Collaborator

@htejun htejun commented Apr 2, 2024

No description provided.

htejun added 2 commits April 2, 2024 09:24
SCX_OPS_SWITCH_PARTIAL was added recently but assigned the first bit
shifting all the other values. This breaks backward compatibility as flag
values are hard coded into e.g. sched_ext_ops definitions. Let's reorder the
enums so that the existing values aren't shifted around.
instead of btf__find_by_name_kind() w/ BTF_KIND_ENUM as it also needs to
read BTF_KIND_ENUM64's.
@htejun htejun requested a review from Byte-Lab April 2, 2024 19:32
@Byte-Lab Byte-Lab merged commit d36c66c into sched_ext Apr 2, 2024
1 check passed
@Byte-Lab Byte-Lab deleted the api-update-fallouts branch April 2, 2024 20:20
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.

2 participants