Home
last modified time | relevance | path

Searched refs:subtree_control (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/tools/testing/selftests/cgroup/
H A Dwith_stress.sh19 echo $verb$subsys_ctrl >$sysfs/cgroup.subtree_control
34 if ! echo +$subsys_ctrl >$sysfs/cgroup.subtree_control ; then
39 if ! echo -$subsys_ctrl >$sysfs/cgroup.subtree_control ; then
H A Dtest_cpuset_prs.sh71 echo +cpuset > cgroup.subtree_control
528 SFILE=$CGRP/cgroup.subtree_control
994 echo +cpuset > cgroup.subtree_control
1086 echo +cpuset > cgroup.subtree_control
/linux-6.15/tools/testing/selftests/mm/
H A Dhugetlb_reparenting_test.sh30 echo "+hugetlb +memory" >$CGROUP_ROOT/cgroup.subtree_control
133 echo "+hugetlb +memory" >$CGROUP_ROOT/a/cgroup.subtree_control
H A Dcharge_reserved_hugetlb.sh36 echo "+hugetlb" >$cgroup_path/cgroup.subtree_control
/linux-6.15/kernel/cgroup/
H A Dcgroup.c445 u16 ss_mask = parent->subtree_control; in cgroup_control()
1581 u16 cur_ss_mask = subtree_control; in cgroup_calc_subtree_ss_mask()
1891 dcgrp->subtree_control |= 1 << ssid; in rebind_subsystems()
2729 if (dst_cgrp->subtree_control) in cgroup_migrate_vet_dst()
3215 dsct->subtree_control &= cgroup_control(dsct); in cgroup_propagate_control()
3478 if (cgrp->subtree_control & (1 << ssid)) { in cgroup_subtree_control_write()
3488 if (!(cgrp->subtree_control & (1 << ssid))) { in cgroup_subtree_control_write()
3495 if (child->subtree_control & (1 << ssid)) { in cgroup_subtree_control_write()
3515 cgrp->subtree_control |= enable; in cgroup_subtree_control_write()
3516 cgrp->subtree_control &= ~disable; in cgroup_subtree_control_write()
[all …]
H A Ddebug.c264 cgroup_masks_read_one(seq, "subtree_control", cgrp->subtree_control); in cgroup_masks_read()
/linux-6.15/include/linux/
H A Dcgroup-defs.h478 u16 subtree_control; member
/linux-6.15/Documentation/admin-guide/
H A Dcgroup-v2.rst373 "cgroup.subtree_control" file while there are processes in the cgroup.
448 disabled by writing to the "cgroup.subtree_control" file::
450 # echo "+cpu +memory -io" > cgroup.subtree_control
485 parent. This means that all non-root "cgroup.subtree_control" files
487 "cgroup.subtree_control" file. A controller can be enabled only if
498 controllers enabled in their "cgroup.subtree_control" files.
514 enabled controller in the cgroup's "cgroup.subtree_control". This is
518 children before enabling controllers in its "cgroup.subtree_control"
530 "cgroup.threads" and "cgroup.subtree_control" files to the user.
542 "cgroup.procs", "cgroup.threads", "cgroup.subtree_control", etc.).
[all …]
/linux-6.15/Documentation/admin-guide/cgroup-v1/
H A Dcgroups.rst621 "cgroup.subtree_control" but should remain enabled because other