Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cgroup_fj_common.sh: Do not disable systemd related cgroup subsystems
The cpu, io, memory, and pids subsystems under the root cgroup cannot be disabled because they are used for systemd. Currently, the test of cpu and memory subsystems in cgroup_fj_function.sh and cgroup_fj_stress.sh will report on same systems (Fedora 37, Debian trixie) an error: echo: write error: Device or resource busy cgroup_fj_function 10 TWARN: echo -cpu > /sys/fs/cgroup/cgroup.subtree_control failed Link: https://lore.kernel.org/ltp/[email protected]/ Reviewed-by: Petr Vorel <[email protected]> Signed-off-by: Ma Xinjian <[email protected]>
- Loading branch information