aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/cgroup.c
AgeCommit message (Expand)AuthorFilesLines
2012-03-29cgroup: cgroup_attach_task() could return -errno after successTejun Heo1-1/+1
2012-03-22Merge branch 'akpm' (Andrew's patch-bomb)Linus Torvalds1-10/+9
2012-03-21memcg: let css_get_next() rely upon rcu_read_lock()Hugh Dickins1-3/+2
2012-03-21cgroup: revert ss_id_lock to spinlockHugh Dickins1-9/+9
2012-03-21Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-6/+2
2012-03-20switch open-coded instances of d_make_root() to new helperAl Viro1-6/+2
2012-02-21cgroup: Walk task list under tasklist_lock in cgroup_enable_task_cg_listFrederic Weisbecker1-0/+20
2012-02-21cgroup: Remove wrong comment on cgroup_enable_task_cg_list()Frederic Weisbecker1-3/+0
2012-02-02cgroup: remove cgroup_subsys argument from callbacksLi Zefan1-22/+21
2012-01-30cgroup: remove extra calls to find_existing_css_setMandeep Singh Baines1-113/+27
2012-01-20cgroup: replace tasklist_lock with rcu_read_lockMandeep Singh Baines1-3/+7
2012-01-20cgroup: simplify double-check locking in cgroup_attach_procMandeep Singh Baines1-50/+29
2012-01-20cgroup: move struct cgroup_pidlist out from the header fileLi Zefan1-0/+32
2012-01-09Merge branch 'for-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cg...Linus Torvalds1-170/+231
2012-01-06vfs: switch ->show_options() to struct dentry *Al Viro1-2/+2
2012-01-05cgroup: fix to allow mounting a hierarchy by nameLi Zefan1-3/+3
2012-01-04cgroup: move assignement out of condition in cgroup_attach_proc()Dan Carpenter1-2/+5
2012-01-03cgroup: propagate mode_tAl Viro1-7/+7
2012-01-03switch vfs_mkdir() and ->mkdir() to umode_tAl Viro1-2/+2
2011-12-27cgroup: Remove task_lock() from cgroup_post_fork()Frederic Weisbecker1-3/+12
2011-12-27cgroup: add sparse annotation to cgroup_iter_start() and cgroup_iter_end()Kirill A. Shutemov1-0/+2
2011-12-27cgroup: mark cgroup_rmdir_waitq and cgroup_attach_proc() as staticKirill A. Shutemov1-2/+2
2011-12-22cgroup: only need to check oldcgrp==newgrp onceMandeep Singh Baines1-16/+6
2011-12-22cgroup: remove redundant get/put of task structMandeep Singh Baines1-9/+2
2011-12-22cgroup: remove redundant get/put of old css_set from migrateMandeep Singh Baines1-20/+8
2011-12-21cgroup: Remove unnecessary task_lock before fetching css_set on migrationFrederic Weisbecker1-10/+10
2011-12-21cgroup: Drop task_lock(parent) on cgroup_fork()Frederic Weisbecker1-6/+17
2011-12-19cgroups: remove redundant get/put of css_set from css_set_check_fetched()Mandeep Singh Baines1-8/+2
2011-12-19cgroups: fix a css_set not found bug in cgroup_attach_procMandeep Singh Baines1-5/+0
2011-12-12cgroup: kill subsys->can_attach_task(), pre_attach() and attach_task()Tejun Heo1-47/+5
2011-12-12cgroup: introduce cgroup_taskset and use it in subsys->can_attach(), cancel_a...Tejun Heo1-10/+89
2011-12-12cgroup: improve old cgroup handling in cgroup_attach_proc()Tejun Heo1-24/+42
2011-12-12cgroup: always lock threadgroup during migrationTejun Heo1-35/+27
2011-12-12threadgroup: rename signal->threadgroup_fork_lock to ->group_rwsemTejun Heo1-7/+6
2011-12-12cgroup: add cgroup_root_mutexTejun Heo1-22/+42
2011-11-02memcg: replace ss->id_lock with a rwlockAndrew Bresticker1-9/+9
2011-11-02cgroups: don't attach task to subsystem if migration failedBen Blum1-6/+9
2011-11-02cgroups: more safe tasklist locking in cgroup_attach_procBen Blum1-3/+3
2011-09-13locking, sched, cgroups: Annotate release_list_lock as rawThomas Gleixner1-9/+9
2011-07-27Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmo...Linus Torvalds1-0/+5
2011-07-26atomic: use <linux/atomic.h>Arun Sharma1-1/+1
2011-07-25Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-6/+2
2011-07-20kill file_permission() completelyAl Viro1-1/+2
2011-07-08rcu: treewide: Do not use rcu_read_lock_held when calling rcu_dereference_checkMichal Hocko1-6/+2
2011-06-09cgroupfs: use init_cred when populating new cgroupfs mounteparis@redhat1-0/+5
2011-05-26cgroup: remove the ns_cgroupDaniel Lezcano1-116/+0
2011-05-26cgroups: use flex_array in attach_procBen Blum1-9/+24
2011-05-26cgroups: make procs file writableBen Blum1-46/+393
2011-05-26cgroups: add per-thread subsystem callbacksBen Blum1-3/+14
2011-05-07cgroup,rcu: convert call_rcu(__free_css_id_cb) to kfree_rcu()Lai Jiangshan1-9/+1
2011-05-07cgroup,rcu: convert call_rcu(free_cgroup_rcu) to kfree_rcu()Lai Jiangshan1-8/+1
2011-05-07cgroup,rcu: convert call_rcu(free_css_set_rcu) to kfree_rcu()Lai Jiangshan1-7/+1
2011-03-31Fix common misspellingsLucas De Marchi1-1/+1
2011-03-22cgroups: if you list_empty() a head then don't list_del() itPhil Carmody1-8/+6
2011-02-16perf: Add cgroup supportStephane Eranian1-0/+23
2011-02-16cgroup: Fix cgroup_subsys::exit callbackPeter Zijlstra1-13/+18
2011-01-14Merge branch 'vfs-scale-working' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2011-01-14cgroup_fs: fix cgroup use of simple_lookup()Al Viro1-1/+16
2011-01-14cgroups: Fix a lockdep warning at cgroup removalLi Zefan1-1/+1
2011-01-12switch cgroupAl Viro1-23/+7
2011-01-07fs: dcache reduce branches in lookup pathNick Piggin1-1/+1
2011-01-07fs: dcache rationalise dget variantsNick Piggin1-1/+1
2011-01-07fs: dcache remove dcache_lockNick Piggin1-6/+0
2011-01-07fs: dcache scale subdirsNick Piggin1-2/+17
2011-01-07fs: dcache scale dentry refcountNick Piggin1-2/+0
2011-01-07fs: change d_delete semanticsNick Piggin1-1/+1
2011-01-07cgroup fs: avoid switching ->d_op on live dentryNick Piggin1-5/+22
2010-10-29convert cgroup and cpusetAl Viro1-6/+5
2010-10-27cgroups: add check for strcpy destination string overflowEvgeny Kuznetsov1-0/+2
2010-10-27cgroup: make the mount options parsing more accurateDaniel Lezcano1-30/+60
2010-10-27cgroup: add clone_children control fileDaniel Lezcano1-0/+39
2010-10-25fs: do not assign default i_ino in new_inodeChristoph Hellwig1-0/+1
2010-10-22Merge branch 'vfs' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bklLinus Torvalds1-4/+0
2010-10-07Merge branch 'rcu/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/pa...Ingo Molnar1-6/+7
2010-10-04BKL: Remove BKL from cgroupJan Blunck1-8/+0
2010-10-04BKL: Explicitly add BKL around get_sb/fill_superJan Blunck1-0/+4
2010-09-09cgroups: fix API thinkoMichael S. Tsirkin1-6/+7
2010-08-19cgroups: __rcu annotationsArnd Bergmann1-1/+1
2010-08-11cgroups: save space for the terminatorDan Carpenter1-2/+2
2010-08-05cgroupfs: create /sys/fs/cgroup to mount cgroupfs onGreg KH1-1/+12
2010-08-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6Linus Torvalds1-0/+23
2010-07-28cgroups: Add an API to attach a task to current task's cgroupSridhar Samudrala1-0/+23
2010-06-04cgroups: alloc_css_id() increments hierarchy depthGreg Thelen1-1/+1
2010-05-27cgroups: make cftype.unregister_event() void-returningKirill A. Shutemov1-1/+0
2010-05-20Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-1/+1
2010-05-18Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+1
2010-05-11memcg: fix css_is_ancestor() RCU lockingKAMEZAWA Hiroyuki1-5/+26
2010-05-11memcg: fix css_id() RCU locking for realKAMEZAWA Hiroyuki1-2/+13
2010-05-11sched, wait: Use wrapper functionsChangli Gao1-1/+1
2010-05-04cgroup: Fix an RCU warning in alloc_css_id()Li Zefan1-2/+2
2010-05-04cgroup: Fix an RCU warning in cgroup_path()Li Zefan1-3/+9
2010-04-23Merge branch 'master' into for-nextJiri Kosina1-1/+0
2010-03-24cgroups: remove duplicate includeLi Zefan1-1/+0
2010-03-16Fix typos in commentsThomas Weber1-1/+1
2010-03-12cgroups: remove events before destroying subsystem state objectsKirill A. Shutemov1-0/+8
2010-03-12cgroups: fix race between userspace and kernelspaceKirill A. Shutemov1-15/+17
2010-03-12cgroup: implement eventfd-based generic API for notificationsKirill A. Shutemov1-1/+227
2010-03-12cgroups: clean up cgroup_pidlist_find() a bitLi Zefan1-5/+3
2010-03-12cgroups: blkio subsystem as moduleBen Blum1-0/+9
2010-03-12cgroups: subsystem module unloadingBen Blum1-25/+142
2010-03-12cgroups: subsystem module loading interfaceBen Blum1-5/+145
2010-03-12cgroups: revamp subsys arrayBen Blum1-16/+80
2010-03-12cgroup: introduce coalesce css_get() and css_put()Daisuke Nishimura1-2/+3
2010-03-12cgroup: introduce cancel_attach()Daisuke Nishimura1-7/+33
2010-02-25sched, cgroups: Fix module exportIngo Molnar1-0/+1
2010-02-25sched: Use lockdep-based checking on rcu_dereference()Paul E. McKenney1-0/+14
2010-02-02cgroups: fix to return errno in a failure pathLi Zefan1-2/+5
2010-01-11cgroups: fix 2.6.32 regression causing BUG_ON() in cgroup_diput()Dave Anderson1-1/+0
2009-10-29cgroup: fix strstrip() misuseKOSAKI Motohiro1-5/+3
2009-10-01cgroup: catch bad css refcnt at css_putKAMEZAWA Hiroyuki1-1/+4
2009-10-01const: constify remaining file_operationsAlexey Dobriyan1-5/+5
2009-09-24cgroups: let ss->can_attach and ss->attach do whole threadgroups at a timeBen Blum1-2/+2
2009-09-24cgroups: change css_set freeing mechanism to be under RCUBen Blum1-1/+7
2009-09-24cgroups: use vmalloc for large cgroups pidlist allocationsBen Blum1-5/+42
2009-09-24cgroups: ensure correct concurrent opening/reading of pidlists across pid nam...Ben Blum1-17/+90
2009-09-24cgroups: add a read-only "procs" file similar to "tasks" that shows only uniq...Ben Blum1-106/+172
2009-09-24cgroups: revert "cgroups: fix pid namespace bug"Paul Menage1-71/+24
2009-09-24cgroups: allow cgroup hierarchies to be created with no bound subsystemsPaul Menage1-59/+99
2009-09-24cgroups: add a back-pointer from struct cg_cgroup_link to struct cgroupPaul Menage1-49/+199
2009-09-24cgroups: move the cgroup debug subsys into cgroup.c to access internal statePaul Menage1-0/+88
2009-09-24cgroups: support named cgroups hierarchiesPaul Menage1-48/+136
2009-09-24cgroups: make unlock sequence in cgroup_get_sb consistentXiaotian Feng1-1/+1
2009-09-23seq_file: constify seq_operationsJames Morris1-1/+1
2009-09-22const: mark remaining inode_operations as constAlexey Dobriyan1-2/+2
2009-09-22const: mark remaining super_operations constAlexey Dobriyan1-1/+1
2009-09-11writeback: add name to backing_dev_infoJens Axboe1-0/+1
2009-07-29cgroup avoid permanent sleep at rmdirKAMEZAWA Hiroyuki1-17/+38
2009-07-29cgroups: fix pid namespace bugLi Zefan1-24/+72
2009-06-18cgroups: forbid noprefix if mounting more than just cpuset subsystemLi Zefan1-0/+14
2009-06-11Push BKL down into ->remount_fs()Alessio Igor Bogani1-0/+3
2009-05-09Convert obvious places to deactivate_locked_super()Al Viro1-2/+1
2009-04-02memcg: fix OOM killer under memcgKAMEZAWA Hiroyuki1-1/+1
2009-04-02cgroups: don't change release_agent when remount failedLi Zefan1-2/+3
2009-04-02cgroups: show correct file modeLi Zefan1-4/+34
2009-04-02kernel/cgroup.c: kfree(NULL) is legalJesper Juhl1-6/+3
2009-04-02cgroup: fix frequent -EBUSY at rmdirKAMEZAWA Hiroyuki1-14/+67
2009-04-02cgroup: CSS ID supportKAMEZAWA Hiroyuki1-1/+285
2009-04-02cgroups: relax ns_can_attach checks to allow attaching to grandchild cgroupsGrzegorz Nosek1-5/+6
2009-03-27vfs: simple_set_mnt() should return voidSukadev Bhattiprolu1-1/+2
2009-03-27constify dentry_operations: restAl Viro1-1/+1
2009-02-18cgroups: fix possible use after freeLi Zefan1-1/+1
2009-02-11cgroups: fix lockdep subclasses overflowLi Zefan1-1/+2
2009-01-29cgroup: fix root_count when mount fails due to busy subsystemPaul Menage1-2/+4
2009-01-29cgroups: add cpu_relax() calls in css_tryget() and cgroup_clear_css_refs()Paul Menage1-2/+5
2009-01-29cgroups: fix lock inconsistency in cgroup_clone()Li Zefan1-6/+7
2009-01-29cgroups: use hierarchy mutex in creation failure pathKAMEZAWA Hiroyuki1-0/+2
2009-01-08cgroups: add css_tryget()Paul Menage1-5/+56
2009-01-08cgroups: add a per-subsystem hierarchy_mutexPaul Menage1-2/+35
2009-01-08cgroups: make cgroup_path() RCU-safePaul Menage1-9/+21
2009-01-08cgroups: skip processes from other namespaces when listing a cgroupGowrishankar M1-2/+4
2009-01-08cgroups: introduce link_css_set() to remove duplicate codeLi Zefan1-38/+30
2009-01-08cgroups: add inactive subsystems to rootnode.subsys_listLi Zefan1-2/+3
2009-01-08cgroups: make root_list contains active hierarchies onlyLi Zefan1-12/+7
2009-01-08cgroups: remove rcu_read_lock() in cgroupstats_build()Lai Jiangshan1-2/+0
2009-01-08cgroups: call find_css_set() safely in cgroup_attach_task()Lai Jiangshan1-1/+6
2009-01-08cgroups: use task_lock() for access tsk->cgroups safe in cgroup_clone()Lai Jiangshan1-0/+2
2009-01-08cgroups: don't put struct cgroupfs_root protected by RCULai Jiangshan1-2/+2
2009-01-08cgroups: fix cgroup_iter_next() bugLai Jiangshan1-1/+3
2009-01-08cgroups: add lock for child->cgroups in cgroup_post_fork()Lai Jiangshan1-0/+2
2009-01-08cgroups: remove some redundant NULL checksLi Zefan1-22/+7
2009-01-06mm: remove cgroup_mm_owner_callbacksHugh Dickins1-33/+0
2009-01-05Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+0
2009-01-05zero i_uid/i_gid on inode allocationAl Viro1-1/+0
2009-01-04cgroups: fix a race between cgroup_clone and umountLi Zefan1-1/+5
2008-12-25Merge branch 'next' into for-linusJames Morris1-7/+10
2008-12-23cgroups: avoid accessing uninitialized data in failure pathLi Zefan1-2/+3
2008-12-23cgroups: suppress bogus warning messagesSharyathi Nagesh1-3/+0
2008-12-15cgroups: fix a race between rmdir and remountPaul Menage1-1/+1
2008-12-04Merge branch 'master' into nextJames Morris1-7/+14
2008-11-19cgroups: fix a serious bug in cgroupstatsLi Zefan1-2/+5
2008-11-19cgroup: fix potential deadlock in pre_destroyKAMEZAWA Hiroyuki1-5/+9
2008-11-14Merge branch 'master' into nextJames Morris1-1/+0
2008-11-14CRED: Use RCU to access another task's creds and to release a task's own credsDavid Howells1-8/+8
2008-11-14CRED: Separate task security context from task_structDavid Howells1-1/+3
2008-11-14CRED: Wrap task credential accesses in the core kernelDavid Howells1-4/+5
2008-11-06cgroups: fix invalid cgrp->dentry before cgroup has been completely removedLi Zefan1-1/+0
2008-10-26cgroup: remove unused variableStephen Rothwell1-1/+1
2008-10-20cgroups: convert tasks file to use a seq_file with shared pid arrayPaul Menage1-83/+139
2008-10-20cgroups: fix probable race with put_css_set[_taskexit] and find_css_setLai Jiangshan1-23/+20
2008-10-16memrlimit: cgroup mm owner callback changes to add task infoBalbir Singh1-1/+3
2008-09-29mm owner: fix race between swapoff and exitBalbir Singh1-2/+3
2008-07-30cgroup: uninline cgroup_has_css_refs()Li Zefan1-1/+1
2008-07-30cgroup: remove duplicate code in allocate_cg_link()Li Zefan1-18/+12
2008-07-30cgroup: fix possible memory leakLi Zefan1-2/+5
2008-07-26[PATCH] get rid of indirect users of namei.hAl Viro1-0/+1
2008-07-26make cgroup_seqfile_release() staticAdrian Bunk1-1/+1
2008-07-25cgroup_clone: use pid of newly created task for new cgroupSerge E. Hallyn1-4/+3
2008-07-25cgroup files: turn attach_task_by_pid directly into a cgroup write handlerPaul Menage1-66/+14
2008-07-25cgroup files: move notify_on_release file to separate write handlerPaul Menage1-8/+13
2008-07-25cgroups: misc cleanups to write_string patchsetPaul Menage1-9/+12
2008-07-25cgroup files: move the release_agent file to use typed handlersPaul Menage1-68/+57
2008-07-25cgroup files: add write_string cgroup control file methodPaul Menage1-0/+35
2008-07-25cgroups: annotate two variables with __read_mostlyLi Zefan1-2/+2
2008-07-25cgroup: list_for_each cleanupKOSAKI Motohiro1-23/+21
2008-07-25cgroup: use read lock to guard find_existing_css_set()Li Zefan1-2/+2
2008-05-24cgroups: remove node_ prefix_from ns subsystemCedric Le Goater1-1/+1
2008-04-30mm: bdi: add separate writeback accounting capabilityMiklos Szeredi1-1/+1
2008-04-29cgroups: add an owner to the mm_structBalbir Singh1-0/+30
2008-04-29cgroups: introduce cft->read_seq()Serge E. Hallyn1-6/+9
2008-04-29cgroups: remove the css_set linked-listLi Zefan1-20/+20