aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
AgeCommit message (Expand)AuthorFilesLines
2013-11-15mm, thp: change pmd_trans_huge_lock() to return taken lockKirill A. Shutemov1-5/+5
2013-11-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-3/+3
2013-11-13Merge branch 'akpm' (patches from Andrew Morton)Linus Torvalds1-49/+48
2013-11-13Merge branch 'for-3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-26/+40
2013-11-13memcg, kmem: use cache_from_memcg_idx instead of hard codeQiang Huang1-6/+6
2013-11-13memcg, kmem: use is_root_cache instead of hard codeQiang Huang1-1/+2
2013-11-13memcg: support hierarchical memory.numa_statsYing Han1-0/+17
2013-11-13memcg: refactor mem_control_numa_stat_show()Greg Thelen1-34/+22
2013-11-13mm: add a helper function to check may oom conditionQiang Huang1-8/+1
2013-11-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-31/+26
2013-11-01memcg: remove incorrect underflow checkGreg Thelen1-1/+0
2013-10-31mm: memcg: fix test for child groupsJohannes Weiner1-24/+11
2013-10-31mm: memcg: lockdep annotation for memcg OOM lockJohannes Weiner1-1/+10
2013-10-31mm: memcg: use proper memcg in limit bypassJohannes Weiner1-4/+4
2013-10-30memcg: use __this_cpu_sub() to dec stats to avoid incorrect subtrahend castingGreg Thelen1-1/+1
2013-10-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-88/+55
2013-10-21tcp_memcontrol: Kill struct tcp_memcontrolEric W. Biederman1-3/+3
2013-10-16fs: buffer: move allocation failure loop into the allocatorJohannes Weiner1-0/+2
2013-10-16mm: memcg: handle non-error OOM situations more gracefullyJohannes Weiner1-88/+51
2013-10-16mm, memcg: protect mem_cgroup_read_events for cpu hotplugDavid Rientjes1-0/+2
2013-09-24revert "memcg, vmscan: integrate soft reclaim tighter with zone shrinking code"Andrew Morton1-21/+142
2013-09-24revert "memcg: get rid of soft-limit tree infrastructure"Andrew Morton1-2/+263
2013-09-24revert "vmscan, memcg: do softlimit reclaim also for targeted reclaim"Andrew Morton1-9/+5
2013-09-24revert "memcg: enhance memcg iterator to support predicates"Andrew Morton1-55/+15
2013-09-24revert "memcg: track children in soft limit excess to improve soft limit"Andrew Morton1-71/+0
2013-09-24revert "memcg, vmscan: do not attempt soft limit reclaim if it would not scan...Andrew Morton1-5/+1
2013-09-24revert "memcg: track all children over limit in the root"Andrew Morton1-9/+0
2013-09-23memcg: stop using css idLi Zefan1-16/+8
2013-09-23memcg: fail to create cgroup if the cgroup id is too bigLi Zefan1-0/+9
2013-09-23memcg: convert to use cgroup idLi Zefan1-10/+22
2013-09-23memcg: convert to use cgroup_is_descendant()Li Zefan1-1/+1
2013-09-12memcg: add per cgroup writeback pages accountingSha Zhengju1-7/+23
2013-09-12memcg: check for proper lock held in mem_cgroup_update_page_statSha Zhengju1-0/+1
2013-09-12memcg: remove MEMCG_NR_FILE_MAPPEDSha Zhengju1-24/+1
2013-09-12memcg: rename RESOURCE_MAX to RES_COUNTER_MAXSha Zhengju1-2/+2
2013-09-12mm: memcg: do not trap chargers with full callstack on OOMJohannes Weiner1-47/+107
2013-09-12mm: memcg: rework and document OOM waiting and wakeupJohannes Weiner1-37/+46
2013-09-12mm: memcg: enable memcg OOM killer only for user faultsJohannes Weiner1-1/+1
2013-09-12memcg: trivial cleanupsAndrew Morton1-15/+15
2013-09-12memcg: track all children over limit in the rootMichal Hocko1-0/+9
2013-09-12memcg, vmscan: do not attempt soft limit reclaim if it would not scan anythingMichal Hocko1-1/+5
2013-09-12memcg: track children in soft limit excess to improve soft limitMichal Hocko1-0/+71
2013-09-12memcg: enhance memcg iterator to support predicatesMichal Hocko1-15/+55
2013-09-12vmscan, memcg: do softlimit reclaim also for targeted reclaimMichal Hocko1-5/+9
2013-09-12memcg: get rid of soft-limit tree infrastructureMichal Hocko1-263/+2
2013-09-12memcg, vmscan: integrate soft reclaim tighter with zone shrinking codeMichal Hocko1-142/+21
2013-09-12memcg: remove redundant code in mem_cgroup_force_empty_write()Li Zefan1-7/+1
2013-09-11memcg: fix multiple large threshold notificationsGreg Thelen1-1/+7
2013-09-11kmemcg: don't allocate extra memory for root memcg_cache_paramsAndrey Vagin1-3/+6
2013-09-03Merge branch 'for-3.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-127/+96
2013-08-23memcg: get rid of swapaccount leftoversMichal Hocko1-1/+0
2013-08-13memcg: don't initialize kmem-cache destroying work for root cachesAndrey Vagin1-2/+2
2013-08-08cgroup: make css_for_each_descendant() and friends include the origin css in ...Tejun Heo1-8/+1
2013-08-08cgroup: make cftype->[un]register_event() deal with cgroup_subsys_state inste...Tejun Heo1-13/+8
2013-08-08cgroup: make task iterators deal with cgroup_subsys_state instead of cgroupTejun Heo1-6/+5
2013-08-08cgroup: make cgroup_task_iter remember the cgroup being iteratedTejun Heo1-3/+3
2013-08-08cgroup: rename cgroup_iter to cgroup_task_iterTejun Heo1-5/+5
2013-08-08cgroup: make hierarchy iterators deal with cgroup_subsys_state instead of cgroupTejun Heo1-11/+9
2013-08-08cgroup: pass around cgroup_subsys_state instead of cgroup in file methodsTejun Heo1-43/+45
2013-08-08cgroup: pass around cgroup_subsys_state instead of cgroup in subsystem methodsTejun Heo1-19/+19
2013-08-08cgroup: add css_parent()Tejun Heo1-28/+11
2013-08-08cgroup: add/update accessors which obtain subsys specific data from cssTejun Heo1-1/+1
2013-08-08cgroup: s/cgroup_subsys_state/cgroup_css/ s/task_subsys_state/task_css/Tejun Heo1-3/+2
2013-07-31vmpressure: make sure there are no events queued after memcg is offlinedMichal Hocko1-0/+1
2013-07-14kernel: delete __cpuinit usage from all core kernel filesPaul Gortmaker1-1/+1
2013-07-09memcg: don't need to free memcg via RCU or workqueueLi Zefan1-46/+5
2013-07-09memcg: kill memcg refcntLi Zefan1-17/+1
2013-07-09memcg: don't need to get a reference to the parentLi Zefan1-16/+3
2013-07-09memcg: use css_get/put for swap memcgLi Zefan1-10/+16
2013-07-09memcg: use css_get/put when charging/uncharging kmemLi Zefan1-26/+54
2013-07-09memcg: don't use mem_cgroup_get() when creating a kmemcg cacheLi Zefan1-5/+5
2013-07-09memcg: use css_get() in sock_update_memcg()Li Zefan1-4/+4
2013-07-09memcg, kmem: fix reference count handling on the error pathMichal Hocko1-8/+0
2013-07-09Revert "memcg: avoid dangling reference count in creation failure"Michal Hocko1-2/+0
2013-07-09memcg: do not account memory used for cache creationGlauber Costa1-0/+2
2013-07-09memcg: also test for skip accounting at the page allocation levelGlauber Costa1-0/+28
2013-07-09memcg: clean up memcg->nodeinfoJohannes Weiner1-15/+5
2013-07-03mm: memcontrol: factor out reclaim iterator loading and updatingJohannes Weiner1-29/+57
2013-07-03mm, memcg: don't take task_lock in task_in_mem_cgroupDavid Rientjes1-5/+6
2013-06-12mm: memcontrol: fix lockless reclaim hierarchy iteratorJohannes Weiner1-7/+5
2013-06-12memcg: don't initialize kmem-cache destroying work for root cachesAndrey Vagin1-2/+0
2013-05-24mm: memcg: remove incorrect VM_BUG_ON for swap cache pages in unchargeJohannes Weiner1-2/+12
2013-05-07mm, memcg: add rss_huge stat to memory.statDavid Rientjes1-10/+26
2013-04-29Merge branch 'for-3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-31/+49
2013-04-29memcg: take reference before releasing rcu_read_lockLi Zefan1-30/+33
2013-04-29mm, memcg: give exiting processes access to memory reservesDavid Rientjes1-4/+4
2013-04-29memcg: avoid accessing memcg after releasing referenceLi Zefan1-1/+1
2013-04-29memcg: add memory.pressure_level eventsAnton Vorontsov1-0/+29
2013-04-29mm/memcontrol.c: remove unnecessary ;Michel Lespinasse1-1/+1
2013-04-29memcg: do not check for do_swap_account in mem_cgroup_{read,write,reset}Michal Hocko1-9/+0
2013-04-29memcg: further simplify mem_cgroup_iterMichal Hocko1-33/+46
2013-04-29memcg: simplify mem_cgroup_iterMichal Hocko1-27/+25
2013-04-29memcg: relax memcg iter cachingMichal Hocko1-17/+52
2013-04-29memcg: rework mem_cgroup_iter to use cgroup iteratorsMichal Hocko1-18/+68
2013-04-29memcg: keep prev's css alive for the whole mem_cgroup_iterMichal Hocko1-6/+7
2013-04-15memcg: force use_hierarchy if sane_behaviorTejun Heo1-0/+17
2013-04-07memcg: fix memcg_cache_name() to use cgroup_name()Michal Hocko1-31/+32
2013-03-08memcg: initialize kmem-cache destroying work earlierKonstantin Khlebnikov1-2/+6
2013-02-23memcg: stop warning on memcg_propagate_kmemHugh Dickins1-2/+2
2013-02-23memcg: cleanup mem_cgroup_init commentMichal Hocko1-4/+6
2013-02-23memcg: move memcg_stock initialization to mem_cgroup_initMichal Hocko1-8/+12
2013-02-23memcg: move mem_cgroup_soft_limit_tree_init to mem_cgroup_initMichal Hocko1-16/+3
2013-02-23mm: refactor inactive_file_is_low() to use get_lru_size()Johannes Weiner1-11/+0
2013-02-23memcg: avoid dangling reference count in creation failure.Glauber Costa1-0/+2
2013-02-23memcg: increment static branch right after limit setGlauber Costa1-24/+7
2013-02-23memcg: replace cgroup_lock with memcg specific memcg_lockGlauber Costa1-18/+21
2013-02-23memcg: fast hierarchy-aware child testGlauber Costa1-7/+31
2013-02-23memcg: split part of memcg creation to css_onlineGlauber Costa1-22/+40
2013-02-23memcg: prevent changes to move_charge_at_immigrate during task attachGlauber Costa1-13/+19
2013-02-23memcg: reduce the size of struct memcg 244-fold.Glauber Costa1-15/+26
2013-02-23memcg: clean up swap accounting initialization codeMichal Hocko1-18/+12
2013-02-23memcg: do not create memsw files if swap accounting is disabledMichal Hocko1-40/+54
2013-02-23swap: make each swap partition have one address_spaceShaohua Li1-2/+2
2013-02-23mm/memcontrol.c: convert printk(KERN_FOO) to pr_foo()Andrew Morton1-8/+7
2013-02-23memcg, oom: provide more precise dump info while memcg oom happeningSha Zhengju1-10/+37
2013-02-12memcg: fix kmemcg registration for late cachesGlauber Costa1-1/+3
2012-12-20memcg: don't register hotcpu notifier from ->css_alloc()Tejun Heo1-1/+13
2012-12-18slab: propagate tunable valuesGlauber Costa1-4/+6
2012-12-18memcg: aggregate memcg cache values in slabinfoGlauber Costa1-1/+29
2012-12-18memcg/sl[au]b: shrink dead cachesGlauber Costa1-3/+43
2012-12-18memcg/sl[au]b: track all the memcg children of a kmem_cacheGlauber Costa1-2/+47
2012-12-18memcg: destroy memcg cachesGlauber Costa1-0/+63
2012-12-18sl[au]b: allocate objects from memcg cacheGlauber Costa1-0/+3
2012-12-18memcg: skip memcg kmem allocations in specified code regionsGlauber Costa1-3/+54
2012-12-18memcg: infrastructure to match an allocation to the right cacheGlauber Costa1-0/+217
2012-12-18memcg: allocate memory for memcg caches whenever a new memcg appearsGlauber Costa1-16/+191
2012-12-18slab/slub: consider a memcg parameter in kmem_create_cacheGlauber Costa1-0/+51
2012-12-18memcg: execute the whole memcg freeing in free_worker()Glauber Costa1-32/+34
2012-12-18memcg: allow a memcg with kmem charges to be destructedGlauber Costa1-1/+14
2012-12-18memcg: use static branches when code not in useGlauber Costa1-4/+75
2012-12-18memcg: kmem accounting lifecycle managementGlauber Costa1-7/+50
2012-12-18memcg: kmem controller infrastructureGlauber Costa1-0/+170
2012-12-18memcg: kmem accounting basic infrastructureGlauber Costa1-3/+123
2012-12-18memcg: change defines to an enumGlauber Costa1-10/+16
2012-12-18memcg: reclaim when more than one page neededSuleiman Souhlal1-7/+9
2012-12-18memcg: make it possible to use the stock for more than one pageSuleiman Souhlal1-10/+18
2012-12-16Merge tag 'balancenuma-v11' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+5
2012-12-12memcg: do not check for mm in __mem_cgroup_count_vm_eventMichal Hocko1-3/+0
2012-12-12mm, memcg: avoid unnecessary function call when memcg is disabledDavid Rientjes1-2/+4
2012-12-12memcontrol: use N_MEMORY instead N_HIGH_MEMORYLai Jiangshan1-9/+9
2012-12-12Merge branch 'for-3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cg...Linus Torvalds1-95/+96
2012-12-11mm, memcg: make mem_cgroup_out_of_memory() staticDavid Rientjes1-2/+2
2012-12-11mm: numa: Add THP migration for the NUMA working set scanning fault case.Mel Gorman1-2/+5
2012-11-19cgroup: rename ->create/post_create/pre_destroy/destroy() to ->css_alloc/onli...Tejun Heo1-6/+6
2012-11-16memcg: fix hotplugged memory zone oopsHugh Dickins1-11/+35
2012-11-16memcg: oom: fix totalpages calculation for memory.swappiness==0Michal Hocko1-6/+15
2012-11-05Merge branch 'cgroup-rmdir-updates' into cgroup/for-3.8Tejun Heo1-90/+91
2012-11-05cgroup: make ->pre_destroy() return voidTejun Heo1-2/+1
2012-11-05memcg: make mem_cgroup_reparent_charges non failingMichal Hocko1-13/+6
2012-11-05cgroup: remove CGRP_WAIT_ON_RMDIR, cgroup_exclude_rmdir() and cgroup_release_...Tejun Heo1-23/+1
2012-11-05cgroup: kill CSS_REMOVEDTejun Heo1-4/+3
2012-10-29memcg: Simplify mem_cgroup_force_empty_list error handlingMichal Hocko1-28/+48
2012-10-29memcg: root_cgroup cannot reach mem_cgroup_move_parentMichal Hocko1-3/+3
2012-10-29memcg: split mem_cgroup_force_empty into reclaiming and reparenting partsMichal Hocko1-30/+42
2012-10-09memcg: move mem_cgroup_is_root upwardsMichal Hocko1-6/+5
2012-10-09memcg: cleanup kmem tcp ifdefsMichal Hocko1-8/+3
2012-09-14cgroup: mark subsystems with broken hierarchy support and whine if cgroups ar...Tejun Heo1-0/+7
2012-07-31memcg: add mem_cgroup_from_css() helperWanpeng Li1-8/+11
2012-07-31mm: memcg: only check anon swapin page charges for swap cacheJohannes Weiner1-8/+14
2012-07-31mm: memcg: only check swap cache pages for repeated chargingJohannes Weiner1-5/+12
2012-07-31mm: memcg: split swapin charge function into private and public partJohannes Weiner1-9/+15
2012-07-31mm: memcg: remove needless !mm fixup to init_mm when chargingJohannes Weiner1-6/+1
2012-07-31mm: memcg: remove unneeded shmem charge typeJohannes Weiner1-10/+1
2012-07-31mm: memcg: move swapin charge functions above callsitesJohannes Weiner1-36/+32
2012-07-31mm: memcg: only check for PageSwapCache when uncharging anonJohannes Weiner1-9/+4
2012-07-31mm: memcg: push down PageSwapCache check into uncharge entry functionsJohannes Weiner1-6/+12
2012-07-31mm: memcg: fix compaction/migration failing due to memcg limitsJohannes Weiner1-31/+36
2012-07-31mm, memcg: move all oom handling to memcontrol.cDavid Rientjes1-2/+13
2012-07-31mm, oom: reduce dependency on tasklist_lockDavid Rientjes1-3/+0
2012-07-31mm, memcg: introduce own oom handler to iterate only over its own threadsDavid Rientjes1-1/+60
2012-07-31mm/memcg: replace inexistence move_lock_page_cgroup() by move_lock_mem_cgroup...Wanpeng Li1-2/+2
2012-07-31mm/memcg: mem_cgroup_relize_xxx_limit can guarantee memcg->res.limit <= memcg...Wanpeng Li1-2/+2
2012-07-31memcg: rename mem_control_xxx to memcg_xxxWanpeng Li1-4/+4
2012-07-31memcg: fix bad behavior in use_hierarchy fileGlauber Costa1-0/+6
2012-07-31memcg: rename config variablesAndrew Morton1-10/+10
2012-07-31memcg: make mem_cgroup_force_empty_list() return boolKAMEZAWA Hiroyuki1-12/+7
2012-07-31memcg: mem_cgroup_move_parent() doesn't need gfp_maskKAMEZAWA Hiroyuki1-3/+2
2012-07-31memcg: clean up force_empty_list() return value checkKamezawa Hiroyuki1-5/+0
2012-07-31memcg: remove check for signal_pending() during rmdir()Kamezawa Hiroyuki1-3/+0
2012-07-31memcg: remove MEM_CGROUP_CHARGE_TYPE_FORCEKamezawa Hiroyuki1-1/+0
2012-07-31memcg: rename MEM_CGROUP_CHARGE_TYPE_MAPPED as MEM_CGROUP_CHARGE_TYPE_ANONKamezawa Hiroyuki1-8/+8
2012-07-31memcg: rename MEM_CGROUP_STAT_SWAPOUT as MEM_CGROUP_STAT_SWAPKamezawa Hiroyuki1-5/+5
2012-06-20mm: fix kernel-doc warningsWanpeng Li1-2/+2
2012-06-20memcg: fix use_hierarchy css_is_ancestor oops regressionHugh Dickins1-1/+1
2012-05-29memcg: decrement static keys at real destroy timeGlauber Costa1-2/+29
2012-05-29memcg: always free struct memcg through schedule_work()Glauber Costa1-11/+13
2012-05-29mm/memcg: apply add/del_page to lruvecHugh Dickins1-77/+24
2012-05-29mm/memcg: get_lru_size not get_lruvec_sizeHugh Dickins1-5/+5
2012-05-29mm: memcg: print statistics from live countersJohannes Weiner1-102/+66
2012-05-29mm: memcg: group swapped-out statistics counter logicallyJohannes Weiner1-2/+2
2012-05-29mm: memcg: keep ratelimit counter separate from event countersJohannes Weiner1-3/+3
2012-05-29mm: memcg: print statistics directly to seq_fileJohannes Weiner1-28/+27
2012-05-29mm: memcg: convert numa stat to read_seq_string interfaceJohannes Weiner1-20/+3
2012-05-29mm: memcg: remove obsolete statistics array boundary enum itemJohannes Weiner1-2/+1
2012-05-29memcg: don't uncharge in mem_cgroup_move_account()KAMEZAWA Hiroyuki1-14/+6
2012-05-29memcg: move charges to root cgroup if use_hierarchy=0KAMEZAWA Hiroyuki1-23/+11
2012-05-29memcg: use res_counter_uncharge_until() in move_parent()KAMEZAWA Hiroyuki1-6/+36
2012-05-29mm/vmscan: push lruvec pointer into inactive_list_is_low()Konstantin Khlebnikov1-14/+6
2012-05-29mm/vmscan: replace zone_nr_lru_pages() with get_lruvec_size()Konstantin Khlebnikov1-0/+9
2012-05-29mm: add link from struct lruvec to struct zoneKonstantin Khlebnikov1-3/+1