[LTP] [PATCH 1/1] sched_get_priority_max01: Add more policies

Cyril Hrubis chrubis@suse.cz
Tue Jan 25 11:50:08 CET 2022


Hi!
> > I supposed that we need this for SCHED_DEADLINE right? What about
> > alternative libc implementations, does they define SCHED_DEADLINE as
> > well? Do we need a fallback?
> 
> Sorry for the delay (I did write a reply, but probably forget to sent).
> musl and glibc support all of them, but uclibc-ng doesn't have SCHED_DEADLINE.
> (and SCHED_RESET_ON_FORK). I'll send v2 with SCHED_DEADLINE fallback.

Sounds good.

> I guess SCHED_RESET_ON_FORK would deserve it's own test (man sched(7):
> when set, children created by fork(2) do not inherit privileged scheduling
> policies).

Yes please. Either write the test or at least create a github issue.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list