aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/cgroup
AgeCommit message (Expand)AuthorFilesLines
2024-03-12Merge tag 'net-next-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-2/+2
2024-03-11Merge tag 'cgroup-for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-0/+1
2024-03-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+4
2024-02-29cgroup/cpuset: Fix retval in update_cpumask()Kamalesh Babulal1-1/+1
2024-02-29cgroup/cpuset: Mark memory_spread_slab as obsoleteXiongwei Song1-0/+1
2024-02-28cgroup/cpuset: Fix a memory leak in update_exclusive_cpumask()Waiman Long1-3/+3
2024-01-31bpf: treewide: Annotate BPF kfuncs in BTFDaniel Xu1-2/+2
2024-01-18Merge tag 'driver-core-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds3-31/+8
2024-01-08Merge tag 'cgroup-for-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds5-144/+386
2023-12-15kernfs: Convert kernfs_path_from_node_locked() from strlcpy() to strscpy()Kees Cook3-4/+4
2023-12-15kernel/cgroup: use kernfs_create_dir_ns()Max Kellermann1-27/+4
2023-12-07Merge tag 'cgroup-for-6.7-rc4-fixes' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+7
2023-12-06cgroup/cpuset: Include isolated cpuset CPUs in cpu_is_isolated() checkWaiman Long1-0/+11
2023-12-01cgroup/rstat: Optimize cgroup_rstat_updated_list()Waiman Long1-62/+91
2023-11-28cgroup_freezer: cgroup_freezing: Check if not frozenTim Van Patten1-1/+7
2023-11-28cgroup/cpuset: Expose cpuset.cpus.isolatedWaiman Long1-1/+1
2023-11-14sched: psi: fix unprivileged polling against cgroupsJohannes Weiner1-12/+0
2023-11-12cgroup/rstat: Reduce cpu_lock hold time in cgroup_rstat_flush_locked()Waiman Long1-15/+28
2023-11-12cgroup/cpuset: Take isolated CPUs out of workqueue unbound cpumaskWaiman Long1-20/+96
2023-11-12cgroup/cpuset: Keep track of CPUs in isolated partitionsWaiman Long1-63/+127
2023-11-09Merge tag 'net-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds1-6/+3
2023-11-09cgroup: Add a new helper for cgroup1 hierarchyYafang Shao2-1/+34
2023-11-09cgroup: Add annotation for holding namespace_sem in current_cgns_cgroup_from_...Yafang Shao1-0/+5
2023-11-09cgroup: Eliminate the need for cgroup_mutex in proc_cgroup_show()Yafang Shao1-5/+7
2023-11-09cgroup: Make operations on the cgroup root_list RCU safeYafang Shao2-8/+18
2023-11-09cgroup: Remove unnecessary list_empty()Yafang Shao1-4/+3
2023-11-02Merge tag 'mm-stable-2023-11-01-14-33' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+14
2023-11-01bpf: Add __bpf_hook_{start,end} macrosDave Marchevsky1-6/+3
2023-10-31Merge tag 'net-next-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-6/+12
2023-10-30Merge tag 'cgroup-for-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds2-335/+1001
2023-10-26Merge tag 'for-netdev' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/...Jakub Kicinski1-6/+12
2023-10-19cgroup: Prepare for using css_task_iter_*() in BPFChuyi Zhou1-6/+12
2023-10-18hugetlb: memcg: account hugetlb-backed memory in memory controllerNhat Pham1-1/+14
2023-10-09cgroup: use legacy_name for cgroup v1 disable infoKamalesh Babulal1-1/+1
2023-10-09cgroup: Remove duplicates in cgroup v1 tasks fileMichal Koutný1-3/+2
2023-10-04cgroup/cpuset: Cleanup signedness issue in cpu_exclusive_check()Harshit Mogalapalli1-7/+7
2023-10-04cgroup/cpuset: Enable invalid to valid local partition transitionWaiman Long1-31/+48
2023-10-04cgroup: add cgroup_favordynmods= command-line optionLuiz Capitulino1-4/+14
2023-09-18cgroup/cpuset: Check partition conflict with housekeeping setupWaiman Long1-0/+31
2023-09-18cgroup/cpuset: Introduce remote partitionWaiman Long1-29/+306
2023-09-18cgroup/cpuset: Add cpuset.cpus.exclusive for v2Waiman Long1-34/+239
2023-09-18cgroup/cpuset: Add cpuset.cpus.exclusive.effective for v2Waiman Long1-307/+421
2023-09-18cgroup/cpuset: Fix load balance state in update_partition_sd_lb()Waiman Long1-1/+11
2023-09-18cgroup: Avoid extra dereference in css_populate_dir()Kamalesh Babulal1-2/+2
2023-09-18cgroup: Check for ret during cgroup1_base_files cft additionKamalesh Babulal1-2/+4
2023-09-02cgroup: fix build when CGROUP_SCHED is not enabledLinus Torvalds1-14/+14
2023-09-01Merge tag 'cgroup-for-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds6-181/+243
2023-08-17cgroup: Avoid -Wstringop-overflow warningsGustavo A. R. Silva1-2/+2
2023-08-14cgroup:namespace: Remove unused cgroup_namespaces_init()Lu Jialin1-6/+0
2023-08-07cgroup/rstat: Record the cumulative per-cpu time of cgroup and its descendantsHao Jia1-2/+10
2023-08-07cgroup: clean up if condition in cgroup_pidlist_start()Miaohe Lin1-1/+1
2023-08-03cgroup: fix obsolete function name in cgroup_destroy_locked()Miaohe Lin1-1/+1
2023-08-02cgroup: fix obsolete function name above css_free_rwork_fn()Miaohe Lin1-1/+1
2023-08-02cgroup/cpuset: fix kernel-docCai Xinchen1-0/+2
2023-08-02cgroup: clean up printk()Kamalesh Babulal1-2/+2
2023-07-21cgroup: fix obsolete comment above cgroup_create()Miaohe Lin1-2/+1
2023-07-21cgroup/misc: Store atomic64_t reads to u64Haitao Huang1-1/+1
2023-07-19Merge tag 'v6.5-rc2' into sched/core, to pick up fixesIngo Molnar1-1/+1
2023-07-18cgroup/misc: Change counters to be explicit 64bit typesHaitao Huang1-28/+27
2023-07-17cgroup: remove cgrp->kn check in css_populate_dir()Kamalesh Babulal1-1/+1
2023-07-17cgroup: fix obsolete function nameMiaohe Lin1-1/+1
2023-07-17cgroup: use cached local variable parent in for loopMiaohe Lin1-1/+1
2023-07-13sched: add throttled time stat for throttled childrenJosh Don1-0/+34
2023-07-11cgroup: put cgroup_tryget_css() inside CONFIG_CGROUP_SCHEDMiaohe Lin1-22/+22
2023-07-10cgroup/cpuset: Allow suppression of sched domain rebuild in update_cpumasks_h...Waiman Long1-8/+16
2023-07-10cgroup/cpuset: Improve temporary cpumasks handlingWaiman Long1-29/+13
2023-07-10cgroup/cpuset: Extract out CS_CPU_EXCLUSIVE & CS_SCHED_LOAD_BALANCE handlingWaiman Long1-55/+86
2023-07-10cgroup/cpuset: Inherit parent's load balance state in v2Waiman Long1-3/+30
2023-07-10cgroup: fix obsolete comment above for_each_css()Miaohe Lin1-1/+1
2023-07-10cpuset: Allow setscheduler regardless of manipulated taskMichal Koutný1-3/+16
2023-07-10cgroup/cpuset: avoid unneeded cpuset_mutex re-lockMiaohe Lin1-5/+4
2023-07-10cgroup/cpuset: simplify the percpu kthreads check in update_tasks_cpumask()Miaohe Lin1-1/+1
2023-07-10cgroup: minor cleanup for cgroup_extra_stat_show()Miaohe Lin1-4/+5
2023-07-10cgroup: remove unneeded return value of cgroup_rm_cftypes_locked()Miaohe Lin1-6/+3
2023-07-10sched/psi: use kernfs polling functions for PSI trigger pollingSuren Baghdasaryan1-1/+1
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-21/+5
2023-06-27Merge tag 'cgroup-for-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds6-176/+172
2023-06-27Merge tag 'sched-core-2023-06-27' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+12
2023-06-22Revert "cgroup: Avoid -Wstringop-overflow warnings"Tejun Heo1-6/+0
2023-06-21cgroup/misc: Expose misc.current on cgroup v2 rootLeiZhou-971-1/+0
2023-06-21cgroup: Avoid -Wstringop-overflow warningsGustavo A. R. Silva1-0/+6
2023-06-21cgroup: remove obsolete comment on cgroup_on_dfl()Miaohe Lin1-2/+0
2023-06-12cgroup: Do not corrupt task iteration when rebinding subsystemXiu Jianfeng1-3/+17
2023-06-12cgroup: remove unused task_cgroup_path()Miaohe Lin1-39/+0
2023-06-12cgroup/cpuset: remove unneeded header filesMiaohe Lin1-2/+0
2023-06-12cgroup,freezer: hold cpu_hotplug_lock before freezer_mutex in freezer_css_{on...Tetsuo Handa1-2/+6
2023-06-09cgroup: remove cgroup_rstat_flush_atomic()Yosry Ahmed1-21/+5
2023-06-05cgroup: make cgroup_is_threaded() and cgroup_is_thread_root() staticMiaohe Lin2-4/+2
2023-06-05rdmacg: fix kernel-doc warnings in rdmacgGaosheng Cui1-0/+2
2023-06-05cgroup: Replace the css_set call with cgroup_getGaosheng Cui1-1/+1
2023-06-05cgroup: remove unused macro for_each_e_css()Miaohe Lin1-15/+0
2023-05-24cgroup: Update out-of-date comment in cgroup_migrate()Xiu Jianfeng1-3/+3
2023-05-22cgroup: always put cset in cgroup_css_set_put_forkJohn Sperbeck1-9/+8
2023-05-22cgroup: Replace all non-returning strlcpy with strscpyAzeem Shaikh1-2/+2
2023-05-22cgroup: fix missing cpus_read_{lock,unlock}() in cgroup_transfer_tasks()Qi Zheng1-2/+2
2023-05-20cgroup/cpuset: remove unneeded header filesMiaohe Lin1-21/+0
2023-05-08cgroup/cpuset: Free DL BW in case can_attach() failsDietmar Eggemann1-5/+48
2023-05-08cgroup/cpuset: Iterate only if DEADLINE tasks are presentJuri Lelli1-0/+3
2023-05-08sched/cpuset: Keep track of SCHED_DEADLINE task in cpusetsJuri Lelli2-0/+29
2023-05-08sched/cpuset: Bring back cpuset_mutexJuri Lelli1-79/+80
2023-05-08cgroup/cpuset: Rename functions dealing with DEADLINE accountingJuri Lelli1-4/+4
2023-05-08psi: remove 500ms min window size limitation for triggersSuren Baghdasaryan1-0/+12
2023-04-29Merge tag 'cgroup-for-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds3-49/+57
2023-04-28Merge tag 'sched-core-2023-04-27' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+2
2023-04-26Merge tag 'net-next-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-2/+12
2023-04-24Merge tag 'pull-fd' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-6/+4
2023-04-21Merge branch 'v6.3-rc7'Peter Zijlstra3-39/+150
2023-04-20cgroup_get_from_fd(): switch to fdget_raw()Al Viro1-6/+4
2023-04-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-39/+150
2023-04-18cgroup: rename cgroup_rstat_flush_"irqsafe" to "atomic"Yosry Ahmed1-2/+2
2023-04-12cgroup/cpuset: Make cpuset_attach_task() skip subpartitions CPUs for top_cpusetWaiman Long1-1/+2
2023-04-12cgroup/cpuset: Add cpuset_can_fork() and cpuset_cancel_fork() methodsWaiman Long1-11/+86
2023-04-12cgroup/cpuset: Make cpuset_fork() handle CLONE_INTO_CGROUP properlyWaiman Long1-20/+42
2023-04-12cgroup/cpuset: Wake up cpuset_attach_wq tasks in cpuset_cancel_attach()Waiman Long1-1/+5
2023-04-12cgroup,freezer: hold cpu_hotplug_lock before freezer_mutexTetsuo Handa1-2/+5
2023-04-05sched/psi: Allow unprivileged polling of N*2s periodDomenico Cerasuolo1-1/+1
2023-03-29cgroup/cpuset: Include offline CPUs when tasks' cpumasks in top_cpuset are up...Waiman Long1-9/+14
2023-03-29cgroup/cpuset: Skip task update if hotplug doesn't affect current cpusetWaiman Long1-0/+3
2023-03-29Merge branch 'for-6.3-fixes' into for-6.4Tejun Heo2-5/+11
2023-03-29cgroup/cpuset: Fix partition root's cpuset.cpus update bugWaiman Long1-2/+10
2023-03-23cpuset: Clean up cpuset_node_allowedHaifeng Xu1-2/+2
2023-03-17cgroup: fix display of forceidle time at rootJosh Don1-3/+1
2023-03-17cgroup: bpf: use cgroup_lock()/cgroup_unlock() wrappersKamalesh Babulal2-38/+38
2023-03-14cgroup: Make current_cgns_cgroup_dfl() safe to call after exit_task_namespace()Tejun Heo1-2/+12
2023-02-21Merge tag 'net-next-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-2/+2
2023-02-21Merge tag 'cgroup-for-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-7/+8
2023-02-20Merge tag 'fs.idmapped.v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2023-02-10Daniel Borkmann says:Jakub Kicinski1-2/+2
2023-02-06cpuset: Call set_cpus_allowed_ptr() with appropriate mask for taskWill Deacon1-7/+11
2023-02-06cgroup/cpuset: Don't filter offline CPUs in cpuset_cpus_allowed() for top cpu...Waiman Long1-2/+25
2023-02-02bpf: Add __bpf_kfunc tag to all kfuncsDavid Vernet1-2/+2
2023-01-31cgroup/cpuset: Fix wrong check in update_parent_subparts_cpumask()Waiman Long1-1/+2
2023-01-19fs: port ->permission() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-10cgroup/cpuset: fix a few kernel-doc warnings & coding styleRandy Dunlap1-5/+8
2023-01-04cgroup/cpuset: no need to explicitly init a global static variableDaniel Vacek1-2/+0
2022-12-13Merge tag 'mm-stable-2022-12-13' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-6/+1
2022-12-13Merge tag 'net-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-0/+1
2022-12-12Merge tag 'cgroup-for-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds2-11/+45
2022-12-09Merge branch 'mm-hotfixes-stable' into mm-stableAndrew Morton1-1/+0
2022-12-09memcg: fix possible use-after-free in memcg_write_event_control()Tejun Heo1-1/+0
2022-12-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+0
2022-12-08memcg: Fix possible use-after-free in memcg_write_event_control()Tejun Heo1-1/+0
2022-11-23cgroup: remove rcu_read_lock()/rcu_read_unlock() in critical section of spin_...Ran Tian1-2/+0
2022-11-22cgroup/cpuset: Improve cpuset_css_alloc() descriptionKamalesh Babulal1-4/+8
2022-11-14cgroup/cpuset: Optimize cpuset_attach() on v2Waiman Long1-1/+23
2022-11-14cgroup/cpuset: Skip spread flags update on v2Waiman Long1-4/+8
2022-11-08memory: move hotplug memory notifier priority to same file for easy sortingLiu Shixin1-1/+1
2022-11-08cgroup/cpuset: use hotplug_memory_notifier() directlyLiu Shixin1-6/+1
2022-11-02Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-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-0/+5
2022-10-25bpf: Implement cgroup storage available to non-cgroup-attached bpf progsYonghong Song1-0/+1
2022-10-17Merge tag 'cgroup-for-6.1-rc1-fixes' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-20/+79
2022-10-14Merge tag 'sched-psi-2022-10-14' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-9/+95
2022-10-11mm: cgroup: fix comments for get from fd/file helpersYosry Ahmed1-1/+3
2022-10-11cgroup: add cgroup_v1v2_get_from_[fd/file]()Yosry Ahmed1-6/+44
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+0
2022-10-10Revert "cgroup: enable cgroup_get_from_file() on cgroup1"Tejun Heo1-0/+5
2022-10-10cgroup: Reorganize css_set_lock and kernfs path processingMichal Koutný1-13/+27
2022-10-10Merge tag 'cgroup-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds5-342/+663
2022-10-10Merge tag 'sched-core-2022-10-07' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-15/+8
2022-10-07Merge tag 'driver-core-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+20
2022-09-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+4
2022-09-26mm: multi-gen LRU: kill switchYu Zhao1-1/+0
2022-09-23cgroup: use strscpy() is more robust and saferye xingchen1-1/+1
2022-09-23cgroup: simplify code in cgroup_apply_controlWilliam Dean1-5/+1
2022-09-23cgroup: Make cgroup_get_from_id() prettierTejun Heo1-9/+10
2022-09-23Merge branch 'for-6.0-fixes' into for-6.1Tejun Heo1-0/+4
2022-09-23cgroup: cgroup_get_from_id() must check the looked-up kn is a directoryMing Lei1-1/+4
2022-09-12Merge 6.0-rc5 into driver-core-nextGreg Kroah-Hartman3-26/+59
2022-09-09sched/psi: Per-cgroup PSI accounting disable/re-enable interfaceChengming Zhou1-6/+64
2022-09-09sched/psi: Consolidate cgroup_psi()Chengming Zhou1-5/+5
2022-09-09sched/psi: Add PSI_IRQ to track IRQ/SOFTIRQ pressureChengming Zhou1-0/+27
2022-09-09sched/psi: Don't create cgroup PSI files when psi_disabledChengming Zhou1-0/+3
2022-09-09Merge branch 'driver-core/driver-core-next'Peter Zijlstra1-0/+20
2022-09-07freezer,sched: Rewrite core freezer logicPeter Zijlstra1-15/+8
2022-09-07cgroup/cpuset: remove unreachable codeJiapeng Chong1-2/+0
2022-09-06Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextPaolo Abeni1-0/+48
2022-09-06cgroup: Remove CFTYPE_PRESSURETejun Heo1-27/+37
2022-09-06cgroup: Improve cftype add/rm error handlingTejun Heo1-7/+20
2022-09-04cgroup/cpuset: Make partition invalid if cpumask change violates exclusivity ...Waiman Long1-9/+60
2022-09-04cgroup/cpuset: Relocate a code block in validate_change()Waiman Long1-16/+16
2022-09-04cgroup/cpuset: Show invalid partition reason stringWaiman Long1-18/+75
2022-09-04cgroup/cpuset: Add a new isolated cpus.partition typeWaiman Long1-11/+63
2022-09-04cgroup/cpuset: Relax constraints to partition & cpus changesWaiman Long1-194/+215
2022-09-04cgroup/cpuset: Allow no-task partition to have empty cpuset.cpus.effectiveWaiman Long1-25/+84
2022-09-04cgroup/cpuset: Miscellaneous cleanups & add helper functionsWaiman Long1-79/+90
2022-09-04cgroup/cpuset: Enable update_tasks_cpumask() on top_cpusetWaiman Long1-7/+11
2022-09-04cgroup: add pids.peak interface for pids controllerJosh Don1-2/+35
2022-09-04cgroup: Remove data-race around cgrp_dfl_visibleTejun Heo1-2/+2
2022-09-01cgroup: Implement cgroup_file_show()Tejun Heo1-0/+20
2022-08-26cgroup: Use cgroup_attach_{lock,unlock}() from cgroup_attach_task_all()Tetsuo Handa3-6/+6
2022-08-26Merge branch 'for-6.0-fixes' into for-6.1Tejun Heo3-26/+59
2022-08-26cgroup: Homogenize cgroup_get_from_id() return valueMichal Koutný1-2/+2
2022-08-26cgroup: cgroup: Honor caller's cgroup NS when resolving cgroup idMichal Koutný1-2/+13
2022-08-26cgroup: Honor caller's cgroup NS when resolving pathMichal Koutný1-1/+5
2022-08-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-26/+59
2022-08-25cgroup: bpf: enable bpf programs to integrate with rstatYosry Ahmed1-0/+48
2022-08-25cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()Tetsuo Handa1-0/+2