aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
AgeCommit message (Expand)AuthorFilesLines
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
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