[PATCH 0/2 RESEND] Two fixes for sysctl_sched_rr_timeslice

From: Cyril Hrubis
Date: Wed Aug 02 2023 - 11:24:55 EST


- Fixes rounding error for initial value with CONFIG_HZ_300

- Fixes read from the file after reset to default (by writing val <= 0)

Cyril Hrubis (2):
sched/rt: Fix sysctl_sched_rr_timeslice intial value
sched/rt: sysctl_sched_rr_timeslice show default timeslice after reset

kernel/sched/rt.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

--
2.41.0