Skip to content

rt-app: Add SCHED_BATCH scheduling policy support#143

Merged
vingu-linaro merged 1 commit intoscheduler-tools:masterfrom
glemco:master
Feb 25, 2026
Merged

rt-app: Add SCHED_BATCH scheduling policy support#143
vingu-linaro merged 1 commit intoscheduler-tools:masterfrom
glemco:master

Conversation

@glemco
Copy link
Contributor

@glemco glemco commented Feb 12, 2026

SCHED_BATCH scheduling policy was missing from rt-app.

Add support for SCHED_BATCH including the ability to configure its scheduling parameters such as nice values and runtime slice. Extend __set_thread_sched_other_attrs() to handle both SCHED_OTHER and SCHED_BATCH instead of being hardcoded to SCHED_OTHER only.

SCHED_BATCH scheduling policy was missing from rt-app.

Add support for SCHED_BATCH including the ability to configure its
scheduling parameters such as nice values and runtime slice. Extend
__set_thread_sched_other_attrs() to handle both SCHED_OTHER and
SCHED_BATCH instead of being hardcoded to SCHED_OTHER only.

Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
@jlelli
Copy link
Contributor

jlelli commented Feb 17, 2026

Hello!
LGTM, @vingu-linaro what do you think?
Thanks!

@vingu-linaro
Copy link
Member

@jlelli @glemco
Sorry for the delay I was off last week. I will have a look before the end of the week

@vingu-linaro
Copy link
Member

looks got to me too

@vingu-linaro vingu-linaro merged commit c751d2b into scheduler-tools:master Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants