Home
last modified time | relevance | path

Searched refs:CGROUP_ROOT (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/mm/
H A Dhugetlb_reparenting_test.sh26 CGROUP_ROOT=$(mount -t cgroup2 | head -1 | awk '{print $3}')
27 if [[ -z "$CGROUP_ROOT" ]]; then
28 CGROUP_ROOT=$(mktemp -d)
29 mount -t cgroup2 none $CGROUP_ROOT
32 echo "+hugetlb +memory" >$CGROUP_ROOT/cgroup.subtree_control
34 CGROUP_ROOT=$(mount -t cgroup | grep ",hugetlb" | awk '{print $3}')
35 if [[ -z "$CGROUP_ROOT" ]]; then
36 CGROUP_ROOT=/dev/cgroup/memory
37 mount -t cgroup memory,hugetlb $CGROUP_ROOT
65 rmdir "$CGROUP_ROOT"/
[all...]
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-cgroup.rst28 | **bpftool** **cgroup tree** [*CGROUP_ROOT*] [**effective**]
62 bpftool cgroup tree [*CGROUP_ROOT*] [effective]
63 Iterate over all cgroups in *CGROUP_ROOT* and list all attached programs.
64 If *CGROUP_ROOT* is not specified, bpftool uses cgroup v2 mountpoint.