Home
last modified time | relevance | path

Searched refs:cgroups (Results 1 – 25 of 47) sorted by relevance

12

/Linux-v5.15/tools/perf/util/
Dcgroup.c547 down_write(&env->cgroups.lock); in cgroup__findnew()
548 cgrp = __cgroup__findnew(&env->cgroups.tree, id, true, path); in cgroup__findnew()
549 up_write(&env->cgroups.lock); in cgroup__findnew()
557 down_read(&env->cgroups.lock); in cgroup__find()
558 cgrp = __cgroup__findnew(&env->cgroups.tree, id, false, NULL); in cgroup__find()
559 up_read(&env->cgroups.lock); in cgroup__find()
568 down_write(&env->cgroups.lock); in perf_env__purge_cgroups()
569 while (!RB_EMPTY_ROOT(&env->cgroups.tree)) { in perf_env__purge_cgroups()
570 node = rb_first(&env->cgroups.tree); in perf_env__purge_cgroups()
573 rb_erase(node, &env->cgroups.tree); in perf_env__purge_cgroups()
[all …]
Dcgroup.h30 int evlist__expand_cgroup(struct evlist *evlist, const char *cgroups,
Denv.h114 } cgroups; member
/Linux-v5.15/Documentation/admin-guide/cgroup-v1/
Dcgroups.rst21 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 …]
Dnet_cls.rst9 different priorities to packets from different cgroups.
13 Creating a net_cls cgroups instance creates a net_cls.classid file.
Ddevices.rst43 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
Dindex.rst10 cgroups
Dfreezer-subsystem.rst9 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.
Dmemory.rst273 The reclaim algorithm has not been modified for cgroups, except that
310 Kernel memory accounting is enabled for all memory cgroups by default. But
392 3.1. Prepare the cgroups (see cgroups.txt, Why are cgroups needed?)
595 (Note: file and shmem may be shared among other cgroups. In that case,
659 The hierarchy is created by creating the appropriate cgroups in the
721 reclaiming memory for balancing between memory cgroups
794 Memory cgroup implements memory thresholds using the cgroups notification
795 API (see cgroups.txt). It allows to register multiple memory and memsw
816 API (See cgroups.txt). It allows to register multiple OOM notification
885 events are not pass-through. For example, you have three cgroups: A->B->C. Now
[all …]
Dmemcg_test.rst213 9.5 nested cgroups
216 Use tests like the following for testing nested cgroups::
325 Memory controller implements memory thresholds using cgroups notification
Dblkio-controller.rst31 Mount blkio controller (see cgroups.txt, Why are cgroups needed?)::
233 from other queues/cgroups. This is in nanoseconds. If this is read
248 include stats from all the descendant cgroups.
Dcpuacct.rst5 The CPU accounting controller is used to group tasks using cgroups and
Dnet_prio.rst40 echo "eth0 5" > /sys/fs/cgroups/net_prio/iscsi/net_prio.ifpriomap
/Linux-v5.15/Documentation/admin-guide/
Dcgroup-v2.rst103 multiple individual control groups, the plural form "cgroups" is used.
120 cgroups form a tree structure and every process in the system belongs
130 processes which belong to the cgroups consisting the inclusive
198 propagation into leaf cgroups. This allows protecting entire
217 A given cgroup may have multiple child cgroups forming a tree
283 different cgroups and are not subject to the no internal process
284 constraint - threaded controllers can be enabled on non-leaf cgroups
290 can't have populated child cgroups which aren't threaded. Because the
292 serve both as a threaded domain and a parent to domain cgroups.
356 between threads in a non-leaf cgroup and its child cgroups. Each
[all …]
/Linux-v5.15/block/
DKconfig.iosched38 (cgroups-v1) or io (cgroups-v2) controller.
DKconfig82 cgroups and specifying per device IO rate policies.
91 effort limit to prioritize cgroups. Depending on the setting, the limit
92 can be used to protect cgroups in terms of bandwidth/iops and better
/Linux-v5.15/include/linux/
Dpsi.h58 rcu_assign_pointer(p->cgroups, to); in cgroup_move_task()
Dcgroup.h452 rcu_dereference_check((task)->cgroups, \
458 rcu_dereference((task)->cgroups)
/Linux-v5.15/Documentation/bpf/
Dmap_cgroup_storage.rst10 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
/Linux-v5.15/Documentation/accounting/
Dcgroupstats.rst11 and attributes specific to cgroups. It should be very easy to
/Linux-v5.15/Documentation/translations/zh_CN/accounting/
Dpsi.rst151 对于CONFIG_CGROUP=y及挂载了cgroup2文件系统的系统,能够获取cgroups内任务的psi。
/Linux-v5.15/tools/perf/util/bpf_skel/
Dbperf_cgroup.bpf.c61 cgrp = BPF_CORE_READ(p, cgroups, subsys[perf_event_cgrp_id], cgroup); in get_cgroup_v1_idx()
/Linux-v5.15/tools/testing/selftests/vm/
Dcharge_reserved_hugetlb.sh500 echo Test normal case, multiple cgroups.
546 echo Test normal case with write, multiple cgroups.
/Linux-v5.15/Documentation/block/
Dbfq-iosched.rst6 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
/Linux-v5.15/kernel/sched/
Dpsi.c763 cgroup = task->cgroups->dfl_cgrp; in iterate_groups()
992 rcu_assign_pointer(task->cgroups, to); in cgroup_move_task()
1028 rcu_assign_pointer(task->cgroups, to); in cgroup_move_task()

12