mbox series

[0/2] sched_deadline: HRTICK for newer kernels

Message ID 20210723191609.14072-1-jkacur@redhat.com
Headers show
Series sched_deadline: HRTICK for newer kernels | expand

Message

John Kacur July 23, 2021, 7:16 p.m. UTC
Newer kernels have HRTICK_DL which is a HRTICK for the deadline
scheduler only.

In addion newer kernels rename
/sys/kernel/debug/sched_features
to
/sys/kernel/debug/sched/features

These changes use HRTICK_DL if available and make use of the
new file name in a backwards compatible manner.

These changes are based on changes in util.c in the stalld program.
The stalld program itself was based on code in the sched_deadline
programs in this suite.

John Kacur (2):
  sched_deadline: Accommodate new location of HRTICK file in kernel
  sched_deadline: Use HRTICK_DL for sched_deadline tests

 src/sched_deadline/cyclicdeadline.c | 92 +++++++++++++++++++++++------
 src/sched_deadline/deadline_test.c  | 89 ++++++++++++++++++++++------
 2 files changed, 145 insertions(+), 36 deletions(-)