aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/cgroup.h
AgeCommit message (Expand)AuthorFilesLines
2024-04-16cgroup/rstat: add cgroup_rstat_lock helpers and tracepointsJesper Dangaard Brouer1-1/+1
2023-11-09cgroup: Add a new helper for cgroup1 hierarchyYafang Shao1-1/+3
2023-10-19cgroup: Prepare for using css_task_iter_*() in BPFChuyi Zhou1-7/+5
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+0
2023-06-12cgroup: remove unused task_cgroup_path()Miaohe Lin1-1/+0
2023-06-09cgroup: remove cgroup_rstat_flush_atomic()Yosry Ahmed1-1/+0
2023-04-18cgroup: rename cgroup_rstat_flush_"irqsafe" to "atomic"Yosry Ahmed1-1/+1
2022-12-12Merge tag 'cgroup-for-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-85/+13
2022-12-08memcg: Fix possible use-after-free in memcg_write_event_control()Tejun Heo1-0/+1
2022-10-31cgroup: cgroup refcnt functions should be exported when CONFIG_DEBUG_CGROUP_REFTejun Heo1-0/+1
2022-10-28cgroup: Implement DEBUG_CGROUP_REFTejun Heo1-85/+12
2022-10-17Merge tag 'cgroup-for-6.1-rc1-fixes' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+1
2022-10-14Merge tag 'sched-psi-2022-10-14' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-5/+0
2022-10-11cgroup: add cgroup_v1v2_get_from_[fd/file]()Yosry Ahmed1-0/+1
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+14
2022-10-10Merge tag 'cgroup-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-10/+3
2022-09-26mm: multi-gen LRU: kill switchYu Zhao1-1/+14
2022-09-12Merge 6.0-rc5 into driver-core-nextGreg Kroah-Hartman1-5/+0
2022-09-09sched/psi: Consolidate cgroup_psi()Chengming Zhou1-5/+0
2022-09-09Merge branch 'driver-core/driver-core-next'Peter Zijlstra1-0/+1
2022-09-01cgroup: Implement cgroup_file_show()Tejun Heo1-0/+1
2022-08-26Merge branch 'for-6.0-fixes' into for-6.1Tejun Heo1-5/+0
2022-08-26cgroup: Homogenize cgroup_get_from_id() return valueMichal Koutný1-5/+0
2022-08-15sched/psi: Remove redundant cgroup_psi() when !CONFIG_CGROUPSHao Jia1-5/+0
2022-08-15cgroup: Replace cgroup->ancestor_ids[] with ->ancestors[]Tejun Heo1-5/+3
2022-06-07psi: dont alloc memory for psi by defaultChen Wandun1-1/+1
2022-03-12cgroup: Fix suspicious rcu_dereference_check() usage warningChengming Zhou1-0/+1
2022-03-01sched/cpuacct: Remove redundant RCU read lockChengming Zhou1-2/+0
2022-03-01sched/cpuacct: Optimize away RCU read lockChengming Zhou1-2/+0
2021-09-13bpf, cgroups: Fix cgroup v2 fallback on v1/v2 mixed modeDaniel Borkmann1-21/+1
2021-07-02Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-0/+6
2021-06-10scsi: cgroup: Add cgroup_get_from_id()Muneendra Kumar1-0/+6
2021-06-08cgroup: make per-cgroup pressure stall tracking configurableSuren Baghdasaryan1-0/+7
2021-05-24Merge branch 'for-5.13-fixes' into for-5.14Tejun Heo1-1/+1
2021-05-24cgroup: fix spelling mistakesZhen Lei1-1/+1
2021-05-10cgroup: inline cgroup_task_freeze()Roman Gushchin1-18/+0
2021-02-17rbtree, perf: Use new rbtree helpersPeter Zijlstra1-2/+2
2020-08-19cgroup: Use generic ns_common::countKirill Tkhai1-3/+2
2020-07-07cgroup: fix cgroup_sk_alloc() for sk_clone_lock()Cong Wang1-1/+3
2020-02-12clone3: allow spawning processes into cgroupsChristian Brauner1-6/+14
2020-02-12cgroup: Clean up css_set task traversalMichal Koutný1-3/+0
2020-02-12cgroup: Iterate tasks that did not finish do_exit()Michal Koutný1-0/+1
2019-11-12cgroup: use cgrp->kn->id as the cgroup IDTejun Heo1-10/+7
2019-11-12kernfs: convert kernfs_node->id from union kernfs_node_id to u64Tejun Heo1-9/+8
2019-10-25cgroup: remove cgroup_enable_task_cg_lists() optimizationTejun Heo1-1/+0
2019-07-25cpusets: Rebuild root domain deadline accounting informationMathieu Poirier1-0/+1
2019-07-15Merge tag 'for-linus-20190715' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+1
2019-07-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-0/+18
2019-07-10cgroup, blkcg: Prepare some symbols for module and !CONFIG_CGROUP usagesTejun Heo1-0/+1
2019-06-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+12
2019-05-31cgroup: add cgroup_parse_float()Tejun Heo1-0/+2
2019-05-31cgroup: Include dying leaders with live threads in PROCS iterationsTejun Heo1-0/+1
2019-05-31cgroup: Implement css_task_iter_skip()Tejun Heo1-0/+3
2019-05-29cgroup: Use css_tryget() instead of css_tryget_online() in task_get_css()Tejun Heo1-2/+8
2019-05-28bpf: decouple the lifetime of cgroup_bpf from cgroup itselfRoman Gushchin1-0/+18
2019-05-06cgroup: get rid of cgroup_freezer_frozen_exit()Roman Gushchin1-1/+1
2019-04-19cgroup: cgroup v2 freezerRoman Gushchin1-0/+43
2019-01-31cgroup/pids: turn cgroup_subsys->free() into cgroup_subsys->release() to fix ...Oleg Nesterov1-0/+2
2018-12-07blkcg: remove additional reference to the cssDennis Zhou1-0/+2
2018-11-02Merge tag 'for-linus-20181102' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+0
2018-11-01blkcg: revert blkcg cleanups seriesDennis Zhou1-2/+0
2018-10-26psi: cgroup supportJohannes Weiner1-0/+15
2018-10-25Merge branch 'for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-12/+3
2018-09-24cgroup: Simplify cgroup_ancestorAndrey Ignatov1-12/+3
2018-09-21blkcg: remove additional reference to the cssDennis Zhou (Facebook)1-0/+2
2018-08-13bpf: Introduce bpf_skb_ancestor_cgroup_id helperAndrey Ignatov1-0/+30
2018-04-26cgroup: Replace cgroup_rstat_mutex with a spinlockTejun Heo1-0/+1
2018-04-26cgroup: Factor out and expose cgroup_rstat_*() interface functionsTejun Heo1-2/+9
2017-11-15Merge branch 'for-4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-0/+58
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-26cgroup, sched: Move basic cpu stats from cgroup.stat to cpu.statTejun Heo1-2/+0
2017-09-25cgroup: Implement cgroup2 basic CPU usage accountingTejun Heo1-0/+22
2017-09-25cpuacct: Introduce cgroup_account_cputime[_field]()Tejun Heo1-0/+38
2017-09-07Merge branch 'for-4.14/block' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+15
2017-08-11cgroup: misc changesTejun Heo1-0/+24
2017-07-29blktrace: add an option to allow displaying cgroup pathShaohua Li1-0/+6
2017-07-29cgroup: export fhandle info for a cgroupShaohua Li1-0/+8
2017-07-29kernfs: introduce kernfs_node_idShaohua Li1-1/+1
2017-07-21cgroup: implement CSS_TASK_ITER_THREADEDTejun Heo1-0/+6
2017-07-21cgroup: introduce cgroup->dom_cgrp and threaded css_set handlingTejun Heo1-1/+2
2017-07-21cgroup: add @flags to css_task_iter_start() and implement CSS_TASK_ITER_PROCSTejun Heo1-1/+5
2017-07-16cgroup: distinguish local and children populated statesTejun Heo1-1/+1
2017-05-24cpuset: consider dying css as offlineTejun Heo1-0/+20
2017-05-01Merge branch 'for-4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-4/+4
2017-03-24cgroup: drop duplicate header nsproxy.hGeliang Tang1-1/+0
2017-03-17cgroup, kthread: close race window where new kthreads can be migrated to non-...Tejun Heo1-0/+21
2017-03-06kernel: convert cgroup_namespace.count from atomic_t to refcount_tElena Reshetova1-3/+4
2016-12-27cgroup: fix a comment typoGeliang Tang1-1/+1
2016-10-14Merge branch 'for-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cg...Linus Torvalds1-5/+4
2016-10-06Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-0/+1
2016-08-12cgroup: Add task_under_cgroup_hierarchy cgroup inline function to headersSargun Dhillon1-0/+23
2016-08-10cgroup: make cgroup_path() and friends behave in the style of strlcpy()Tejun Heo1-11/+5
2016-08-10kernfs: make kernfs_path*() behave in the style of strlcpy()Tejun Heo1-1/+6
2016-08-08cgroupns: Add a limit on the number of cgroup namespacesEric W. Biederman1-0/+1
2016-07-01cgroup: Add cgroup_get_from_fdMartin KaFai Lau1-0/+1
2016-02-16cgroup: introduce cgroup namespacesAditya Kali1-0/+49
2016-01-12Merge branch 'for-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cg...Linus Torvalds1-13/+6
2015-12-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-24/+23
2015-12-08sock, cgroup: add sock->sk_cgroupTejun Heo1-0/+41
2015-12-07Merge branch 'for-4.5-ancestor-test' of git://git.kernel.org/pub/scm/linux/ke...Tejun Heo1-1/+24
2015-12-03cgroup: kill cgrp_ss_priv[CGROUP_CANFORK_COUNT] and friendsOleg Nesterov1-13/+6
2015-12-03cgroup: fix handling of multi-destination migration from subtree_control enab...Tejun Heo1-11/+22
2015-11-20cgroup: implement cgroup_get_from_path() and expose cgroup_put()Tejun Heo1-0/+7
2015-11-20cgroup: record ancestor IDs and reimplement cgroup_is_descendant() using itTejun Heo1-1/+17
2015-11-16cgroup: fix cftype->file_offset handlingTejun Heo1-13/+1
2015-10-15cgroup: keep zombies associated with their original cgroupsTejun Heo1-0/+2
2015-10-15cgroup: make css_set_rwsem a spinlock and rename it to css_set_lockTejun Heo1-3/+2
2015-10-15cgroup: don't hold css_set_rwsem across css task iterationTejun Heo1-0/+4
2015-10-15cgroup: replace cgroup_has_tasks() with cgroup_is_populated()Tejun Heo1-2/+2
2015-09-22cgroup, memcg, cpuset: implement cgroup_taskset_for_each_leader()Tejun Heo1-0/+22
2015-09-18cgroup: generalize obtaining the handles of and notifying cgroup filesTejun Heo1-0/+13
2015-09-18cgroup: replace cgroup_on_dfl() tests in controllers with cgroup_subsys_on_dfl()Tejun Heo1-58/+0
2015-09-18cgroup: implement static_key based cgroup_subsys_enabled() and cgroup_subsys_...Tejun Heo1-0/+21
2015-08-25Merge branch 'for-4.3-unified-base' into for-4.3Tejun Heo1-0/+9
2015-08-04cgroup: define controller file conventionsTejun Heo1-0/+9
2015-07-14cgroup: allow a cgroup subsystem to reject a forkAleksa Sarai1-2/+13
2015-06-26Merge branch 'for-4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cg...Linus Torvalds1-734/+273
2015-06-02cgroup, block: implement task_get_css() and use it in bio_associate_current()Tejun Heo1-0/+25
2015-05-18cgroup: reorganize include/linux/cgroup.hTejun Heo1-281/+271
2015-05-18cgroup: separate out include/linux/cgroup-defs.hTejun Heo1-453/+2
2015-01-06cgroup: add dummy css_put() for !CONFIG_CGROUPSTejun Heo1-0/+4
2014-12-11Merge branch 'for-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-0/+4
2014-12-10Merge branch 'akpm' (patchbomb from Andrew)Linus Torvalds1-0/+26
2014-12-10mm: memcontrol: take a css reference for each charged pageJohannes Weiner1-0/+26
2014-11-19kill f_dentry usesAl Viro1-2/+2
2014-11-18cgroup: implement cgroup_get_e_css()Tejun Heo1-0/+2
2014-11-18cgroup: add cgroup_subsys->css_e_css_changed()Tejun Heo1-0/+1
2014-11-18cgroup: add cgroup_subsys->css_released()Tejun Heo1-0/+1
2014-09-19cgroup: remove CGRP_RELEASABLE flagZefan Li1-5/+0
2014-09-19cgroup: remove redundant check in cgroup_ino()Zefan Li1-5/+2
2014-09-18cgroup: simplify proc_cgroup_show()Zefan Li1-1/+2
2014-09-18cgroup: use a per-cgroup work for release agentZefan Li1-7/+3
2014-09-18cgroup: remove some useless forward declarationsLi Zefan1-1/+0
2014-07-15cgroup: make CFTYPE_ONLY_ON_DFL and CFTYPE_NO_ internal to cgroup coreTejun Heo1-2/+4
2014-07-15cgroup: distinguish the default and legacy hierarchies when handling cftypesTejun Heo1-2/+7
2014-07-15cgroup: replace cgroup_add_cftypes() with cgroup_add_legacy_cftypes()Tejun Heo1-1/+1
2014-07-15cgroup: rename cgroup_subsys->base_cftypes to ->legacy_cftypesTejun Heo1-1/+1
2014-07-09cgroup: remove sane_behavior support on non-default hierarchiesTejun Heo1-71/+54
2014-07-09cgroup: remove CGRP_ROOT_OPTION_MASKTejun Heo1-3/+0
2014-07-08cgroup: implement cgroup_subsys->depends_onTejun Heo1-0/+9
2014-07-08cgroup: implement cgroup_subsys->css_reset()Tejun Heo1-0/+1
2014-07-08cgroup: make interface files visible iff enabled on cgroup->subtree_controlTejun Heo1-0/+2
2014-07-08cgroup: introduce cgroup->subtree_controlTejun Heo1-1/+7
2014-05-19cgroup: disallow debug controller on the default hierarchyTejun Heo1-0/+2
2014-05-16cgroup: implement css_tryget()Tejun Heo1-0/+18
2014-05-16cgroup: convert cgroup_has_live_children() into css_has_online_children()Tejun Heo1-0/+2
2014-05-16cgroup: use CSS_ONLINE instead of CGRP_DEADTejun Heo1-2/+0
2014-05-16cgroup: iterate cgroup_subsys_states directlyTejun Heo1-18/+26
2014-05-16cgroup: introduce CSS_RELEASED and reduce css iteration fallback windowTejun Heo1-0/+1
2014-05-16cgroup: move cgroup->serial_nr into cgroup_subsys_stateTejun Heo1-8/+8
2014-05-16cgroup: move cgroup->sibling and ->children into cgroup_subsys_stateTejun Heo1-7/+4
2014-05-16cgroup: remove cgroup->parentTejun Heo1-1/+0
2014-05-16cgroup: remove css_parent()Tejun Heo1-18/+11
2014-05-16cgroup: skip refcnting on normal root csses and cgrp_dfl_root self cssTejun Heo1-3/+8
2014-05-14cgroup: use cgroup->self.refcnt for cgroup refcntingTejun Heo1-6/+0
2014-05-14cgroup: enable refcnting for root cssesTejun Heo1-8/+2
2014-05-14cgroup: remove cgroup_destory_css_killed()Tejun Heo1-3/+0
2014-05-14cgroup: rename cgroup->dummy_css to ->self and move it to the topTejun Heo1-3/+3
2014-05-13cgroup: remove cgroup->control_knTejun Heo1-1/+0
2014-05-13cgroup: replace cftype->trigger() with cftype->write()Tejun Heo1-8/+0
2014-05-13cgroup: replace cftype->write_string() with cftype->write()Tejun Heo1-9/+1
2014-05-13cgroup: implement cftype->write()Tejun Heo1-4/+23
2014-05-13cgroup: rename css_tryget*() to css_tryget_online*()Tejun Heo1-7/+7
2014-05-13Merge branch 'for-3.15-fixes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Tejun Heo1-0/+15
2014-05-13Merge branch 'for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/p...Tejun Heo1-1/+1
2014-05-13cgroup: introduce task_css_is_root()Tejun Heo1-0/+15
2014-05-09percpu-refcount: rename percpu_ref_tryget() to percpu_ref_tryget_live()Tejun Heo1-1/+1
2014-05-07cgroup: remove unused CGRP_SANE_BEHAVIORTejun Heo1-2/+0
2014-05-04cgroup, memcg: implement css->id and convert css_from_id() to use itTejun Heo1-0/+9
2014-05-04cgroup, memcg: allocate cgroup ID from 1Tejun Heo1-2/+2
2014-05-04cgroup: make flags and subsys_masks unsigned intTejun Heo1-4/+4
2014-04-25cgroup: implement cgroup.populated for the default hierarchyTejun Heo1-0/+15
2014-04-23cgroup: implement dynamic subtree controller enable/disable on the default hi...Tejun Heo1-0/+5
2014-04-23cgroup: add css_set->dfl_cgrpTejun Heo1-0/+3
2014-04-23cgroup: teach css_task_iter about effective cssesTejun Heo1-0/+2
2014-04-23cgroup: reorganize css_task_iterTejun Heo1-3/+6
2014-04-23cgroup: implement cgroup->e_csets[]Tejun Heo1-0/+18
2014-04-23cgroup: update cgroup->subsys_mask to ->child_subsys_mask and restore cgroup_...Tejun Heo1-2/+5
2014-03-29cgroup: remove useless argument from cgroup_exit()Li Zefan1-2/+2
2014-03-19cgroup: implement CFTYPE_ONLY_ON_DFLTejun Heo1-0/+1
2014-03-19cgroup: make cgrp_dfl_root mountableTejun Heo1-0/+10
2014-03-19cgroup: drop const from @buffer of cftype->write_string()Tejun Heo1-1/+1
2014-03-19cgroup: rename cgroup_dummy_root and related namesTejun Heo1-7/+7
2014-03-19cgroup: move ->subsys_mask from cgroupfs_root to cgroupTejun Heo1-3/+3
2014-03-19cgroup: remove NULL checks from [pr_cont_]cgroup_{name|path}()Tejun Heo1-20/+4
2014-02-25cgroup: drop task_lock() protection around task->cgroupsTejun Heo1-2/+4
2014-02-25cgroup: split process / task migration into four stepsTejun Heo1-0/+1
2014-02-25cgroup: use css_set->mg_tasks to track target tasks during migrationTejun Heo1-0/+16
2014-02-25cgroup: add css_set->mg_tasksTejun Heo1-2/+6
2014-02-14cgroup: deal with dummp_top in cgroup_name() and cgroup_path()Li Zefan1-2/+10
2014-02-13cgroup: remove cgroup_taskset_cur_css() and cgroup_taskset_size()Tejun Heo1-3/+0
2014-02-13cgroup: drop @skip_css from cgroup_taskset_for_each()Tejun Heo1-6/+2
2014-02-13cgroup: remove css_scan_tasks()Tejun Heo1-6/+0
2014-02-13cgroup: implement cgroup_has_tasks() and unexport cgroup_task_count()Tejun Heo1-2/+6
2014-02-13cgroup: drop CGRP_ROOT_SUBSYS_BOUNDTejun Heo1-2/+0
2014-02-13cgroup: disallow xattr, release_agent and name if sane_behaviorTejun Heo1-3/+3
2014-02-12cgroup: remove cgroupfs_root->refcntTejun Heo1-3/+1
2014-02-12cgroup: rename cgroupfs_root->number_of_cgroups to ->nr_cgrps and make it ato...Tejun Heo1-2/+2
2014-02-12cgroup: remove cgroup->nameTejun Heo1-27/+36
2014-02-12cgroup: remove cftype_setTejun Heo1-17/+9