Searched refs:cgroups (Results 1 - 18 of 18) sorted by relevance

/linux-4.1.27/tools/perf/util/
H A Dcgroup.h13 extern int nr_cgroups; /* number of explicit cgroups defined */
H A Dcgroup.c150 fprintf(stderr, "must define events before cgroups\n"); parse_cgroups()
158 /* allow empty cgroups, i.e., skip */ parse_cgroups()
170 /* nr_cgroups is increased een for empty cgroups */ parse_cgroups()
/linux-4.1.27/include/linux/
H A Dcgroup-defs.h157 * List of cgrp_cset_links pointing at cgroups referenced from this
230 * The bitmask of subsystems enabled on the child cgroups.
291 /* Number of cgroups in the hierarchy, used only for /proc/cgroups */
300 /* IDs for cgroups in this hierarchy */
395 * See Documentation/cgroups/cgroups.txt for details
428 * It's now disallowed to create nested cgroups if the subsystem is
H A Dcgroup.h280 rcu_dereference_check((task)->cgroups, \
286 rcu_dereference((task)->cgroups)
511 /* No cgroups - nothing to do */ cgroup_attach_task_all()
H A Dsched.h1585 struct css_set __rcu *cgroups; member in struct:task_struct
/linux-4.1.27/kernel/
H A Dcgroup.c78 * css_set_rwsem protects task->cgroups pointer, the list of css_set
171 * cgroups with bigger numbers are newer than those with smaller numbers.
429 * belong to different cgroups on different hierarchies. In the other
430 * direction, a css_set is naturally associated with multiple cgroups.
451 * reference-counted, to improve performance when child cgroups
505 * account cgroups in empty hierarchies.
600 * associated with the same set of cgroups but different csses. compare_css_sets()
608 * different cgroups in hierarchies. As different cgroups may compare_css_sets()
627 /* Locate the cgroups associated with these links. */ compare_css_sets()
976 * A task must hold cgroup_mutex to modify cgroups.
991 * is zero, and its list of 'children' cgroups is empty. Since all
994 * always has either children cgroups and/or using tasks. So we don't
1555 * their cgroups capability, we don't maintain the lists running through
2062 rcu_assign_pointer(tsk->cgroups, new_cset); cgroup_task_migrate()
2167 * with tasks so that child cgroups don't compete against tasks. cgroup_migrate_prepare_dst()
2467 * cgroup_attach_task_all - attach task 'tsk' to all cgroups of task 'from'
2468 * @from: attach to all cgroups of a given task
2767 * with tasks so that child cgroups don't compete against tasks.
3148 /* add/rm files for all cgroups created before */ css_for_each_descendant_pre()
3233 * existing cgroups and all future cgroups won't have them either. This
3255 * existing cgroups to which @ss is attached and all future cgroups will
3261 * even if some file creation attempts on existing cgroups fail.
3634 /* no one should try to iterate before mounting cgroups */ __acquires()
4585 pr_warn("%s (%d) created nested cgroup for controller \"%s\" which has incomplete hierarchy support. Nested cgroups may change behavior in the future.\n", create_css()
4960 * Initialize cgroups at system boot, and initialize any
4972 RCU_INIT_POINTER(init_task.cgroups, &init_css_set); cgroup_init_early()
5068 proc_create("cgroups", 0, NULL, &proc_cgroupstats_operations);
5197 RCU_INIT_POINTER(child->cgroups, &init_css_set); cgroup_fork()
5243 rcu_assign_pointer(child->cgroups, cset); cgroup_post_fork()
5268 * Note that cgroups marked notify_on_release force every task in
5271 * use notify_on_release cgroups where very high task exit scaling
5301 RCU_INIT_POINTER(tsk->cgroups, &init_css_set); cgroup_exit()
5496 return (u64)(unsigned long)current->cgroups; current_css_set_read()
5522 cset = rcu_dereference(current->cgroups); current_css_set_cg_links_read()
H A Dcgroup_freezer.c238 * cgroups finished freezing and, if so, sets FROZEN.
H A Dcpuset.c16 * 2006 Rework by Paul Menage to use generic cgroups
574 * See "What is sched_load_balance" in Documentation/cgroups/cpusets.txt
1428 /* Called by cgroups to determine if a cpuset is usable; cpuset_mutex held */ cpuset_can_attach()
H A Dsys.c1387 cgroups can contain all limits */ do_prlimit()
/linux-4.1.27/security/
H A Ddevice_cgroup.c470 * When removing an exception in cgroups with default ALLOW policy, it must
520 * Refer to Documentation/cgroups/devices.txt for more details.
/linux-4.1.27/arch/x86/kernel/cpu/
H A Dperf_event_intel_cqm.c306 * We can have any number of cgroups but only one system-wide __conflict_event()
362 * If one of them is not a task, same story as above with cgroups. __conflict_event()
/linux-4.1.27/mm/
H A Dmemcontrol.c419 * As a consequence, any change that needs to protect against new child cgroups
562 * cgroups is a reasonable guess. In the future, it could be a parameter or
644 * We can't avoid mem cgroups that are over their soft __mem_cgroup_insert_exceeded()
1141 * Iteration constructs for visiting all cgroups (under a tree). If
1389 * moving cgroups. This is for waiting at high-memory pressure
2679 * It is possible for the task to switch cgroups in this mean time, so at
2993 * mem cgroups to try or we seem to be looping without mem_cgroup_soft_limit_reclaim()
5222 * Cgroup retains root cgroups across [un]mount cycles making it necessary
H A Drmap.c850 * cgroups page_referenced()
H A Dvmscan.c94 /* Can cgroups be reclaimed below their normal consumption range? */
2356 * cgroups to fulfill the overall scan target for the shrink_zone()
2515 * This steals pages from memory cgroups over softlimit for_each_zone_zonelist_nodemask()
H A Dmemory.c2052 * - Handle book keeping and accounting - cgroups, mmu-notifiers, etc.
H A Dslub.c3448 * memory cgroups by kmem pages that can be freed. __kmem_cache_shrink()
/linux-4.1.27/include/net/
H A Dsock.h1044 * protocols that implement it, from cgroups populate function.
1059 /* Currently active and new sockets should be assigned to cgroups */
/linux-4.1.27/kernel/events/
H A Dcore.c377 * also enabled for all its descendant cgroups. If @cpuctx's perf_cgroup_match()

Completed in 508 milliseconds