aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
AgeCommit message (Expand)AuthorFilesLines
2016-04-25memcg: relocate charge moving from ->attach to ->post_attachTejun Heo1-18/+19
2016-03-17mm: memcontrol: zap oom_info_lockVladimir Davydov1-4/+0
2016-03-17mm: memcontrol: clarify the uncharge_list() loopJohannes Weiner1-0/+4
2016-03-17mm: memcontrol: reclaim and OOM kill when shrinking memory.max below usageJohannes Weiner1-4/+34
2016-03-17mm: memcontrol: reclaim when shrinking memory.high below usageJohannes Weiner1-0/+6
2016-03-17mm: memcontrol: cleanup css_reset callbackVladimir Davydov1-3/+5
2016-03-17mm: workingset: make shadow node shrinker memcg awareVladimir Davydov1-3/+2
2016-03-17mm: memcontrol: zap memcg_kmem_online helperVladimir Davydov1-1/+1
2016-03-17mm: memcontrol: enable kmem accounting for all cgroups in the legacy hierarchyVladimir Davydov1-36/+5
2016-03-17mm: memcontrol: report kernel stack usage in cgroup2 memory.statVladimir Davydov1-0/+2
2016-03-17mm: memcontrol: report slab usage in cgroup2 memory.statVladimir Davydov1-0/+8
2016-03-17mm: memcontrol: make tree_{stat,events} fetch all statsVladimir Davydov1-28/+39
2016-03-17mm: memcontrol: do not bypass slab charge if memcg is offlineVladimir Davydov1-5/+3
2016-03-15mm: memcontrol: drop unnecessary lru locking from mem_cgroup_migrate()Johannes Weiner1-2/+1
2016-03-15mm: simplify lock_page_memcg()Johannes Weiner1-14/+9
2016-03-15mm: migrate: do not touch page->mem_cgroup of live pagesJohannes Weiner1-6/+7
2016-03-15mm: workingset: per-cgroup cache thrash detectionJohannes Weiner1-25/+0
2016-03-15mm: memcontrol: generalize locking for the page->mem_cgroup bindingJohannes Weiner1-20/+14
2016-01-21thp: change pmd_trans_huge_lock() interface to return ptlKirill A. Shutemov1-2/+4
2016-01-20mm: memcontrol: add "sock" to cgroup2 memory.statJohannes Weiner1-0/+6
2016-01-20mm: memcontrol: basic memory statistics in cgroup2 memory controllerJohannes Weiner1-0/+68
2016-01-20mm: memcontrol: do not uncharge old page in page cache replacementJohannes Weiner1-11/+15
2016-01-20mm: free swap cache aggressively if memcg swap is fullVladimir Davydov1-0/+22
2016-01-20mm: vmscan: do not scan anon pages if memcg swap limit is hitVladimir Davydov1-0/+13
2016-01-20mm: memcontrol: charge swap to cgroup2Vladimir Davydov1-7/+111
2016-01-20mm: memcontrol: clean up alloc, online, offline, free functionsJohannes Weiner1-173/+84
2016-01-20mm: memcontrol: flatten struct cg_protoJohannes Weiner1-18/+15
2016-01-20mm: memcontrol: rein in the CONFIG space madnessJohannes Weiner1-49/+4
2016-01-20net: drop tcp_memcontrol.cVladimir Davydov1-8/+90
2016-01-20mm: memcontrol: introduce CONFIG_MEMCG_LEGACY_KMEMJohannes Weiner1-9/+9
2016-01-20mm: memcontrol: allow to disable kmem accounting for cgroup2Vladimir Davydov1-2/+7
2016-01-20mm: memcontrol: account "kmem" consumers in cgroup2 memory controllerJohannes Weiner1-7/+11
2016-01-20mm: memcontrol: move kmem accounting code to CONFIG_MEMCGJohannes Weiner1-28/+41
2016-01-20mm: memcontrol: separate kmem code from legacy tcp accounting codeJohannes Weiner1-21/+12
2016-01-20mm: memcontrol: group kmem init and exit functions togetherJohannes Weiner1-81/+76
2016-01-20mm: memcontrol: give the kmem states more descriptive namesJohannes Weiner1-27/+25
2016-01-20mm: memcontrol: remove double kmem page_counter initJohannes Weiner1-14/+10
2016-01-20mm: memcontrol: drop unused @css argument in memcg_init_kmemJohannes Weiner1-3/+3
2016-01-15memcg: only free spare array when readers are doneMartijn Coenen1-5/+6
2016-01-15cgroup, memcg, writeback: drop spurious rcu locking around mem_cgroup_css_fro...Tejun Heo1-3/+0
2016-01-15mm: rework mapcount accounting to enable 4k mapping of THPsKirill A. Shutemov1-0/+8
2016-01-15mm, thp: remove infrastructure for handling splitting PMDsKirill A. Shutemov1-11/+2
2016-01-15mm, thp: remove compound_lock()Kirill A. Shutemov1-8/+3
2016-01-15memcg: adjust to support new THP refcountingKirill A. Shutemov1-39/+23
2016-01-14mm: memcontrol: switch to the updated jump-label APIJohannes Weiner1-6/+6
2016-01-14mm: memcontrol: hook up vmpressure to socket pressureJohannes Weiner1-14/+3
2016-01-14mm: memcontrol: account socket memory in unified hierarchy memory controllerJohannes Weiner1-24/+98
2016-01-14mm: memcontrol: move socket code for unified hierarchy accountingJohannes Weiner1-74/+74
2016-01-14mm: memcontrol: do not account memory+swap on unified hierarchyJohannes Weiner1-19/+25
2016-01-14mm: memcontrol: generalize the socket accounting jump labelJohannes Weiner1-0/+3
2016-01-14net: tcp_memcontrol: simplify linkage between socket and page counterJohannes Weiner1-35/+22
2016-01-14net: tcp_memcontrol: sanitize tcp memory accounting callbacksJohannes Weiner1-0/+32
2016-01-14net: tcp_memcontrol: protect all tcp_memcontrol calls by jump-labelJohannes Weiner1-31/+25
2016-01-14mm: memcontrol: export root_mem_cgroupJohannes Weiner1-3/+2
2016-01-14memcg: do not allow to disable tcp accounting after limit is setVladimir Davydov1-1/+1
2016-01-14slab: add SLAB_ACCOUNT flagVladimir Davydov1-1/+7
2016-01-12Merge branch 'for-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cg...Linus Torvalds1-1/+1
2015-12-29mm: memcontrol: fix possible memcg leak due to interrupted reclaimVladimir Davydov1-14/+46
2015-12-28cgroup: Fix uninitialized variable warningRoss Zwisler1-1/+1
2015-12-12mm: fix kerneldoc on mem_cgroup_replace_pageHugh Dickins1-1/+1
2015-12-12memcg: fix memory.high targetVladimir Davydov1-1/+1
2015-12-03cgroup: fix handling of multi-destination migration from subtree_control enab...Tejun Heo1-22/+23
2015-11-06mm/memcontrol.c: uninline mem_cgroup_usageAndrew Morton1-1/+1
2015-11-06mm, page_alloc: rename __GFP_WAIT to __GFP_RECLAIMMel Gorman1-1/+1
2015-11-06mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep...Mel Gorman1-3/+3
2015-11-05Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-179/+116
2015-11-05memcg: fix thresholds for 32b architectures.Michal Hocko1-6/+5
2015-11-05mm: page_counter: let page_counter_try_charge() return boolJohannes Weiner1-6/+5
2015-11-05mm: memcontrol: eliminate root memory.currentJohannes Weiner1-1/+4
2015-11-05mm: rename mem_cgroup_migrate to mem_cgroup_replace_pageHugh Dickins1-21/+8
2015-11-05memcg: simplify and inline __mem_cgroup_from_kmemVladimir Davydov1-18/+0
2015-11-05memcg: unify slab and other kmem pages chargingVladimir Davydov1-38/+33
2015-11-05memcg: simplify charging kmem pagesVladimir Davydov1-35/+4
2015-11-05mm/memcontrol.c: fix order calculation in try_charge()Jerome Marchand1-1/+2
2015-11-05memcg: ratify and consolidate over-charge handlingTejun Heo1-49/+20
2015-11-05memcg: punt high overage reclaim to return-to-userland pathTejun Heo1-8/+39
2015-11-05memcg: flatten task_struct->memcg_oomTejun Heo1-8/+8
2015-11-05Merge branch 'for-4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cg...Linus Torvalds1-7/+20
2015-10-24Merge branch 'for-linus' of git://git.kernel.dk/linux-blockLinus Torvalds1-18/+17
2015-10-16memcg: convert threshold to bytesShaohua Li1-0/+1
2015-10-15cgroup: replace cgroup_has_tasks() with cgroup_is_populated()Tejun Heo1-1/+1
2015-10-12writeback: fix incorrect calculation of available memory for memcg domainsTejun Heo1-18/+17
2015-10-01memcg: remove pcp_counter_lockGreg Thelen1-1/+0
2015-10-01memcg: make mem_cgroup_read_stat() unsignedGreg Thelen1-12/+18
2015-09-22cgroup, memcg, cpuset: implement cgroup_taskset_for_each_leader()Tejun Heo1-2/+15
2015-09-21memcg: generate file modified notifications on "memory.events"Tejun Heo1-0/+1
2015-09-18cgroup: replace cftype->mode with CFTYPE_WORLD_WRITABLETejun Heo1-2/+1
2015-09-18cgroup: replace cgroup_on_dfl() tests in controllers with cgroup_subsys_on_dfl()Tejun Heo1-2/+2
2015-09-10memcg: zap try_get_mem_cgroup_from_pageVladimir Davydov1-36/+12
2015-09-10memcg: add page_cgroup_ino helperVladimir Davydov1-0/+28
2015-09-08memcg: move memcg_proto_active from sock.hMichal Hocko1-1/+1
2015-09-08memcg, tcp_kmem: check for cg_proto in sock_update_memcgMichal Hocko1-2/+1
2015-09-08memcg: restructure mem_cgroup_can_attach()Tejun Heo1-29/+32
2015-09-08memcg: export struct mem_cgroupMichal Hocko1-313/+2
2015-09-08mm, oom: pass an oom order of -1 when triggered by sysrqDavid Rientjes1-1/+0
2015-09-08mm, oom: organize oom context into structDavid Rientjes1-5/+11
2015-09-04mm: memcontrol: bring back the VM_BUG_ON() in mem_cgroup_swapout()Sebastian Andrzej Siewior1-1/+7
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