aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
AgeCommit message (Expand)AuthorFilesLines
2019-03-05mm/memcontrol.c: fix bad line in commentQian Cai1-1/+1
2019-03-05mm: remove zone_lru_lock() function, access ->lru_lock directlyAndrey Ryabinin1-7/+7
2019-03-05numa: make "nr_node_ids" unsigned intAlexey Dobriyan1-1/+1
2019-03-05mm: memcontrol: expose THP events on a per-memcg basisChris Down1-0/+16
2019-03-05memcg: killed threads should not invoke memcg OOM killerTetsuo Handa1-5/+14
2019-03-05mm, memcg: extract memcg maxable seq_file logic to seq_show_memcg_tunableChris Down1-45/+19
2019-03-05mm, memcg: create mem_cgroup_from_seqChris Down1-12/+12
2019-03-05mm/memcontrol.c: use struct_size() in kmalloc()Gustavo A. R. Silva1-2/+1
2019-03-05memcg: localize memcg_kmem_enabled() checkShakeel Butt1-8/+8
2018-12-28memcg, oom: notify on oom killer invocation from the charge pathMichal Hocko1-2/+18
2018-12-28mm, oom: add oom victim's memcg to the oom context informationyuzhoujian1-13/+20
2018-11-03mm: handle no memcg case in memcg_kmem_charge() properlyRoman Gushchin1-1/+1
2018-10-28Merge branch 'xarray' of git://git.infradead.org/users/willy/linux-daxLinus Torvalds1-1/+1
2018-10-26mm: don't raise MEMCG_OOM event due to failed high-order allocationRoman Gushchin1-2/+2
2018-10-26mm/memcontrol.c: convert mem_cgroup_id::ref to refcount_t typeKirill Tkhai1-6/+4
2018-10-26memcg: remove memcg_kmem_skip_accountShakeel Butt1-23/+1
2018-10-26mm/memcontrol.c: fix memory.stat item orderingJohannes Weiner1-7/+7
2018-10-26mm: drain memcg stocks on css offliningRoman Gushchin1-0/+2
2018-09-29xarray: Replace exceptional entriesMatthew Wilcox1-1/+1
2018-09-04mm: memcontrol: print proper OOM header when no eligible victim leftJohannes Weiner1-2/+0
2018-08-22mm, oom: introduce memory.oom.groupRoman Gushchin1-0/+93
2018-08-22memcg: reduce memcg tree traversals for stats collectionShakeel Butt1-77/+73
2018-08-17mm/vmscan.c: clear shrinker bit if there are no objects related to memcgKirill Tkhai1-0/+2
2018-08-17mm/list_lru.c: set bit in memcg shrinker bitmap on first list_lru item appear...Kirill Tkhai1-0/+13
2018-08-17mm/memcontrol.c: export mem_cgroup_is_root()Kirill Tkhai1-5/+0
2018-08-17mm/list_lru: pass dst_memcg argument to memcg_drain_list_lru_node()Kirill Tkhai1-1/+1
2018-08-17mm, memcg: assign memcg-aware shrinkers bitmap to memcgKirill Tkhai1-0/+124
2018-08-17mm/memcontrol.c: move up for_each_mem_cgroup{, _tree} definesKirill Tkhai1-15/+15
2018-08-17mm: introduce CONFIG_MEMCG_KMEM as combination of CONFIG_MEMCG && !CONFIG_SLOBKirill Tkhai1-8/+8
2018-08-17memcg, oom: move out_of_memory back to the charge pathMichal Hocko1-15/+60
2018-08-17fs, mm: account buffer_head to kmemcgShakeel Butt1-0/+22
2018-08-17fs: fsnotify: account fsnotify metadata to kmemcgShakeel Butt1-4/+33
2018-08-14Merge tag 'for-4.19/block-20180812' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+13
2018-08-05Merge tag 'v4.18-rc6' into for-4.19/block2Jens Axboe1-1/+1
2018-08-02memcg: remove memcg_cgroup::id from IDR on mem_cgroup_css_alloc() failureKirill Tkhai1-4/+11
2018-07-21mm: memcg: fix use after free in mem_cgroup_iter()Jing Xia1-1/+1
2018-07-09memcontrol: schedule throttling if we are congestedTejun Heo1-0/+13
2018-06-15mm: fix oom_kill event handlingRoman Gushchin1-2/+4
2018-06-15mm: fix null pointer dereference in mem_cgroup_protectedRoman Gushchin1-0/+4
2018-06-07mm: memcg: allow lowering memory.swap.max below the current usageTejun Heo1-5/+1
2018-06-07memcg: introduce memory.minRoman Gushchin1-24/+94
2018-06-07mm: memcontrol: drain memcg stock on force_emptyJunaid Shahid1-0/+3
2018-06-07mm: memcontrol: drain stocks on resize limitShakeel Butt1-0/+7
2018-06-07memcg: mark memcg1_events static constGreg Thelen1-1/+1
2018-06-07memcg: writeback: use memcg->cgwb_list directlyWang Long1-5/+0
2018-06-07mm: treat memory.low value inclusiveRoman Gushchin1-3/+3
2018-06-07mm: memory.low hierarchical behaviorRoman Gushchin1-29/+83
2018-06-07mm: rename page_counter's count/limit into usage/maxRoman Gushchin1-56/+56
2018-06-07mm, memcontrol: implement memory.swap.eventsTejun Heo1-1/+23
2018-06-07mm, memcontrol: move swap charge handling into get_swap_page()Tejun Heo1-0/+3
2018-05-26fs: add new vfs_poll and file_can_poll helpersChristoph Hellwig1-1/+1
2018-04-20mm: memcg: add __GFP_NOWARN in __memcg_schedule_kmem_cache_create()Minchan Kim1-1/+1
2018-04-11page cache: use xa_lockMatthew Wilcox1-2/+2
2018-04-11memcg: fix per_node_info cleanupMichal Hocko1-0/+3
2018-04-11mm: memcg: make sure memory.events is uptodate when waking pollersJohannes Weiner1-12/+16
2018-04-11memcg, thp: do not invoke oom killer on thp chargesMichal Hocko1-1/+1
2018-03-28mm/memcontrol.c: fix parameter description mismatchHonglei Wang1-3/+3
2018-02-11vfs: do bulk POLL* -> EPOLL* replacementLinus Torvalds1-2/+2
2018-02-06mm: docs: fix parameter names mismatchMike Rapoport1-1/+1
2018-02-06mm: docs: fixup punctuationMike Rapoport1-2/+2
2018-02-02Revert "defer call to mem_cgroup_sk_alloc()"Roman Gushchin1-0/+14
2018-01-31mm/memcontrol.c: try harder to decrease [memory,memsw].limit_in_bytesAndrey Ryabinin1-36/+6
2018-01-31mm/memcontrol.c: make local symbol staticChristopher Díaz Riveros1-1/+1
2018-01-31memcg: refactor mem_cgroup_resize_limit()Yu Zhao1-60/+17
2018-01-31mm: memcontrol: fix excessive complexity in memory.stat reportingJohannes Weiner1-50/+51
2018-01-31mm: memcontrol: eliminate raw access to stat and event countersJohannes Weiner1-34/+25
2018-01-30Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2017-11-29mm, memcg: fix mem_cgroup_swapout() for THPsShakeel Butt1-1/+1
2017-11-27annotate poll-related wait keysAl Viro1-1/+1
2017-11-15mm: slabinfo: remove CONFIG_SLABINFOYang Shi1-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