Comment 3 for bug 2057734

Revision history for this message
GuoqingJiang (guoqingjiang) wrote :

Updates:

1. bionic master-next and stable 4.15 don't include relevant commits. Probably need to backport
commits from original commits, and we can refer to below commits in v4.19 stable

2d931472d474 sched/rt: Disallow writing invalid values to sched_rt_period_us
1f80bc015277 sched/rt: sysctl_sched_rr_timeslice show default timeslice after reset
41b7572dea9f sched/rt: Fix sysctl_sched_rr_timeslice intial value

2. focal master-next has include them after update to v5.4.270

5d4fb99a29e7 sched/rt: Disallow writing invalid values to sched_rt_period_us
356eab98ed49 sched/rt: Fix sysctl_sched_rr_timeslice intial value
c1c86af48246 sched/rt: sysctl_sched_rr_timeslice show default timeslice after reset

3. jammy will include them after update to v5.15.150 given below commits had been included in v5.15.150.

0766e7317aab sched/rt: Disallow writing invalid values to sched_rt_period_us
5295b5f2e561 sched/rt: Fix sysctl_sched_rr_timeslice intial value
50349893930a sched/rt: sysctl_sched_rr_timeslice show default timeslice after reset

4. both mantic master-next and stable 6.5 only have this one, so the other two commits are needed.

8d74fc7bb6e6 sched/rt: Fix sysctl_sched_rr_timeslice intial value