[LTP] [PATCH 0/2 RESEND] Two fixes for sysctl_sched_rr_timeslice

Cyril Hrubis chrubis@suse.cz
Wed Aug 2 17:19:04 CEST 2023


- 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



More information about the ltp mailing list