aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/cgroup
AgeCommit message (Expand)AuthorFilesLines
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
2022-08-23cgroup: Fix race condition at rebind_subsystems()Jing-Ting Wu1-0/+1
2022-08-17Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-5/+0
2022-08-17cgroup: Fix threadgroup_rwsem <-> cpus_read_lock() deadlockTejun Heo2-25/+55
2022-08-15sched/psi: Remove unused parameter nbytes of psi_trigger_create()Hao Jia1-1/+1
2022-08-15cgroup: Replace cgroup->ancestor_ids[] with ->ancestors[]Tejun Heo1-4/+3
2022-08-09cgroup: enable cgroup_get_from_file() on cgroup1Yosry Ahmed1-5/+0
2022-08-06Merge tag 'sched-urgent-2022-08-06' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+1
2022-08-03Merge tag 'cgroup-for-5.20' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds3-52/+102
2022-08-03sched, cpuset: Fix dl_cpu_busy() panic due to empty cs->cpus_allowedWaiman Long1-1/+1
2022-08-01Merge tag 'sched-core-2022-08-01' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-6/+38
2022-07-28cgroup: Skip subtree root in cgroup_update_dfl_csses()Waiman Long1-0/+9
2022-07-27cgroup: remove "no" prefixed mount optionsTejun Heo1-20/+4
2022-07-23cgroup: Make !percpu threadgroup_rwsem operations optionalTejun Heo3-8/+53
2022-07-22cgroup: Add "no" prefixed mount optionsTejun Heo1-5/+15
2022-07-22cgroup: Elide write-locking threadgroup_rwsem when updating csses on an empty...Tejun Heo1-3/+13
2022-07-04sched/core: add forced idle accounting for cgroupsJosh Don1-6/+38
2022-06-27cgroup.c: remove redundant check for mixable cgroup in cgroup_migrate_vet_dstLin Feng1-4/+0
2022-06-16cgroup: Use separate src/dst nodes when preloading css_sets for migrationTejun Heo1-14/+23
2022-06-16cgroup.c: add helper __cset_cgroup_from_root to cleanup duplicated codesLin Feng1-31/+27
2022-06-07psi: dont alloc memory for psi by defaultChen Wandun1-4/+4
2022-05-25Merge branch 'for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds2-3/+2
2022-05-19cgroup: remove the superfluous judgmentShida Zhang1-1/+1
2022-05-18cgroup: Make cgroup_debug staticXiu Jianfeng2-2/+1
2022-05-05cgroup/cpuset: Remove cpus_allowed/mems_allowed setup in cpuset_init_smp()Waiman Long1-2/+5
2022-03-28Merge tag 'driver-core-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-2/+2
2022-03-24Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-2/+11
2022-03-23cgroup: use irqsave in cgroup_rstat_flush_locked().Sebastian Andrzej Siewior1-2/+11
2022-03-23Merge branch 'for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds4-9/+10
2022-03-15Merge tag 'v5.17-rc8' into sched/core, to pick up fixesIngo Molnar3-7/+25
2022-03-13cgroup: cleanup commentsTom Rix2-6/+6
2022-02-28Merge 5.17-rc6 into driver-core-nextGreg Kroah-Hartman3-22/+96
2022-02-23kernfs: move struct kernfs_root out of the public view.Greg Kroah-Hartman1-2/+2
2022-02-22Merge branch 'for-5.17-fixes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds3-7/+25
2022-02-22cpuset: Fix kernel-docJiapeng Chong1-5/+5
2022-02-22cgroup-v1: Correct privileges check in release_agent writesMichal Koutný1-2/+4
2022-02-22cgroup: clarify cgroup_css_set_fork()Christian Brauner1-0/+14
2022-02-21Merge tag 'v5.17-rc5' into sched/core, to resolve conflictsIngo Molnar3-17/+73
2022-02-16sched/isolation: Use single feature type while referring to housekeeping cpumaskFrederic Weisbecker1-3/+3
2022-02-14cgroup/cpuset: Fix a race between cpuset_attach() and cpu hotplugZhang Qiao1-0/+2
2022-02-03Merge branch 'for-5.17-fixes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2-14/+65
2022-02-03cgroup/cpuset: Fix "suspicious RCU usage" lockdep warningWaiman Long1-0/+10
2022-02-01cgroup-v1: Require capabilities to set release_agentEric W. Biederman1-0/+14
2022-01-26cpuset: Fix the bug that subpart_cpus updated wrongly in update_cpumask()Tianchen Ding1-2/+1
2022-01-18psi: Fix uaf issue when psi trigger is destroyed while being polledSuren Baghdasaryan1-3/+8
2022-01-12cgroup/cpuset: Make child cpusets restrict parents on v1 hierarchyMichal Koutný1-12/+40
2022-01-12cgroup: Fix cgroup_can_fork() and cgroup_post_fork() kernel-doc commentYang Li1-0/+2
2022-01-12cgroup: rstat: retrieve current bstat to delta directlyWei Yang1-3/+2
2022-01-12cgroup: rstat: use same convention to assign cgroup_base_statWei Yang1-1/+1
2022-01-11Merge branch 'for-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds3-42/+31
2022-01-10Merge tag '5.17-net-next' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-0/+1
2022-01-07cpuset: convert 'allowed' in __cpuset_node_allowed() to be booleanQi Zheng1-1/+1
2022-01-06cgroup/rstat: check updated_next only for rootWei Yang1-24/+23
2022-01-06cgroup: rstat: explicitly put loop variant in whileWei Yang1-3/+1
2022-01-06cgroup: Use open-time cgroup namespace for process migration perm checksTejun Heo2-9/+21
2022-01-06cgroup: Allocate cgroup_file_ctx for kernfs_open_file->privTejun Heo3-31/+65
2022-01-06cgroup: Use open-time credentials for process migraton perm checksTejun Heo2-4/+12
2021-12-16add missing bpf-cgroup.h includesJakub Kicinski1-0/+1
2021-12-14cgroup: return early if it is already on preloaded listWei Yang1-2/+2
2021-12-13cgroup/cpuset: Don't let child cpusets restrict parent in default hierarchyWaiman Long1-11/+3
2021-11-29cgroup: get the wrong css for css_alloc() during cgroup_init_subsys()Wei Yang1-1/+1
2021-11-15cgroup: rstat: Mark benign data race to silence KCSANMichal Koutný1-1/+1
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-0/+23
2021-11-06mm/page_alloc: detect allocation forbidden by cpuset and bail out earlyFeng Tang1-0/+23
2021-11-02Merge branch 'for-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds4-86/+84
2021-11-01cgroup: bpf: Move wrapper for __cgroup_bpf_*() to kernel/bpf/cgroup.cHe Fengqing1-38/+0
2021-11-01cgroup: Fix rootcg cpu.stat guest double countingDan Schatzberg1-2/+0
2021-10-25cgroup: no need for cgroup_mutex for /proc/cgroupsShakeel Butt1-5/+2
2021-10-25cgroup: remove cgroup_mutex from cgroupstats_buildShakeel Butt1-5/+2
2021-10-25cgroup: reduce dependency on cgroup_mutexShakeel Butt1-22/+29
2021-10-22cgroup: Fix memory leak caused by missing cgroup_bpf_offlineQuanyang Wang1-1/+3
2021-10-11Merge branch 'for-5.15-fixes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-27/+29
2021-10-05cgroup: cgroup-v1: do not exclude cgrp_dfl_rootVishal Verma1-3/+0
2021-09-28bpf, cgroup: Assign cgroup in cgroup_sk_alloc when called from interruptDaniel Borkmann1-5/+12
2021-09-20cgroup: Make rebind_subsystems() disable v2 controllers all at onceWaiman Long1-4/+27
2021-09-20misc_cgroup: remove error log to avoid log floodChunguang Xu1-7/+0
2021-09-20misc_cgroup: introduce misc.events to count failuresChunguang Xu1-0/+24
2021-09-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfDavid S. Miller1-40/+10
2021-09-13bpf, cgroups: Fix cgroup v2 fallback on v1/v2 mixed modeDaniel Borkmann1-40/+10
2021-09-13cgroup/cpuset: Change references of cpuset_mutex to cpuset_rwsemWaiman Long1-27/+29
2021-09-03Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+1
2021-09-03memcg: enable accounting for new namesapces and struct nsproxyVasily Averin1-1/+1
2021-08-31Merge branch 'for-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds3-64/+133
2021-08-30Merge tag 'sched-core-2021-08-30' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-20/+39
2021-08-30cgroup: Avoid compiler warnings with no subsystemsKees Cook1-6/+20
2021-08-25cgroup/cpuset: Avoid memory migration when nodemasks matchNicolas Saenz Julienne1-0/+5
2021-08-20cpuset: Cleanup cpuset_cpus_allowed_fallback() use in select_fallback_rq()Will Deacon1-2/+8
2021-08-20cpuset: Honour task_cpu_possible_mask() in guarantee_online_cpus()Will Deacon1-17/+26
2021-08-20cpuset: Don't use the cpu_possible_mask as a last resort for cgroup v1Will Deacon1-2/+6
2021-08-12cgroup/cpuset: Enable memory migration for cpuset v2Waiman Long1-1/+5
2021-08-11cgroup/cpuset: Enable event notification when partition state changesWaiman Long1-11/+35
2021-08-11cgroup: cgroup-v1: clean up kernel-doc notationRandy Dunlap1-1/+7
2021-08-09cgroup: Replace deprecated CPU-hotplug functions.Sebastian Andrzej Siewior1-15/+15
2021-08-09cgroup/cpuset: Fix violation of cpuset locking ruleWaiman Long1-23/+35
2021-07-27cgroup: rstat: fix A-A deadlock on 32bit around u64_stats_syncTejun Heo1-8/+11
2021-07-26cgroup/cpuset: Fix a partition bug with hotplugWaiman Long1-0/+7
2021-07-26cgroup/cpuset: Miscellaneous code cleanupWaiman Long1-21/+19
2021-07-21cgroup1: fix leaked context root causing sporadic NULL deref in LTPPaul Gortmaker1-3/+1
2021-07-16cgroup: remove cgroup_mount from commentszhaoxiaoqiang111-1/+0
2021-07-14fs: add vfs_parse_fs_param_source() helperChristian Brauner1-9/+5
2021-07-14cgroup: verify that source is a stringChristian Brauner1-0/+2
2021-07-02Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-0/+25
2021-07-01Merge branch 'for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds2-17/+165
2021-06-29Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-0/+1
2021-06-29loop: charge i/o to mem and blk cgDan Schatzberg1-0/+1
2021-06-18sched: Change task_struct::statePeter Zijlstra1-1/+1
2021-06-10scsi: cgroup: Add cgroup_get_from_id()Muneendra Kumar1-0/+26
2021-06-10cgroup1: don't allow '\n' in renamingAlexander Kuznetsov1-0/+4
2021-06-08cgroup: make per-cgroup pressure stall tracking configurableSuren Baghdasaryan1-0/+48
2021-06-04cgroup: Fix kernel-docYang Li2-2/+2
2021-05-24Merge branch 'for-5.13-fixes' into for-5.14Tejun Heo5-16/+13
2021-05-24cgroup: fix spelling mistakesZhen Lei5-8/+8
2021-05-20cgroup: disable controllers at parse timeShakeel Butt1-8/+5
2021-05-10cgroup: inline cgroup_task_freeze()Roman Gushchin1-1/+2
2021-05-10cgroup: introduce cgroup.killChristian Brauner1-14/+113
2021-04-30cgroup: rstat: punt root-level optimization to individual controllersJohannes Weiner1-25/+36
2021-04-30cgroup: rstat: support cgroup1Johannes Weiner2-15/+21
2021-04-16cgroup: use tsk->in_iowait instead of delayacct_is_task_waiting_on_io()Chunguang Xu1-1/+1
2021-04-12cgroup/cpuset: fix typos in commentsLu Jialin1-3/+3
2021-04-04svm/sev: Register SEV and SEV-ES ASIDs to the misc controllerVipin Sharma1-0/+6
2021-04-04cgroup: Add misc cgroup controllerVipin Sharma2-0/+402
2021-02-23Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2021-02-22Merge branch 'for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds2-44/+17
2021-01-24namei: make permission helpers idmapped mount awareChristian Brauner1-1/+1
2021-01-19cgroup: fix psi monitor for root cgroupOdin Ugedal1-1/+3
2021-01-15cpuset: fix typos in commentsAubrey Li1-3/+3