aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
AgeCommit message (Expand)AuthorFilesLines
2018-09-05memcg: remove memcg_cgroup::id from IDR on mem_cgroup_css_alloc() failureKirill Tkhai1-4/+11
2018-07-25mm: memcg: fix use after free in mem_cgroup_iter()Jing Xia1-1/+1
2018-06-21mm: memcg: add __GFP_NOWARN in __memcg_schedule_kmem_cache_create()Minchan Kim1-1/+1
2018-05-16memcg: fix per_node_info cleanupMichal Hocko1-0/+3
2018-02-13Revert "defer call to mem_cgroup_sk_alloc()"Roman Gushchin1-0/+14
2017-12-05mm, memcg: fix mem_cgroup_swapout() for THPsShakeel Butt1-1/+1
2017-10-09net: memcontrol: defer call to mem_cgroup_sk_alloc()Eric Dumazet1-15/+0
2017-10-03mm/memcg: avoid page count check for zone deviceJérôme Glisse1-1/+2
2017-10-03mm, memcg: remove hotplug locking from try_chargeMichal Hocko1-5/+15
2017-09-08mem/memcg: cache rightmost nodeDavidlohr Bueso1-5/+18
2017-09-08mm: memcontrol: use per-cpu stocks for socket memory unchargingRoman Gushchin1-2/+4
2017-09-08mm/device-public-memory: device memory cache coherent with CPUJérôme Glisse1-5/+7
2017-09-08mm/memcontrol: support MEMORY_DEVICE_PRIVATEJérôme Glisse1-4/+48
2017-09-08mm/memcontrol: allow to uncharge page without using page->lru fieldJérôme Glisse1-76/+92
2017-09-08mm: thp: check pmd migration entry in common pathZi Yan1-0/+5
2017-09-06Merge branch 'for-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-1/+1
2017-09-06mm: replace TIF_MEMDIE checks by tsk_is_oom_victimMichal Hocko1-1/+1
2017-09-06memcg, THP, swap: make mem_cgroup_swapout() support THPHuang Ying1-8/+15
2017-09-06memcg, THP, swap: avoid to duplicated charge THP in swap cacheHuang Ying1-1/+1
2017-09-06memcg, THP, swap: support move mem cgroup charge for THP swapped outHuang Ying1-2/+5
2017-09-06mm: memcontrol: use int for event/state parameter in several functionsMatthias Kaehlcke1-1/+3
2017-09-06mm, memcg: reset memory.low during memcg offliningRoman Gushchin1-0/+2
2017-08-18mm: memcontrol: fix NULL pointer crash in test_clear_page_writeback()Johannes Weiner1-12/+31
2017-07-21cgroup: add @flags to css_task_iter_start() and implement CSS_TASK_ITER_PROCSTejun Heo1-1/+1
2017-07-10mm, memcg: fix potential undefined behavior in mem_cgroup_event_ratelimit()Michal Hocko1-1/+1
2017-07-10mm/memcontrol: exclude @root from checks in mem_cgroup_lowSean Christopherson1-18/+32
2017-07-06mm: memcontrol: per-lruvec stats infrastructureJohannes Weiner1-1/+10
2017-07-06mm: memcontrol: use the node-native slab memory countersJohannes Weiner1-4/+4
2017-07-06mm/oom_kill: count global and memory cgroup oom killsKonstantin Khlebnikov1-0/+2
2017-07-06mm: per-cgroup memory reclaim statsRoman Gushchin1-0/+10
2017-07-06mm, THP, swap: delay splitting THP during swap outHuang Ying1-24/+26
2017-06-20sched/wait: Disambiguate wq_entry->task_list and wq_head->task_list namingIngo Molnar1-1/+1
2017-06-20sched/wait: Rename wait_queue_t => wait_queue_entry_tIngo Molnar1-4/+4
2017-05-12hwpoison, memcg: forcibly uncharge LRU pagesMichal Hocko1-1/+1
2017-05-03mm: memcontrol: use node page state naming scheme for memcgJohannes Weiner1-19/+19
2017-05-03mm: memcontrol: re-use node VM page state enumJohannes Weiner1-67/+68
2017-05-03mm: memcontrol: re-use global VM event enumJohannes Weiner1-25/+28
2017-05-03mm: memcontrol: clean up memory.events counting functionJohannes Weiner1-4/+4
2017-05-03mm: vmscan: fix IO/refault regression in cache workingset transitionJohannes Weiner1-17/+7
2017-05-03mm: memcontrol: provide shmem statisticsJohannes Weiner1-8/+20
2017-03-09mm: do not call mem_cgroup_free() from within mem_cgroup_alloc()Tahsin Erdogan1-3/+8
2017-03-09mm/cgroup: avoid panic when init with low memoryLaurent Dufour1-2/+5
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-02-24mm: remove shmem_mapping() shmem_zero_setup() duplicatesHugh Dickins1-0/+1
2017-02-22slab: use memcg_kmem_cache_wq for slab destruction operationsTejun Heo1-8/+8
2017-02-22slab: link memcg kmem_caches on their associated memory cgroupTejun Heo1-3/+4
2017-01-24mm, memcg: do not retry precharge chargesDavid Rientjes1-2/+2
2017-01-10mm, memcg: fix the active list aging for lowmem requests when memcg is enabledMichal Hocko1-10/+8
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-12Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+14
2016-12-12mm: memcontrol: use special workqueue for creating per-memcg cachesVladimir Davydov1-1/+14
2016-11-09mm/memcg: Convert to hotplug state machineSebastian Andrzej Siewior1-16/+8
2016-10-27mm: memcontrol: do not recurse in direct reclaimJohannes Weiner1-0/+9
2016-10-07mm: memcontrol: consolidate cgroup socket trackingJohannes Weiner1-10/+13
2016-10-07mm, swap: use offset of swap entry as key of swap cacheHuang Ying1-2/+3
2016-10-07mm/memcontrol.c: make the walk_page_range() limit obviousJames Morse1-2/+4
2016-10-07mm: memcontrol: add sanity checks for memcg->id.ref on get/putVladimir Davydov1-1/+5
2016-10-07mm: oom: deduplicate victim selection code for memcg and global oomVladimir Davydov1-72/+42
2016-09-19mm: memcontrol: make per-cpu charge cache IRQ-safe for socket accountingJohannes Weiner1-9/+22
2016-08-26mm: memcontrol: avoid unused function warningArnd Bergmann1-18/+18
2016-08-11mm: memcontrol: fix memcg id ref counter on swap charge moveVladimir Davydov1-6/+18
2016-08-11mm: memcontrol: fix swap counter leak on swapout from offline cgroupVladimir Davydov1-6/+38
2016-08-09mm: memcontrol: only mark charged pages with PageKmemcgVladimir Davydov1-2/+12
2016-08-02memcg: put soft limit reclaim out of way if the excess tree is emptyMichal Hocko1-0/+9
2016-07-28mm: fix memcg stack accounting for sub-page stacksAndy Lutomirski1-1/+1
2016-07-28mm, vmscan: Update all zone LRU sizes before updating memcgMel Gorman1-4/+1
2016-07-28mm, memcg: move memcg limit enforcement from zones to nodesMel Gorman1-107/+83
2016-07-28mm, vmscan: make shrink_node decisions more node-centricMel Gorman1-2/+2
2016-07-28mm, vmscan: move LRU lists to nodeMel Gorman1-8/+9
2016-07-28mm, vmscan: move lru_lock to the nodeMel Gorman1-3/+3
2016-07-28mm: fix vm-scalability regression in cgroup-aware workingset codeJohannes Weiner1-42/+0
2016-07-28mm, oom: fortify task_will_free_mem()Michal Hocko1-2/+2
2016-07-26mm: memcontrol: fix documentation for compound parameterLi RongQing1-1/+4
2016-07-26mm: memcontrol: remove BUG_ON in uncharge_listLi RongQing1-1/+0
2016-07-26mm,oom: remove unused argument from oom_scan_process_thread().Tetsuo Handa1-1/+1
2016-07-26mm: memcontrol: teach uncharge_list to deal with kmem pagesVladimir Davydov1-18/+24
2016-07-26mm: memcontrol: cleanup kmem charge functionsVladimir Davydov1-20/+55
2016-07-26mm: oom: add memcg to oom_controlVladimir Davydov1-2/+3
2016-07-26mm/memcontrol.c: remove the useless parameter for mc_handle_swap_pteLi RongQing1-3/+3
2016-07-23mm: memcontrol: fix cgroup creation failure after many small jobsJohannes Weiner1-7/+75
2016-06-24memcg: css_alloc should return an ERR_PTR value on errorTejun Heo1-1/+1
2016-06-24memcg: mem_cgroup_migrate() may be called with irq disabledTejun Heo1-2/+3
2016-06-09revert "mm: memcontrol: fix possible css ref leak on oom"Andrew Morton1-1/+1
2016-06-03memcg: add RCU locking around css_for_each_descendant_pre() in memcg_offline_...Tejun Heo1-0/+3
2016-05-27mm/memcontrol.c: move comments for get_mctgt_type() to proper positionLi RongQing1-18/+19
2016-05-27mm/memcontrol.c: fix the margin computation in mem_cgroup_margin()Li RongQing1-0/+2
2016-05-26memcg: fix mem_cgroup_out_of_memory() return value.Tetsuo Handa1-0/+2
2016-05-23mm: memcontrol: fix possible css ref leak on oomVladimir Davydov1-1/+1
2016-05-20memcg: fix stale mem_cgroup_force_empty() commentGreg Thelen1-2/+1
2016-05-19oom, oom_reaper: try to reap tasks which skip regular OOM killer pathMichal Hocko1-0/+1
2016-05-19mm: update_lru_size do the __mod_zone_page_stateHugh Dickins1-0/+2
2016-05-19mm: update_lru_size warn and reset bad lru_sizeHugh Dickins1-4/+20
2016-05-19mm/memcontrol.c:mem_cgroup_select_victim_node(): clarify commentMichal Hocko1-4/+3
2016-05-19include/linux/nodemask.h: create next_node_in() helperAndrew Morton1-3/+1
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