aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
AgeCommit message (Expand)AuthorFilesLines
2015-06-25Merge branch 'for-4.2/writeback' of git://git.kernel.dk/linux-blockLinus Torvalds1-51/+172
2015-06-24memcg: convert mem_cgroup->under_oom from atomic_t to intTejun Heo1-8/+21
2015-06-24memcg: remove unused mem_cgroup->oom_wakeupsTejun Heo1-9/+1
2015-06-24mm: oom_kill: simplify OOM killer lockingJohannes Weiner1-7/+11
2015-06-24mm: oom_kill: clean up victim marking and exiting interfacesJohannes Weiner1-1/+1
2015-06-10mm: memcontrol: fix false-positive VM_BUG_ON() on -rtJohannes Weiner1-3/+1
2015-06-10memcg: do not call reclaim if !__GFP_WAITVladimir Davydov1-0/+2
2015-06-02writeback: implement memcg writeback domain based throttlingTejun Heo1-0/+43
2015-06-02writeback: reset wb_domain->dirty_limit[_tstmp] when memcg domain size changesTejun Heo1-0/+12
2015-06-02writeback: implement memcg wb_domainTejun Heo1-0/+39
2015-06-02memcg: make mem_cgroup_read_{stat|event}() iterate possible cpus instead of o...Tejun Heo1-49/+2
2015-06-02writeback: make backing_dev_info host cgroup-specific bdi_writebacksTejun Heo1-1/+18
2015-06-02memcg: implement mem_cgroup_css_from_page()Tejun Heo1-0/+33
2015-06-02memcg: add mem_cgroup_root_cssTejun Heo1-0/+2
2015-06-02memcg: add per cgroup dirty page accountingGreg Thelen1-1/+23
2015-04-15mm: remove rest of ACCESS_ONCE() usagesJason Low1-9/+9
2015-04-15memcg: remove obsolete commentVladimir Davydov1-5/+0
2015-04-15memcg: zap mem_cgroup_lookup()Vladimir Davydov1-16/+8
2015-04-14memcg: print cgroup information when system panics due to panic_on_oomBalasubramani Vivekanandan1-7/+9
2015-04-14mm: memcontrol: let mem_cgroup_move_account() have effect only if MMU enabledChen Gang1-86/+86
2015-04-14mm: memcontrol: update copyright noticeJohannes Weiner1-0/+6
2015-03-12memcg: disable hierarchy support if bound to the legacy cgroup hierarchyVladimir Davydov1-1/+3
2015-02-28mm: memcontrol: use "max" instead of "infinity" in control knobsJohannes Weiner1-6/+6
2015-02-28memcg: fix low limit calculationMichal Hocko1-2/+2
2015-02-12memcg: cleanup static keys decrementVladimir Davydov1-33/+5
2015-02-12memcg: reparent list_lrus and free kmemcg_id on css offlineVladimir Davydov1-5/+34
2015-02-12memcg: free memcg_caches slot on css offlineVladimir Davydov1-6/+32
2015-02-12slab: embed memcg_cache_params to kmem_cacheVladimir Davydov1-6/+5
2015-02-12list_lru: introduce per-memcg listsVladimir Davydov1-0/+20
2015-02-12memcg: add rwsem to synchronize against memcg_caches arrays relocationVladimir Davydov1-10/+19
2015-02-12memcg: rename some cache id related variablesVladimir Davydov1-10/+9
2015-02-12vmscan: per memory cgroup slab shrinkersVladimir Davydov1-1/+1
2015-02-11memcg: cleanup preparation for page table walkNaoya Horiguchi1-33/+16
2015-02-11mm: memcontrol: consolidate swap controller codeJohannes Weiner1-139/+125
2015-02-11mm: memcontrol: consolidate memory controller initializationJohannes Weiner1-35/+25
2015-02-11mm: memcontrol: simplify soft limit tree init codeJohannes Weiner1-9/+8
2015-02-11oom, PM: make OOM detection in the freezer path racelessMichal Hocko1-1/+1
2015-02-11oom: add helpers for setting and clearing TIF_MEMDIEMichal Hocko1-1/+1
2015-02-11mm: memcontrol: fold move_anon() and move_file()Johannes Weiner1-31/+18
2015-02-11mm: memcontrol: default hierarchy interface for memoryJohannes Weiner1-11/+218
2015-02-11mm: page_counter: pull "-1" handling out of page_counter_memparse()Johannes Weiner1-2/+2
2015-02-11memcg: add BUILD_BUG_ON() for string tablesGreg Thelen1-0/+4
2015-02-11vmscan: force scan offline memory cgroupsVladimir Davydov1-0/+14
2015-02-11mm: memcontrol: track move_lock state internallyJohannes Weiner1-29/+39
2015-02-10memcg: zap memcg_slab_caches and memcg_slab_mutexVladimir Davydov1-141/+15
2015-02-10memcg: zap memcg_name argument of memcg_create_kmem_cacheVladimir Davydov1-4/+1
2015-02-10memcg: zap __memcg_{charge,uncharge}_slabVladimir Davydov1-18/+3
2015-02-10mm: remove rest usage of VM_NONLINEAR and pte_file()Kirill A. Shutemov1-5/+2
2015-02-05memcg, shmem: fix shmem migration to use lrucareMichal Hocko1-1/+1
2015-01-26memcg: remove extra newlines from memcg oom kill logGreg Thelen1-2/+2
2015-01-08memcg: fix destination cgroup leak on task charges migrationVladimir Davydov1-12/+0
2015-01-08mm: memcontrol: switch soft limit default back to infinityJohannes Weiner1-1/+4
2014-12-13mm/memcontrol.c: remove unused mem_cgroup_lru_names_not_uptodate()Rickard Strandqvist1-5/+2
2014-12-13memcg: fix possible use-after-free in memcg_kmem_get_cache()Vladimir Davydov1-35/+16
2014-12-13mm/memcontrol.c: fix defined but not used compiler warningMichele Curti1-1/+2
2014-12-13oom: don't assume that a coredumping thread will exit soonOleg Nesterov1-1/+1
2014-12-13mm/memcontrol.c: remove the unused arg in __memcg_kmem_get_cache()Zhang Zhen1-2/+1
2014-12-13memcg: turn memcg_kmem_skip_account into a bit fieldVladimir Davydov1-33/+2
2014-12-13memcg: only check memcg_kmem_skip_account in __memcg_kmem_get_cacheVladimir Davydov1-28/+0
2014-12-13memcg: zap kmem_account_flagsVladimir Davydov1-21/+10
2014-12-13memcg: do not abuse memcg_kmem_skip_accountVladimir Davydov1-7/+0
2014-12-13memcg: don't check mm in __memcg_kmem_{get_cache,newpage_charge}Vladimir Davydov1-2/+2
2014-12-13memcg: __mem_cgroup_free: remove stale disarm_static_keys commentVladimir Davydov1-11/+0
2014-12-10Merge branch 'akpm' (patchbomb from Andrew)Linus Torvalds1-1201/+505
2014-12-10mm: move page->mem_cgroup bad page handling into generic codeJohannes Weiner1-15/+0
2014-12-10mm: page_cgroup: rename file to mm/swap_cgroup.cJohannes Weiner1-1/+1
2014-12-10mm: embed the memcg pointer directly into struct pageJohannes Weiner1-89/+35
2014-12-10mm: memcontrol: remove stale page_cgroup_lock commentJohannes Weiner1-4/+0
2014-12-10mm, memcg: fix potential undefined behaviour in page stat accountingMichal Hocko1-4/+4
2014-12-10mm: memcontrol: drop bogus RCU locking from mem_cgroup_same_or_subtree()Johannes Weiner1-43/+16
2014-12-10mm: memcontrol: pull the NULL check from __mem_cgroup_same_or_subtree()Johannes Weiner1-1/+1
2014-12-10mm: memcontrol: remove bogus NULL check after mem_cgroup_from_task()Johannes Weiner1-3/+2
2014-12-10mm: memcontrol: shorten the page statistics update slowpathJohannes Weiner1-13/+8
2014-12-10memcg: use generic slab iterators for showing slabinfoVladimir Davydov1-21/+4
2014-12-10memcg: remove mem_cgroup_reclaimable check from soft reclaimVladimir Davydov1-43/+0
2014-12-10mm: memcontrol: fold mem_cgroup_start_move()/mem_cgroup_end_move()Johannes Weiner1-28/+12
2014-12-10mm: memcontrol: don't pass a NULL memcg to mem_cgroup_end_move()Johannes Weiner1-7/+3
2014-12-10mm: memcontrol: inline memcg->move_lock lockingJohannes Weiner1-22/+6
2014-12-10mm: memcontrol: remove unnecessary PCG_USED pc->mem_cgroup valid flagJohannes Weiner1-66/+41
2014-12-10mm: memcontrol: remove unnecessary PCG_MEM memory charge flagJohannes Weiner1-3/+1
2014-12-10mm: memcontrol: remove unnecessary PCG_MEMSW memory+swap charge flagJohannes Weiner1-22/+12
2014-12-10mm: memcontrol: uncharge pages on swapoutJohannes Weiner1-4/+14
2014-12-10mm: memcontrol: micro-optimize mem_cgroup_split_huge_fixup()Michal Hocko1-1/+3
2014-12-10memcg: remove activate_kmem_mutexVladimir Davydov1-19/+5
2014-12-10mm: memcontrol: clarify migration where old page is unchargedJohannes Weiner1-1/+6
2014-12-10mm: memcontrol: update mem_cgroup_page_lruvec() documentationJohannes Weiner1-8/+8
2014-12-10memcg: simplify unreclaimable groups handling in soft limit reclaimVladimir Davydov1-22/+4
2014-12-10mm: memcontrol: remove synchronous stock draining codeJohannes Weiner1-40/+6
2014-12-10mm: memcontrol: continue cache reclaim from offlined groupsJohannes Weiner1-217/+1
2014-12-10mm: memcontrol: remove obsolete kmemcg pinning tricksJohannes Weiner1-73/+1
2014-12-10mm: memcontrol: take a css reference for each charged pageJohannes Weiner1-4/+17
2014-12-10mm: memcontrol: convert reclaim iterator to simple css refcountingJohannes Weiner1-174/+84
2014-12-10mm: memcontrol: lockless page countersJohannes Weiner1-338/+295
2014-12-08Merge branch 'iov_iter' into for-nextAl Viro1-48/+57
2014-11-19kill f_dentry usesAl Viro1-2/+2
2014-10-29mm: memcontrol: fix missed end-writeback page accountingJohannes Weiner1-48/+57
2014-10-09memcg: zap memcg_can_account_kmemVladimir Davydov1-9/+3
2014-10-09mm: memcontrol: fix transparent huge page allocations under pressureJohannes Weiner1-52/+17
2014-10-09mm: memcontrol: simplify detecting when the memory+swap limit is hitJohannes Weiner1-34/+13
2014-10-09memcg: move memcg_update_cache_size() to slab_common.cVladimir Davydov1-49/+0
2014-10-09memcg: don't call memcg_update_all_caches if new cache id fitsVladimir Davydov1-64/+72
2014-10-09memcg: move memcg_{alloc,free}_cache_params to slab_common.cVladimir Davydov1-37/+4
2014-10-02mm: memcontrol: do not iterate uninitialized memcgsJohannes Weiner1-5/+31
2014-09-05mm: memcontrol: revert use of root_mem_cgroup res_counterJohannes Weiner1-25/+78
2014-08-08mm: memcontrol: avoid charge statistics churn during page migrationJohannes Weiner1-25/+10
2014-08-08mm: memcontrol: use page lists for uncharge batchingJohannes Weiner1-97/+109
2014-08-08mm: memcontrol: rewrite uncharge APIJohannes Weiner1-507/+321
2014-08-08mm: memcontrol: rewrite charge APIJohannes Weiner1-240/+167
2014-08-06mm: memcontrol: clean up reclaim size variable use in try_charge()Johannes Weiner1-3/+3
2014-08-06mm: memcontrol: do not acquire page_cgroup lock for kmem pagesJohannes Weiner1-14/+7
2014-08-06mm: memcontrol: remove ordering between pc->mem_cgroup and PageCgroupUsedJohannes Weiner1-9/+0
2014-08-06mm: memcontrol: use root_mem_cgroup res_counterJohannes Weiner1-108/+44
2014-08-06mm: memcontrol: catch root bypass in move prechargeJohannes Weiner1-1/+8
2014-08-06mm: memcontrol: simplify move precharge functionJohannes Weiner1-33/+15
2014-08-06mm: memcontrol: remove explicit OOM parameter in charge pathMichal Hocko1-22/+10
2014-08-06mm: memcontrol: retry reclaim for oom-disabled and __GFP_NOFAIL chargesJohannes Weiner1-4/+4
2014-08-06mm: memcontrol: reclaim at least once for __GFP_NORETRYJohannes Weiner1-3/+3
2014-08-06mm: memcontrol: rearrange charging fast pathJohannes Weiner1-16/+17
2014-08-06mm: memcontrol: fold mem_cgroup_do_charge()Johannes Weiner1-102/+64
2014-08-04Merge branch 'for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-6/+31
2014-07-30memcg: oom_notify use-after-free fixMichal Hocko1-0/+4
2014-07-15cgroup: distinguish the default and legacy hierarchies when handling cftypesTejun Heo1-1/+0
2014-07-15cgroup: replace cgroup_add_cftypes() with cgroup_add_legacy_cftypes()Tejun Heo1-1/+2
2014-07-15cgroup: rename cgroup_subsys->base_cftypes to ->legacy_cftypesTejun Heo1-1/+1
2014-07-09cgroup: remove sane_behavior support on non-default hierarchiesTejun Heo1-3/+4
2014-07-08blkcg, memcg: make blkcg depend on memcg on the default hierarchyTejun Heo1-0/+24
2014-06-09Merge branch 'for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-90/+98
2014-06-06mm: memcontrol: remove unnecessary memcg argument from soft limit functionsJohannes Weiner1-20/+14
2014-06-06mm: memcontrol: clean up memcg zoneinfo lookupJianyu Zhan1-50/+39
2014-06-06vmscan: memcg: always use swappiness of the reclaimed memcgMichal Hocko1-1/+1
2014-06-04mm, memcg: periodically schedule when emptying page listHugh Dickins1-1/+1
2014-06-04memcg: cleanup kmem cache creation/destruction functions namingVladimir Davydov1-32/+28
2014-06-04memcg: memcg_kmem_create_cache: make memcg_name_buf statically allocatedVladimir Davydov1-7/+2
2014-06-04memcg: get rid of memcg_create_cache_nameVladimir Davydov1-24/+9
2014-06-04memcg: correct comments for __mem_cgroup_begin_update_page_statQiang Huang1-5/+4
2014-06-04memcg: fold mem_cgroup_stolenQiang Huang1-18/+7
2014-06-04mm/memcontrol.c: remove NULL assignment on staticFabian Frederick1-2/+2
2014-06-04mm: replace __get_cpu_var uses with this_cpu_ptrChristoph Lameter1-1/+1
2014-06-04memcg, slab: simplify synchronization schemeVladimir Davydov1-91/+59
2014-06-04memcg, slab: merge memcg_{bind,release}_pages to memcg_{un}charge_slabVladimir Davydov1-2/+20
2014-06-04memcg, slab: do not schedule cache destruction when last page goes awayVladimir Davydov1-61/+2
2014-06-04memcg: do not hang on OOM when killed by userspace OOM access to memory reservesMichal Hocko1-1/+2
2014-06-04memcg: un-export __memcg_kmem_get_cacheVladimir Davydov1-1/+0
2014-06-04mm: memcontrol: remove hierarchy restrictions for swappiness and oom_controlJohannes Weiner1-22/+7
2014-06-04mm: get rid of __GFP_KMEMCGVladimir Davydov1-5/+6
2014-06-04sl[au]b: charge slabs to kmemcg explicitlyVladimir Davydov1-2/+2
2014-05-23memcg: fix swapcache charge from kernel thread contextMichal Hocko1-13/+14
2014-05-16memcg: update memcg_has_children() to use css_next_child()Tejun Heo1-10/+21
2014-05-16memcg: remove tasks/children test from mem_cgroup_force_empty()Michal Hocko1-7/+0
2014-05-16cgroup: remove css_parent()Tejun Heo1-7/+7
2014-05-13cgroup: replace cftype->trigger() with cftype->write()Tejun Heo1-16/+18
2014-05-13cgroup: replace cftype->write_string() with cftype->write()Tejun Heo1-21/+25
2014-05-13cgroup: rename css_tryget*() to css_tryget_online*()Tejun Heo1-22/+24
2014-05-06mm: filemap: update find_get_pages_tag() to deal with shadow entriesJohannes Weiner1-8/+12
2014-05-04cgroup, memcg: implement css->id and convert css_from_id() to use itTejun Heo1-2/+2
2014-05-04cgroup, memcg: allocate cgroup ID from 1Tejun Heo1-6/+2
2014-04-07memcg, slab: do not destroy children caches if parent has aliasesVladimir Davydov1-7/+6
2014-04-07memcg, slab: unregister cache from memcg before starting to destroy itVladimir Davydov1-6/+6
2014-04-07memcg, slab: separate memcg vs root cache creation pathsVladimir Davydov1-6/+1
2014-04-07memcg, slab: cleanup memcg cache creationVladimir Davydov1-50/+39
2014-04-07memcg: rename high level charging functionsMichal Hocko1-2/+2
2014-04-07memcg: sanitize __mem_cgroup_try_charge() call protocolJohannes Weiner1-105/+102
2014-04-07memcg: do not replicate get_mem_cgroup_from_mm in __mem_cgroup_try_chargeMichal Hocko1-44/+6
2014-04-07memcg: get_mem_cgroup_from_mm()Johannes Weiner1-14/+4
2014-04-07memcg: remove unnecessary !mm check from try_get_mem_cgroup_from_mm()Johannes Weiner1-7/+0
2014-04-07mm: memcg: push !mm handling out to page cache charge functionJohannes Weiner1-9/+6
2014-04-07mm: memcg: inline mem_cgroup_charge_common()Johannes Weiner1-24/+16
2014-04-07mm: memcg: remove mem_cgroup_move_account_page_stat()Johannes Weiner1-16/+12
2014-04-07mm: memcg: remove unnecessary preemption disablingJohannes Weiner1-11/+4
2014-04-03Merge branch 'for-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-73/+37
2014-03-19cgroup: drop const from @buffer of cftype->write_string()Tejun Heo1-2/+2
2014-03-04memcg: reparent charges of children before processing parentFilipe Brandenburger1-1/+9
2014-03-04memcg: fix endless loop in __mem_cgroup_iter_next()Hugh Dickins1-2/+2
2014-02-25memcg: change oom_info_lock to mutexMichal Hocko1-3/+3
2014-02-13cgroup: implement cgroup_has_tasks() and unexport cgroup_task_count()Tejun Heo1-2/+2
2014-02-12cgroup: remove cgroup->nameTejun Heo1-50/+18
2014-02-11cgroup: improve css_from_dir() into css_tryget_from_dir()Tejun Heo1-9/+7
2014-02-08cgroup: clean up cgroup_subsys names and initializationTejun Heo1-12/+10
2014-01-30memcg: fix mutex not unlocked on memcg_create_kmem_cache fail pathVladimir Davydov1-4/+3
2014-01-23memcg: remove unused code from kmem_cache_destroy_work_funcVladimir Davydov1-4/+2
2014-01-23memcg: fix css reference leak and endless loop in mem_cgroup_iterMichal Hocko1-5/+13
2014-01-23memcg: fix endless loop caused by mem_cgroup_iterMichal Hocko1-3/+14
2014-01-23mm, oom: prefer thread group leaders for display purposesDavid Rientjes1-7/+12
2014-01-23mm/memcg: iteration skip memcgs not yet fully initializedHugh Dickins1-4/+2
2014-01-23mm/memcg: fix last_dead_count memory wastageHugh Dickins1-1/+1
2014-01-23memcg: rework memcg_update_kmem_limit synchronizationVladimir Davydov1-91/+105
2014-01-23memcg: remove KMEM_ACCOUNTED_ACTIVATED flagVladimir Davydov1-27/+2
2014-01-23memcg, slab: RCU protect memcg_params for root cachesVladimir Davydov1-7/+8
2014-01-23memcg: get rid of kmem_cache_dup()Vladimir Davydov1-31/+8
2014-01-23memcg, slab: fix races in per-memcg cache creation/destructionVladimir Davydov1-9/+14
2014-01-23memcg: fix possible NULL deref while traversing memcg_slab_caches listVladimir Davydov1-7/+18
2014-01-23memcg, slab: fix barrier usage when accessing memcg_cachesVladimir Davydov1-14/+10
2014-01-23memcg, slab: clean up memcg cache initialization/destructionVladimir Davydov1-34/+30
2014-01-23memcg, slab: kmem_cache_create_memcg(): fix memleak on fail pathVladimir Davydov1-3/+8
2014-01-23mm: dump page when hitting a VM_BUG_ON using VM_BUG_ON_PAGESasha Levin1-14/+14
2014-01-23memcg: do not use vmalloc for mem_cgroup allocationsVladimir Davydov1-22/+6
2014-01-21Merge branch 'akpm' (incoming from Andrew)Linus Torvalds1-7/+10
2014-01-21Merge branch 'for-3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-74/+352
2014-01-21memcg, oom: lock mem_cgroup_print_oom_infoMichal Hocko1-5/+7
2014-01-21memcg: make memcg_update_cache_sizes() staticVladimir Davydov1-1/+1