aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/cgroup
AgeCommit message (Expand)AuthorFilesLines
2022-09-23cgroup: cgroup_get_from_id() must check the looked-up kn is a directoryMing Lei1-1/+4
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-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-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
2021-01-15cgroup: cgroup.{procs,threads} factor out common partsMichal Koutný1-41/+14
2021-01-15cgroup-v1: add disabled controller check in cgroup1_parse_param()Chen Zhou1-0/+3
2020-12-28Merge branch 'for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds2-15/+17
2020-12-16cgroup: Fix memory leak when parsing multiple source parametersQinglang Miao1-0/+2
2020-12-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-12/+0
2020-12-15cgroup: remove obsoleted broken_hierarchy and warned_broken_hierarchyRoman Gushchin1-7/+0
2020-12-15mm: memcg: deprecate the non-hierarchical modeRoman Gushchin1-5/+0
2020-12-14Merge tag 'sched-core-2020-12-14' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-5/+28
2020-12-14Merge tag 'fixes-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/brau...Linus Torvalds2-2/+2
2020-11-25cgroup/cgroup.c: replace 'of->kn->priv' with of_cft()Hui Su1-4/+4
2020-11-25kernel: cgroup: Mundane spelling fixes throughout the fileBhaskar Chowdhury1-11/+11
2020-11-19cpuset: fix race between hotplug work and later CPU offlineDaniel Jordan1-5/+28
2020-10-16kernel/: fix repeated words in commentsRandy Dunlap1-1/+1
2020-09-30cgroup: Zero sized write should be no-opJouni Roivas1-0/+3
2020-09-30cgroup: remove redundant kernfs_activate in cgroup_setup_root()Wei Yang1-1/+0
2020-08-19cgroup: Use generic ns_common::countKirill Tkhai2-2/+2
2020-08-03Merge tag 'for-5.9/block-20200802' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+0
2020-07-07cgroup: fix cgroup_sk_alloc() for sk_clone_lock()Cong Wang1-12/+19
2020-06-29cgroup: unexport cgroup_rstat_updatedChristoph Hellwig1-1/+0
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-2/+2
2020-06-06Merge branch 'for-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cg...Linus Torvalds2-17/+53
2020-06-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds1-27/+0
2020-06-03Merge tag 'threads-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/bra...Linus Torvalds1-2/+3
2020-05-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-13/+3
2020-05-28cgroup: add cpu.stat file to root cgroupBoris Burkov2-9/+52
2020-05-26cgroup: Remove stale commentsZefan Li1-8/+1
2020-05-09nsproxy: add struct nssetChristian Brauner1-2/+3
2020-04-28bpf: Refactor bpf_link update handlingAndrii Nakryiko1-27/+0
2020-04-09Revert "cgroup: Add memory barriers to plug cgroup_rstat_updated() race window"Tejun Heo1-13/+3
2020-04-03Merge branch 'for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cg...Linus Torvalds4-114/+304
2020-04-03docs: cgroup-v1: Document the cpuset_v2_mode mount optionWaiman Long1-2/+6
2020-04-03Revert "cpuset: Make cpuset hotplug synchronous"Tejun Heo1-19/+12
2020-04-02mm: memcontrol: recursive memory.low protectionJohannes Weiner1-1/+16
2020-03-30bpf: Implement bpf_prog replacement for an active bpf_cgroup_linkAndrii Nakryiko1-0/+27
2020-03-30bpf: Implement bpf_link-based cgroup BPF program attachmentAndrii Nakryiko1-5/+9
2020-03-16cgroupfs: Support user xattrsDaniel Xu1-1/+2
2020-03-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netLinus Torvalds1-0/+4
2020-03-12cgroup: Restructure release_agent_path handlingTejun Heo1-17/+17
2020-03-12Merge branch 'for-5.6-fixes' into for-5.7Tejun Heo2-4/+4
2020-03-10cgroup: memcg: net: do not associate sock with unrelated cgroupShakeel Butt1-0/+4
2020-03-04cgroup1: don't call release_agent when it is ""Tycho Andersen1-1/+1
2020-03-04cgroup: fix psi_show() crash on 32bit ino archsQian Cai1-3/+3
2020-02-12clone3: allow spawning processes into cgroupsChristian Brauner2-27/+179
2020-02-12cgroup: add cgroup_may_write() helperChristian Brauner1-7/+17
2020-02-12cgroup: refactor fork helpersChristian Brauner1-18/+26
2020-02-12cgroup: add cgroup_get_from_file() helperChristian Brauner1-11/+19
2020-02-12cgroup: unify attach permission checkingChristian Brauner1-14/+25
2020-02-12cpuset: Make cpuset hotplug synchronousPrateek Sood1-12/+19
2020-02-12cgroup.c: Use built-in RCU list checkingMadhuparna Bhowmik1-1/+2
2020-02-12cgroup: Clean up css_set task traversalMichal Koutný1-33/+28
2020-02-12cgroup: Iterate tasks that did not finish do_exit()Michal Koutný1-7/+16
2020-02-12cgroup: cgroup_procs_next should increase position indexVasily Averin1-3/+7
2020-02-12cgroup-v1: cgroup_pidlist_next should update position indexVasily Averin1-0/+1
2020-02-10Merge branch 'for-5.6-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-5/+8
2020-02-08Merge branch 'merge.nfs-fs_parse.1' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds3-32/+20
2020-02-07cgroup1: switch to use of errorfc() et.al.Al Viro1-12/+12
2020-02-07fs_parse: fold fs_parameter_desc/fs_parameter_specAl Viro3-16/+8
2020-02-07fs_parser: remove fs_parameter_description name fieldEric Sandeen2-2/+0
2020-02-07get rid of cg_invalf()Al Viro1-14/+12
2020-01-30cgroup: init_tasks shouldn't be linked to the root cgroupTejun Heo1-5/+8
2020-01-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds1-2/+3
2020-01-15cgroup: Prevent double killing of css when enabling threaded cgroupMichal Koutný1-5/+6
2020-01-15cgroup: fix function name in commentChen Zhou1-1/+1
2019-12-19bpf: Support replacing cgroup-bpf program in MULTI modeAndrey Ignatov1-2/+3
2019-11-25Merge branch 'for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cg...Linus Torvalds7-255/+148
2019-11-15Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-2/+3
2019-11-14cgroup: fix incorrect WARN_ON_ONCE() in cgroup_setup_root()Tejun Heo1-1/+1
2019-11-12cgroup: use cgrp->kn->id as the cgroup IDTejun Heo1-51/+25
2019-11-12kernfs: combine ino/id lookup functions into kernfs_find_and_get_node_by_id()Tejun Heo1-1/+1
2019-11-12kernfs: convert kernfs_node->id from union kernfs_node_id to u64Tejun Heo1-2/+1
2019-11-10cgroup: don't put ERR_PTR() into fc->rootAl Viro1-2/+3
2019-11-07cgroup: freezer: don't change task and cgroups status unnecessarilyHonglei Wang1-0/+9
2019-11-06cgroup: use cgroup->last_bstat instead of cgroup->bstat_pending for consistencyTejun Heo1-21/+25
2019-10-29sched/topology: Don't try to build empty sched domainsValentin Schneider1-1/+2
2019-10-25cgroup: remove cgroup_enable_task_cg_lists() optimizationTejun Heo2-147/+39
2019-10-24cgroup: pids: use atomic64_t for pids->limitAleksa Sarai1-5/+6