/kernel/linux/linux-5.10/tools/perf/util/ |
D | cgroup.c | 349 down_write(&env->cgroups.lock); in cgroup__findnew() 350 cgrp = __cgroup__findnew(&env->cgroups.tree, id, true, path); in cgroup__findnew() 351 up_write(&env->cgroups.lock); in cgroup__findnew() 359 down_read(&env->cgroups.lock); in cgroup__find() 360 cgrp = __cgroup__findnew(&env->cgroups.tree, id, false, NULL); in cgroup__find() 361 up_read(&env->cgroups.lock); in cgroup__find() 370 down_write(&env->cgroups.lock); in perf_env__purge_cgroups() 371 while (!RB_EMPTY_ROOT(&env->cgroups.tree)) { in perf_env__purge_cgroups() 372 node = rb_first(&env->cgroups.tree); in perf_env__purge_cgroups() 375 rb_erase(node, &env->cgroups.tree); in perf_env__purge_cgroups() [all …]
|
D | cgroup.h | 28 int evlist__expand_cgroup(struct evlist *evlist, const char *cgroups,
|
D | env.h | 97 } cgroups; member
|
/kernel/linux/linux-5.10/Documentation/admin-guide/cgroup-v1/ |
D | cgroups.rst | 21 1.1 What are cgroups ? 22 1.2 Why are cgroups needed ? 23 1.3 How are cgroups implemented ? 26 1.6 How do I use cgroups ? 41 1.1 What are cgroups ? 54 facilities provided by cgroups to treat groups of tasks in 60 A *hierarchy* is a set of cgroups arranged in a tree, such that 61 every task in the system is in exactly one of the cgroups in the 67 cgroups. Each hierarchy is a partition of all tasks in the system. 69 User-level code may create and destroy cgroups by name in an [all …]
|
D | net_cls.rst | 9 different priorities to packets from different cgroups. 13 Creating a net_cls cgroups instance creates a net_cls.classid file.
|
D | devices.rst | 43 Any task can move itself between cgroups. This clearly won't 60 device cgroups maintain hierarchy by making sure a cgroup never has more 121 not be possible once the device cgroups has children. 126 device cgroups is implemented internally using a behavior (ALLOW, DENY) and a
|
D | index.rst | 10 cgroups
|
D | freezer-subsystem.rst | 9 whole. The cgroup freezer uses cgroups to describe the set of tasks to 57 tasks belonging to the cgroup and all its descendant cgroups. Each 73 to the cgroup or one of its descendant cgroups until the new task is 79 descendant cgroups.
|
D | memory.rst | 271 The reclaim algorithm has not been modified for cgroups, except that 311 Kernel memory accounting is disabled for all memory cgroups by default. But 393 3.1. Prepare the cgroups (see cgroups.txt, Why are cgroups needed?) 601 (Note: file and shmem may be shared among other cgroups. In that case, 665 The hierarchy is created by creating the appropriate cgroups in the 697 cgroups created below it, or if the parent cgroup has use_hierarchy 738 reclaiming memory for balancing between memory cgroups 811 Memory cgroup implements memory thresholds using the cgroups notification 812 API (see cgroups.txt). It allows to register multiple memory and memsw 833 API (See cgroups.txt). It allows to register multiple OOM notification [all …]
|
D | blkio-controller.rst | 30 - Mount blkio controller (see cgroups.txt, Why are cgroups needed?):: 228 from other queues/cgroups. This is in nanoseconds. If this is read 243 include stats from all the descendant cgroups.
|
D | cpuacct.rst | 5 The CPU accounting controller is used to group tasks using cgroups and
|
D | net_prio.rst | 40 echo "eth0 5" > /sys/fs/cgroups/net_prio/iscsi/net_prio.ifpriomap
|
D | pids.rst | 31 all new cgroups (N.B. that PID limits are hierarchical, so the most stringent
|
/kernel/linux/linux-5.10/Documentation/admin-guide/ |
D | cgroup-v2.rst | 97 multiple individual control groups, the plural form "cgroups" is used. 114 cgroups form a tree structure and every process in the system belongs 124 processes which belong to the cgroups consisting the inclusive 195 propagation into leaf cgroups. This allows protecting entire 214 A given cgroup may have multiple child cgroups forming a tree 280 different cgroups and are not subject to the no internal process 281 constraint - threaded controllers can be enabled on non-leaf cgroups 287 can't have populated child cgroups which aren't threaded. Because the 289 serve both as a threaded domain and a parent to domain cgroups. 353 between threads in a non-leaf cgroup and its child cgroups. Each [all …]
|
/kernel/linux/linux-5.10/block/ |
D | Kconfig.iosched | 38 (cgroups-v1) or io (cgroups-v2) controller.
|
D | Kconfig | 102 cgroups and specifying per device IO rate policies. 111 effort limit to prioritize cgroups. Depending on the setting, the limit 112 can be used to protect cgroups in terms of bandwidth/iops and better
|
/kernel/linux/linux-5.10/include/linux/ |
D | psi.h | 59 rcu_assign_pointer(p->cgroups, to); in cgroup_move_task()
|
D | cgroup.h | 452 rcu_dereference_check((task)->cgroups, \ 458 rcu_dereference((task)->cgroups)
|
/kernel/linux/linux-5.10/Documentation/bpf/ |
D | map_cgroup_storage.rst | 10 attach to cgroups; the programs are made available by the same Kconfig. The 16 cgroups on their own. 132 that uses the map. A program may be attached to multiple cgroups or have
|
/kernel/linux/linux-5.10/Documentation/accounting/ |
D | cgroupstats.rst | 11 and attributes specific to cgroups. It should be very easy to
|
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
D | charge_reserved_hugetlb.sh | 497 echo Test normal case, multiple cgroups. 543 echo Test normal case with write, multiple cgroups.
|
/kernel/linux/linux-5.10/Documentation/block/ |
D | bfq-iosched.rst | 6 low-latency capabilities. In addition to cgroups support (blkio or io 318 Unless the cgroups interface is used (see "4. BFQ group scheduling"), 498 BFQ supports both cgroups-v1 and cgroups-v2 io controllers, namely 500 share. To activate cgroups support, set BFQ_GROUP_IOSCHED. 534 prefix. So, with cgroups-v1 or cgroups-v2, the full prefix for 539 As for cgroups-v1 (blkio controller), the exact set of stat files
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | psi.c | 755 cgroup = task->cgroups->dfl_cgrp; in iterate_groups() 981 rcu_assign_pointer(task->cgroups, to); in cgroup_move_task() 1001 rcu_assign_pointer(task->cgroups, to); in cgroup_move_task()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | profiler.inc.h | 257 struct kernfs_node* proc_kernfs = BPF_CORE_READ(task, cgroups, dfl_cgrp, kn); in populate_cgroup_info() 268 BPF_CORE_READ(task, cgroups, subsys[i]); in populate_cgroup_info() 632 struct kernfs_node* proc_kernfs = BPF_CORE_READ(task, cgroups, dfl_cgrp, kn); in raw_tracepoint__sched_process_exit()
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/Documentation/ |
D | bpftool-cgroup.rst | 50 Iterate over all cgroups in *CGROUP_ROOT* and list all
|