aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/cgroup.c
AgeCommit message (Expand)AuthorFilesLines
2014-01-21Merge branch 'for-3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-722/+480
2014-01-18cgroup: trivial style updatesSeongJae Park1-2/+3
2013-12-17cgroup: don't recycle cgroup id until all csses' have been destroyedLi Zefan1-8/+11
2013-12-13cgroup: fix fail path in cgroup_load_subsys()Vladimir Davydov1-3/+9
2013-12-12cgroup: fix missing unlock on error in cgroup_load_subsys()Wei Yongjun1-0/+1
2013-12-06cgroup: remove for_each_root_subsys()Tejun Heo1-22/+15
2013-12-06cgroup: implement for_each_css()Tejun Heo1-26/+31
2013-12-06cgroup: factor out cgroup_subsys_state creation into create_css()Tejun Heo1-38/+57
2013-12-06cgroup: combine css handling loops in cgroup_create()Tejun Heo1-18/+7
2013-12-06cgroup: reorder operations in cgroup_create()Tejun Heo1-37/+33
2013-12-06cgroup: make for_each_subsys() useable under cgroup_root_mutexTejun Heo1-6/+20
2013-12-06cgroup: css iterations and css_from_dir() are safe under cgroup_mutexTejun Heo1-26/+30
2013-12-06Merge branch 'for-3.13-fixes' into for-3.14Tejun Heo1-10/+21
2013-12-06cgroup: fix cgroup_create() error handling pathTejun Heo1-10/+21
2013-12-05cgroup: unify pidlist and other file handlingTejun Heo1-49/+63
2013-12-05cgroup: replace cftype->read_seq_string() with cftype->seq_show()Tejun Heo1-18/+16
2013-12-05cgroup: attach cgroup_open_file to all cgroup filesTejun Heo1-30/+20
2013-12-05cgroup: generalize cgroup_pidlist_open_fileTejun Heo1-36/+30
2013-12-05cgroup: unify read path so that seq_file is always usedTejun Heo1-53/+15
2013-12-05cgroup: unify cgroup_write_X64() and cgroup_write_string()Tejun Heo1-76/+36
2013-12-05cgroup: remove cftype->read(), ->read_map() and ->write()Tejun Heo1-22/+4
2013-11-29cgroup: don't guarantee cgroup.procs is sorted if sane_behaviorTejun Heo1-5/+46
2013-11-29cgroup: remove cgroup_pidlist->use_countTejun Heo1-21/+7
2013-11-29cgroup: load and release pidlists from seq_file start and stop respectivelyTejun Heo1-29/+34
2013-11-29cgroup: remove cgroup_pidlist->rwsemTejun Heo1-11/+4
2013-11-29cgroup: refactor cgroup_pidlist_find()Tejun Heo1-27/+38
2013-11-29cgroup: introduce struct cgroup_pidlist_open_fileTejun Heo1-12/+27
2013-11-29cgroup: implement delayed destruction for cgroup_pidlistTejun Heo1-25/+77
2013-11-29cgroup: remove cftype->release()Tejun Heo1-3/+0
2013-11-29cgroup: don't skip seq_open on write only opens on pidlist filesTejun Heo1-12/+1
2013-11-27cgroup: Merge branch 'for-3.13-fixes' into for-3.14Tejun Heo1-1/+4
2013-11-27cgroup: fix cgroup_subsys_state leak for seq_filesTejun Heo1-1/+4
2013-11-22cgroup: Merge branch 'memcg_event' into for-3.14Tejun Heo1-259/+0
2013-11-22cgroup: unexport cgroup_css() and remove __file_cft()Tejun Heo1-12/+2
2013-11-22cgroup, memcg: move cgroup->event_list[_lock] and event callbacks into memcgTejun Heo1-2/+0
2013-11-22cgroup, memcg: move cgroup_event implementation to memcgTejun Heo1-250/+3
2013-11-22cgroup: use a dedicated workqueue for cgroup destructionTejun Heo1-3/+27
2013-11-15consolidate simple ->d_delete() instancesAl Viro1-6/+1
2013-11-13Merge branch 'for-3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-247/+1
2013-10-22Merge branch 'for-3.12-fixes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-8/+6
2013-10-13cgroup: fix to break the while loop in cgroup_attach_task() correctlyAnjana V Kumar1-3/+3
2013-09-23cgroup: kill css_idLi Zefan1-247/+1
2013-09-10cgroup: fix cgroup post-order descendant walk of empty subtreeTejun Heo1-5/+3
2013-09-07Kill indirect include of file.h from eventfd.h, use fdget() in cgroup.cAl Viro1-16/+17
2013-09-03Merge branch 'for-3.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-724/+919
2013-08-29cgroup: fix rmdir EBUSY regression in 3.11Hugh Dickins1-1/+18
2013-08-27cgroup: fix cgroup_css() invocation in css_from_id()Tejun Heo1-1/+1
2013-08-26cgroup: make cgroup_write_event_control() use css_from_dir() instead of __d_c...Tejun Heo1-13/+5
2013-08-26cgroup: make cgroup_event hold onto cgroup_subsys_state instead of cgroupTejun Heo1-14/+12
2013-08-26cgroup: implement CFTYPE_NO_PREFIXTejun Heo1-1/+2
2013-08-26cgroup: make cgroup_css() take cgroup_subsys * instead and allow NULL subsysTejun Heo1-47/+43
2013-08-26cgroup: rename cgroup_css_from_dir() to css_from_dir() and update its syntaxTejun Heo1-16/+10
2013-08-19cgroup: fix cgroup_write_event_control()Tejun Heo1-4/+21
2013-08-19cgroup: fix subsystem file accesses on the root cgroupTejun Heo1-14/+10
2013-08-19cgroup: change cgroup_from_id() to css_from_id()Li Zefan1-0/+22
2013-08-16cgroup: use css_get() in cgroup_create() to check CSS_ROOTLi Zhong1-1/+1
2013-08-13cgroup: RCU protect each cgroup_subsys_state releaseTejun Heo1-16/+37
2013-08-13cgroup: move subsys file removal to kill_css()Tejun Heo1-7/+9
2013-08-13cgroup: factor out kill_css()Tejun Heo1-23/+35
2013-08-13cgroup: decouple cgroup_subsys_state destruction from cgroup destructionTejun Heo1-28/+24
2013-08-13cgroup: replace cgroup->css_kill_cnt with ->nr_cssTejun Heo1-24/+28
2013-08-13cgroup: bounce cgroup_subsys_state ref kill confirmation to a work itemTejun Heo1-3/+18
2013-08-13cgroup: move cgroup->subsys[] assignment to online_css()Tejun Heo1-10/+11
2013-08-13cgroup: reorganize css init / exit pathsTejun Heo1-27/+23
2013-08-13cgroup: add __rcu modifier to cgroup->subsys[]Tejun Heo1-5/+14
2013-08-13cgroup: make cgroup_file_open() rcu_read_lock() around cgroup_css() and add c...Tejun Heo1-17/+31
2013-08-13cgroup: cgroup_css_from_dir() now should be called with RCU read lockedTejun Heo1-2/+10
2013-08-13cgroup: add cgroup_subsys_state->parentTejun Heo1-3/+15
2013-08-13cgroup: rename cgroup_subsys_state->dput_work and its callback functionTejun Heo1-11/+10
2013-08-13cgroup: always use cgroup_css()Tejun Heo1-29/+29
2013-08-08cgroup: make css_for_each_descendant() and friends include the origin css in ...Tejun Heo1-18/+11
2013-08-08cgroup: unexport cgroup_css()Tejun Heo1-0/+13
2013-08-08cgroup: make cgroup_taskset deal with cgroup_subsys_state instead of cgroupTejun Heo1-7/+9
2013-08-08cgroup: make cftype->[un]register_event() deal with cgroup_subsys_state inste...Tejun Heo1-7/+8
2013-08-08cgroup: make task iterators deal with cgroup_subsys_state instead of cgroupTejun Heo1-55/+57
2013-08-08cgroup: remove struct cgroup_scannerTejun Heo1-50/+43
2013-08-08cgroup: make cgroup_task_iter remember the cgroup being iteratedTejun Heo1-17/+15
2013-08-08cgroup: rename cgroup_iter to cgroup_task_iterTejun Heo1-37/+77
2013-08-08cgroup: relocate cgroup_advance_iter()Tejun Heo1-24/+24
2013-08-08cgroup: make hierarchy iterators deal with cgroup_subsys_state instead of cgroupTejun Heo1-58/+73
2013-08-08cgroup: always use cgroup_next_child() to walk the children listTejun Heo1-4/+3
2013-08-08cgroup: convert cgroup_next_sibling() to cgroup_next_child()Tejun Heo1-29/+30
2013-08-08cgroup: pass around cgroup_subsys_state instead of cgroup in file methodsTejun Heo1-79/+83
2013-08-08cgroup: add cgroup->dummy_cssTejun Heo1-4/+5
2013-08-08cgroup: pin cgroup_subsys_state when opening a cgroupfs fileTejun Heo1-11/+32
2013-08-08cgroup: add subsys backlink pointer to cftypeTejun Heo1-35/+43
2013-08-08cgroup: pass around cgroup_subsys_state instead of cgroup in subsystem methodsTejun Heo1-23/+34
2013-08-08cgroup: add subsystem pointer to cgroup_subsys_stateTejun Heo1-0/+1
2013-08-08cgroup: s/cgroup_subsys_state/cgroup_css/ s/task_subsys_state/task_css/Tejun Heo1-1/+1
2013-08-06Merge branch 'for-3.11-fixes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+3
2013-08-02cgroup: Merge branch 'for-3.11-fixes' into for-3.12Tejun Heo1-13/+22
2013-08-01cgroup: rename cgroup_pidlist->mutexLi Zefan1-11/+11
2013-08-01cgroup: restructure the failure path in cgroup_write_event_control()Li Zefan1-21/+18
2013-07-31cgroup: convert cgroup_ida to cgroup_idrLi Zefan1-6/+27
2013-07-31cgroup: more naming cleanupsLi Zefan1-13/+13
2013-07-31cgroup: remove struct cgroup_seqfile_stateLi Zefan1-32/+13
2013-07-31cgroup: remove sparse tags from offline_css()Li Zefan1-3/+2
2013-07-31cgroup: fix a leak when percpu_ref_init() failsLi Zefan1-1/+3
2013-07-23Merge branch 'for-3.11-fixes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-12/+19
2013-07-16cgroup: remove gratuituous BUG_ON()s from rebind_subsystems()Tejun Heo1-9/+0
2013-07-16cgroup: move module ref handling into rebind_subsystems()Tejun Heo1-65/+28
2013-07-14cgroup: we can use simple_lookup() nowAl Viro1-10/+1
2013-07-12cgroup: replace task_cgroup_path_from_hierarchy() with task_cgroup_path()Tejun Heo1-12/+19
2013-07-12cgroup: move number_of_cgroups test out of rebind_subsystems() into cgroup_re...Tejun Heo1-7/+6
2013-07-12cgroup: make rebind_subsystems() handle file additions and removals with prop...Tejun Heo1-32/+41
2013-07-12cgroup: use for_each_subsys() instead of for_each_root_subsys() in cgroup_pop...Tejun Heo1-5/+8
2013-07-12cgroup: update error handling in cgroup_populate_dir()Tejun Heo1-2/+11
2013-07-12cgroup: separate out cgroup_base_files[] handling out of cgroup_populate/clea...Tejun Heo1-27/+19
2013-07-12cgroup: fix cgroup_add_cftypes() error handlingTejun Heo1-8/+18
2013-07-12cgroup: fix error path of cgroup_addrm_files()Tejun Heo1-6/+22
2013-07-12cgroup: minor updates around cgroup_clear_directory()Tejun Heo1-11/+8
2013-06-29cgroup: CGRP_ROOT_SUBSYS_BOUND should also be ignored when mounting an existi...Tejun Heo1-1/+1
2013-06-27cgroup: CGRP_ROOT_SUBSYS_BOUND should be ignored when comparing mount optionsTejun Heo1-1/+4
2013-06-27cgroup: fix deadlock on cgroup_mutex via drop_parsed_module_refcounts()Tejun Heo1-2/+2
2013-06-26cgroup: always use RCU accessors for protected accessesTejun Heo1-9/+12
2013-06-26cgroup: fix RCU accesses around task->cgroupsTejun Heo1-11/+13
2013-06-26cgroup: grab cgroup_mutex in drop_parsed_module_refcounts()Tejun Heo1-5/+5
2013-06-26cgroup: fix cgroupfs_root early destruction pathTejun Heo1-3/+19
2013-06-25cgroup: reserve ID 0 for dummy_root and 1 for unified hierarchyTejun Heo1-4/+6
2013-06-25cgroup: implement for_each_[builtin_]subsys()Tejun Heo1-76/+71
2013-06-25cgroup: move init_css_set initialization inside cgroup_mutexTejun Heo1-4/+4
2013-06-24cgroup: s/for_each_subsys()/for_each_root_subsys()/Tejun Heo1-25/+22
2013-06-24cgroup: clean up find_css_set() and friendsTejun Heo1-21/+17
2013-06-24cgroup: remove cgroup->actual_subsys_maskTejun Heo1-10/+12
2013-06-24cgroup: prefix global variables with "cgroup_"Tejun Heo1-76/+77
2013-06-19cgroup: rename cont to cgrpLi Zefan1-11/+11
2013-06-18cgroup: clean up cgroup_serial_nr_cursorTejun Heo1-7/+8
2013-06-18cgroup: convert cgroup_cft_commit() to use cgroup_for_each_descendant_pre()Li Zefan1-36/+44
2013-06-18cgroup: make serial_nr_cursor available throughout cgroup.cLi Zefan1-8/+10
2013-06-18cgroup: fix memory leak in cgroup_rm_cftypes()Li Zefan1-1/+2
2013-06-18cgroup: fix umount vs cgroup_event_remove() raceLi Zefan1-6/+19
2013-06-18cgroup: fix umount vs cgroup_cfts_commit() raceLi Zefan1-1/+8
2013-06-18cgroup: disallow rename(2) if sane_behaviorTejun Heo1-0/+7
2013-06-13cgroup: use percpu refcnt for cgroup_subsys_statesTejun Heo1-61/+104
2013-06-13Merge branch 'for-3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/p...Tejun Heo1-5/+8
2013-06-13cgroup: split cgroup destruction into two stepsTejun Heo1-11/+27
2013-06-13cgroup: reorder the operations in cgroup_destroy_locked()Tejun Heo1-26/+35
2013-06-13cgroup: remove cgroup->count and useTejun Heo1-16/+5
2013-06-13cgroup: drop unnecessary RCU dancing from __put_css_set()Tejun Heo1-10/+10
2013-06-13cgroup: rename CGRP_REMOVED to CGRP_DEADTejun Heo1-16/+14
2013-06-13cgroup: use kzalloc() instead of kmalloc()Tejun Heo1-7/+7
2013-06-13cgroup: bring some sanity to naming around cg_cgroup_linkTejun Heo1-113/+113
2013-06-13cgroup: consistently use @cset for struct css_set variablesTejun Heo1-107/+109
2013-06-13cgroup: remove now unused css_depth()Tejun Heo1-12/+0
2013-06-05cgroup: clean up the cftype array for the base cgroup filesTejun Heo1-23/+24
2013-06-05cgroup: mark "notify_on_release" and "release_agent" cgroup files insaneTejun Heo1-1/+2
2013-06-05cgroup: mark "tasks" cgroup file as insaneTejun Heo1-0/+1
2013-05-29cgroup: warn about mismatching options of a new mount of an existing hierarchyJeff Liu1-5/+8
2013-05-24cgroup: update iterators to use cgroup_next_sibling()Tejun Heo1-6/+19
2013-05-24cgroup: add cgroup->serial_nr and implement cgroup_next_sibling()Tejun Heo1-0/+62
2013-05-24cgroup: make cgroup_is_removed() staticTejun Heo1-1/+1
2013-05-24Merge branch 'for-3.10-fixes' into for-3.11Tejun Heo1-10/+8
2013-05-24cgroup: fix a subtle bug in descendant pre-order walkTejun Heo1-6/+3
2013-05-14cgroup: implement task_cgroup_path_from_hierarchy()Tejun Heo1-0/+32
2013-05-14cgroup: make hierarchy_id use cyclic idrTejun Heo1-20/+8
2013-05-14cgroup: drop hierarchy_id_lockTejun Heo1-6/+17
2013-05-14cgroup: refactor hierarchy_id handlingTejun Heo1-21/+35
2013-05-14cgroup: initialize xattr before calling d_instantiate()Li Zefan1-4/+5
2013-05-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-14/+1
2013-05-01take cgroup_open() and cpuset_open() to fs/proc/base.cAl Viro1-14/+1
2013-04-30Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-3/+0
2013-04-29Merge branch 'for-3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-425/+299
2013-04-29Merge branch 'for-3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-2/+2
2013-04-29cgroup: remove css_get_nextMichal Hocko1-49/+0
2013-04-26cgroup: restore the call to eventfd->poll()Li Zefan1-0/+2
2013-04-26cgroup: fix use-after-free when umounting cgroupfsLi Zefan1-2/+4
2013-04-18cgroup: fix broken file xattrsLi Zefan1-5/+6
2013-04-14cgroup: remove cgrp->top_cgroupLi Zefan1-2/+0
2013-04-14cgroup: introduce sane_behavior mount optionTejun Heo1-0/+48
2013-04-14move cgroupfs_root to include/linux/cgroup.hTejun Heo1-57/+0
2013-04-14cgroup: convert cgroupfs_root flag bits to masks and add CGRP_ prefixTejun Heo1-11/+10
2013-04-14cgroup: make cgroup_path() not print double slashesTejun Heo1-5/+8
2013-04-12Revert "cgroup: remove bind() method from cgroup_subsys."Tejun Heo1-0/+4
2013-04-10cgroup: implement cgroup_is_descendant()Li Zefan1-0/+20
2013-04-10cgroup: make sure parent won't be destroyed before its childrenLi Zefan1-0/+10
2013-04-10cgroup: remove bind() method from cgroup_subsys.Rami Rosen1-4/+0
2013-04-10cgroup: Kill subsys.active flagLi Zefan1-3/+0
2013-04-07cgroup: remove cgroup_lock_is_held()Tejun Heo1-14/+6
2013-04-07cgroup: kill cgroup_[un]lock()Tejun Heo1-30/+11
2013-04-07cgroup: unexport locking interface and cgroup_attach_task()Tejun Heo1-6/+3
2013-04-07cgroup: relocate cgroup_lock_live_group() and cgroup_attach_task_all()Tejun Heo1-42/+42
2013-04-07cgroup, cpuset: replace move_member_tasks_to_cpuset() with cgroup_transfer_ta...Tejun Heo1-0/+28
2013-04-03cgroup: remove unused parameter in cgroup_task_migrate().Kevin Wilson1-2/+2
2013-03-20cgroup: consolidate cgroup_attach_task() and cgroup_attach_proc()Li Zefan1-89/+20
2013-03-20cgroup: fix an off-by-one bug which may trigger BUG_ON()Li Zefan1-1/+1
2013-03-19sched: replace PF_THREAD_BOUND with PF_NO_SETAFFINITYTejun Heo1-2/+2
2013-03-12cgroup: remove useless code in cgroup_write_event_control()Li Zefan1-6/+0
2013-03-12cgroup: don't bother to resize pid arrayLi Zefan1-34/+3
2013-03-12cgroup: hold cgroup_mutex before calling css_offline()Li Zefan1-10/+1
2013-03-12cgroup: remove unused variables in cgroup_destroy_locked()Li Zefan1-2/+0
2013-03-12cgroup: remove cgroup_is_descendant()Li Zefan1-28/+0
2013-03-05cgroup: avoid accessing modular cgroup subsys structure without lockingLi Zefan1-14/+14
2013-03-04cgroup: no need to check css refs for release notificationLi Zefan1-59/+8
2013-03-04cgroup: fix cgroup_path() vs rename() raceLi Zefan1-30/+76
2013-02-27hlist: drop the node parameter from iteratorsSasha Levin1-7/+5
2013-02-27cgroup: convert to idr_alloc()Tejun Heo1-19/+8
2013-02-27cgroup: don't use idr_remove_all()Tejun Heo1-3/+1
2013-02-26Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-3/+3
2013-02-22new helper: file_inode(file)Al Viro1-3/+3
2013-02-18cgroup: fail if monitored file and event_control are in different cgroupLi Zefan1-0/+11