The source project of this merge request has been removed.
sched/alt: Implement missing CPU files stubs for cgroups v1 and v2
Create stubs for all the missing entries in cpu_files
and cpu_legacy_files
so that container orchestration techologies like Kubernetes and Pterodactyl initialize and operate without errors.
Also fix two issues in cpu_cgrp_subsys
declaration:
- Remove redundant entry for
legacy_cftypes
(syncs with mainline) - Add a stub for
cpu_local_stat_show
for applications that may blindly invoke it
This MR does not completely sync with mainline the Kconfig dependencies for CONFIG_CFS_BANDWIDTH, CONFIG_RT_GROUP_SCHED, and CONFIG_UCLAMP_TASK_GROUP. If an application is found that needs those defined in the kernel configuration, I can open another MR to fix that as well.
Related issue: #51 (closed)
Edited by Steven Barrett