OpenCloudOS-Kernel/kernel/sched
Ze Gao 2e2ffe48c5 rue/scx: Fix cgroupv2 cpu controller regression
Due to the odd behavior of gcc designated initializer, we
have to carefully order the fields inside cpu_cftypes.
otherwise some important interfaces like cpu.max could
be lost.

Checkout details in [1]

[1]: https://onlinegdb.com/T-AMLp4zw

Fixes: 8c320a09af ("rue/scx: Add cpu.offline to maintain SCHED_BT compatibility")
Fixes: 2b9d28baab ("rue/scx: Add cpu.scx to the cpu cgroup controller")
Reported-by: likexu <likexu@tencent.com>
Signed-off-by: Ze Gao <zegao@tencent.com>
2024-09-03 02:47:04 +00:00
..
Makefile sched/headers: Introduce kernel/sched/build_policy.c and build multiple .c files there 2022-02-23 10:58:33 +01:00
autogroup.c sched: Disable sched_autogroup by default 2024-04-22 11:37:32 +08:00
autogroup.h sched/headers: Add header guard to kernel/sched/stats.h and kernel/sched/autogroup.h 2022-02-23 08:22:00 +01:00
build_policy.c rue/scx/sched_ext: Add sysrq-S which disables the BPF scheduler 2024-03-29 11:22:21 +08:00
build_utility.c sched: Fix missing prototype warnings 2022-05-01 10:03:43 +02:00
clock.c Locking changes for v6.5: 2023-06-27 14:14:30 -07:00
completion.c sched: add a few helpers to wake up tasks on the current cpu 2023-07-17 16:08:08 -07:00
core.c rue/scx: Fix cgroupv2 cpu controller regression 2024-09-03 02:47:04 +00:00
core_sched.c sched: Rename task_running() to task_on_cpu() 2022-09-07 21:53:47 +02:00
cpuacct.c sli: backport sli function from tk3 2024-06-05 02:28:29 +00:00
cpudeadline.c sched/core: Introduce sched_asym_cpucap_active() 2022-08-02 12:32:45 +02:00
cpudeadline.h
cpufreq.c sched/headers: Introduce kernel/sched/build_utility.c and build multiple .c files there 2022-02-23 10:58:33 +01:00
cpufreq_schedutil.c cpufreq: schedutil: Update next_freq when cpufreq_limits change 2023-10-05 22:09:50 +02:00
cpupri.c sched/rt: Fix live lock between select_fallback_rq() and RT push 2023-09-28 22:58:13 +02:00
cpupri.h
cputime.c Merge linux 6.6.46 2024-08-24 09:37:59 +08:00
deadline.c rue/scx/sched: Add @reason to sched_class->rq_{on|off}line() 2024-03-29 11:22:19 +08:00
debug.c rue/scx: make proc sched show scx vtime 2024-04-07 11:24:09 +08:00
ext.c Merge branch 'zegao/scx3' into 'master' (merge request !150) 2024-08-23 11:40:38 +00:00
ext.h rue/scx: Add cpu.scx to the cpu cgroup controller 2024-08-06 15:22:16 +08:00
fair.c Merge linux 6.6.44 2024-08-05 17:22:57 +08:00
features.h sched/eevdf: Curb wakeup-preemption 2023-08-17 17:07:07 +02:00
idle.c rue/scx/sched_ext: Add boilerplate for extensible scheduler class 2024-03-29 11:22:20 +08:00
isolation.c sched/isolation: Fix boot crash when maxcpus < first housekeeping CPU 2024-06-12 11:11:24 +02:00
loadavg.c sched/headers: Introduce kernel/sched/build_utility.c and build multiple .c files there 2022-02-23 10:58:33 +01:00
membarrier.c sched/membarrier: reduce the ability to hammer on sys_membarrier 2024-02-23 09:25:27 +01:00
pelt.c sched/headers: Introduce kernel/sched/build_policy.c and build multiple .c files there 2022-02-23 10:58:33 +01:00
pelt.h sched/fair: Decay task PELT values during wakeup migration 2022-06-28 09:17:46 +02:00
psi.c Merge linux 6.6.41 2024-07-19 20:38:30 +08:00
rt.c rue/scx/sched: Add @reason to sched_class->rq_{on|off}line() 2024-03-29 11:22:19 +08:00
sched-pelt.h
sched.h rue/scx: Fix cgroupv2 cpu controller regression 2024-09-03 02:47:04 +00:00
smp.h sched, smp: Trace smp callback causing an IPI 2023-03-24 11:01:29 +01:00
stats.c Merge linux 6.6.46 2024-08-24 09:37:59 +08:00
stats.h Merge linux 6.6.41 2024-07-19 20:38:30 +08:00
stop_task.c sched/fair: Rename check_preempt_curr() to wakeup_preempt() 2024-03-27 18:09:11 +08:00
swait.c sched: add a few helpers to wake up tasks on the current cpu 2023-07-17 16:08:08 -07:00
topology.c Set ASYM_PACKING Flag on Zhaoxin KH-40000 platform 2024-08-15 11:35:28 +08:00
wait.c sched: add a few helpers to wake up tasks on the current cpu 2023-07-17 16:08:08 -07:00
wait_bit.c wait_on_bit: add an acquire memory barrier 2022-08-26 09:30:25 -07:00