aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
AgeCommit message (Expand)AuthorFilesLines
2023-04-18memcg: page_cgroup_ino() get memcg from the page's folioYosry Ahmed1-1/+2
2023-04-18memcg v1: provide read access to memory.pressure_levelFlorian Schmidt1-0/+11
2023-04-18memcg: do not modify rstat tree for zero updatesYosry Ahmed1-0/+3
2023-04-18workingset: memcg: sleep when flushing stats in workingset_refault()Yosry Ahmed1-2/+2
2023-04-18memcg: sleep during flushing stats in safe contextsYosry Ahmed1-9/+36
2023-04-18memcg: replace stats_flush_lock with an atomicYosry Ahmed1-7/+11
2023-04-18memcg: do not flush stats in irq contextYosry Ahmed1-1/+15
2023-04-18memcg: rename mem_cgroup_flush_stats_"delayed" to "ratelimited"Yosry Ahmed1-1/+1
2023-04-18cgroup: rename cgroup_rstat_flush_"irqsafe" to "atomic"Yosry Ahmed1-1/+1
2023-04-18memcg: do not drain charge pcp caches on remote isolated cpusMichal Hocko1-1/+2
2023-04-05mm: return an ERR_PTR from __filemap_get_folioChristoph Hellwig1-1/+1
2023-03-28mm, memcg: Prevent memory.soft_limit_in_bytes load/store tearingYue Zhao1-4/+4
2023-03-28mm, memcg: Prevent memory.oom_control load/store tearingYue Zhao1-5/+5
2023-03-28mm, memcg: Prevent memory.swappiness load/store tearingYue Zhao1-3/+3
2023-03-28mm, memcg: Prevent memory.oom.group load/store tearingYue Zhao1-3/+3
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-30/+68
2023-02-20mm: change to return bool for isolate_lru_page()Baolin Wang1-2/+2
2023-02-16mm: memcontrol: rename memcg_kmem_enabled()Roman Gushchin1-4/+4
2023-02-10mm: memcontrol: add new kernel parameter cgroup.memory=nobpfYafang Shao1-0/+18
2023-02-02mm: multi-gen LRU: section for memcg LRUT.J. Alumbaugh1-6/+2
2023-02-02mm: convert mem_cgroup_css_from_page() to mem_cgroup_css_from_folio()Matthew Wilcox (Oracle)1-7/+5
2023-01-31Sync mm-stable with mm-hotfixes-stable to pick up dependent patchesAndrew Morton1-54/+13
2023-01-31Revert "mm: add nodes= arg to memory.reclaim"Michal Hocko1-54/+13
2023-01-18mm: memcg: add folio_memcg_check()Matthew Wilcox1-3/+3
2023-01-18mm: multi-gen LRU: per-node lru_gen_folio listsYu Zhao1-0/+16
2023-01-18mm: memcontrol: deprecate charge movingJohannes Weiner1-0/+4
2023-01-18mm: memcontrol: skip moving non-present pages that are mapped elsewhereJohannes Weiner1-14/+38
2022-12-11mm: memcg: fix swapcached stat accountingHugh Dickins1-0/+6
2022-12-11mm: add nodes= arg to memory.reclaimMina Almasry1-13/+54
2022-12-09Merge branch 'mm-hotfixes-stable' into mm-stableAndrew Morton1-2/+13
2022-12-09memcg: fix possible use-after-free in memcg_write_event_control()Tejun Heo1-2/+13
2022-11-30mm: vmscan: split khugepaged stats from direct reclaim statsJohannes Weiner1-2/+6
2022-11-30Merge branch 'mm-hotfixes-stable' into mm-stableAndrew Morton1-1/+1
2022-11-22mm: correctly charge compressed memory to its memcgLi Liguang1-1/+1
2022-11-08mm: convert find_get_incore_page() to filemap_get_incore_folio()Matthew Wilcox (Oracle)1-3/+9
2022-11-08mm: memcontrol: use mem_cgroup_is_root() helperKamalesh Babulal1-10/+10
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-97/+184
2022-10-10Merge tag 'cgroup-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-2/+2
2022-10-10Merge tag 'sched-rt-2022-10-05' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-13/+6
2022-10-03mm: memcontrol: drop dead CONFIG_MEMCG_SWAP config symbolJohannes Weiner1-3/+3
2022-10-03mm: memcontrol: use do_memsw_account() in a few more placesJohannes Weiner1-10/+10
2022-10-03mm: memcontrol: deprecate swapaccounting=0 modeJohannes Weiner1-40/+10
2022-10-03mm: memcontrol: don't allocate cgroup swap arrays when memcg is disabledJohannes Weiner1-0/+3
2022-10-03mm: memcontrol: make cgroup_memory_noswap a static keyKairui Song1-8/+19
2022-10-03mm/memcontrol: use kstrtobool for swapaccount param parsingLiu Shixin1-4/+4
2022-10-03memcg: reduce size of memcg vmstats structuresShakeel Butt1-10/+44
2022-10-03memcg: rearrange codeShakeel Butt1-23/+23
2022-10-03memcg: extract memcg_vmstats from struct mem_cgroupShakeel Butt1-9/+48
2022-10-03memcg: convert mem_cgroup_swap_full() to take a folioMatthew Wilcox (Oracle)1-3/+3
2022-10-03mm: remove lookup_swap_cache()Matthew Wilcox (Oracle)1-1/+1
2022-10-03memcg: convert mem_cgroup_swapin_charge_page() to mem_cgroup_swapin_charge_fo...Matthew Wilcox (Oracle)1-7/+6
2022-09-26mm/memcontrol: stop using mm->highest_vm_endLiam R. Howlett1-4/+2
2022-09-26mm: multi-gen LRU: support page table walksYu Zhao1-0/+25
2022-09-26mm: multi-gen LRU: exploit locality in rmapYu Zhao1-0/+1
2022-09-26mm: multi-gen LRU: groundworkYu Zhao1-0/+2
2022-09-19mm/memcontrol: Replace the PREEMPT_RT conditionalsThomas Gleixner1-13/+6
2022-09-11mm: memcg: export workingset refault stats for cgroup v1Yang Shi1-2/+7
2022-09-11mm: memcontrol: fix a typo in commentxupanda1-1/+1
2022-08-28cgroup: Fix build failure when CONFIG_SHRINKER_DEBUGTejun Heo1-1/+1
2022-08-26cgroup: Homogenize cgroup_get_from_id() return valueMichal Koutný1-2/+2
2022-08-24mm: add NR_SECONDARY_PAGETABLE to count secondary page table uses.Yosry Ahmed1-0/+1
2022-07-29mm: memcontrol: fix potential oom_lock recursion deadlockTetsuo Handa1-13/+9
2022-07-29mm/memcontrol.c: remove the redundant updating of stats_flush_thresholdJiebin Sun1-1/+8
2022-07-29mm: vmpressure: don't count proactive reclaim in vmpressureYosry Ahmed1-10/+14
2022-07-29mm: memcontrol: do not miss MEMCG_MAX events for enforced allocationsRoman Gushchin1-0/+9
2022-07-17mm/memcontrol.c: replace cgroup_memory_nokmem with mem_cgroup_kmem_disabled()Xiang Yang1-2/+2
2022-07-17mm: add zone device coherent type memory supportAlex Sierra1-3/+4
2022-07-03mm: memcontrol: introduce mem_cgroup_ino() and mem_cgroup_get_from_ino()Roman Gushchin1-0/+23
2022-06-27Merge branch 'master' into mm-stableakpm1-1/+1
2022-06-16mm: kmem: make mem_cgroup_from_obj() vmalloc()-safeRoman Gushchin1-21/+50
2022-06-16mm: memcontrol: add {pgscan,pgsteal}_{kswapd,direct} items in memory.stat of ...Qi Zheng1-28/+27
2022-06-16mm: memcontrol: reference to tools/cgroup/memcg_slabinfo.pyYang Yang1-1/+1
2022-05-19zswap: memcg accountingJohannes Weiner1-8/+197
2022-05-13mm/memcontrol: export memcg->watermark via sysfs for v2 memcgGanesan Rajagopal1-0/+13
2022-05-13swap: turn get_swap_page() into folio_alloc_swap()Matthew Wilcox (Oracle)1-8/+8
2022-05-13mm: teach core mm about pte markersPeter Xu1-2/+6
2022-05-09mm: create new mm/swap.h header fileNeilBrown1-0/+1
2022-04-29memcg: introduce per-memcg reclaim interfaceShakeel Butt1-0/+45
2022-04-28mm/memcontrol.c: remove unused private flag of memory.oom_controlLu Jialin1-4/+0
2022-04-28mm/memcontrol.c: make cgroup_memory_noswap staticLu Jialin1-1/+1
2022-04-28mm/memcg: non-hierarchical mode is deprecatedWei Yang1-3/+0
2022-04-28mm/memcg: move generation assignment and comparison togetherWei Yang1-3/+7
2022-04-28mm/memcg: set pos explicitly for reclaim and !reclaimWei Yang1-3/+2
2022-04-28mm/memcg: set memcg after css verified and got referenceWei Yang1-8/+3
2022-04-28mm/memcg: mz already removed from rb_tree if not NULLWei Yang1-1/+0
2022-04-28mm/memcg: remove unneeded nr_scannedMiaohe Lin1-4/+1
2022-04-21memcg: sync flush only if periodic flush is delayedShakeel Butt1-1/+11
2022-03-28Merge tag 'ptrace-cleanups-for-v5.18' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-1/+1
2022-03-22Merge tag 'folio-5.18c' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-21/+16
2022-03-22memcg: do not tweak node in alloc_mem_cgroup_per_node_infoWei Yang1-12/+2
2022-03-22mm: memcontrol: fix cannot alloc the maximum memcg IDMuchun Song1-2/+1
2022-03-22mm: memcontrol: reuse memory cgroup ID for kmem IDMuchun Song1-36/+3
2022-03-22mm: list_lru: replace linear array with xarrayMuchun Song1-72/+5
2022-03-22mm: list_lru: rename memcg_drain_all_list_lrus to memcg_reparent_list_lrusMuchun Song1-3/+3
2022-03-22mm: list_lru: allocate list_lru_one only when neededMuchun Song1-1/+5
2022-03-22mm: memcontrol: move memcg_online_kmem() to mem_cgroup_css_online()Muchun Song1-21/+16
2022-03-22mm: introduce kmem_cache_alloc_lruMuchun Song1-14/+0
2022-03-22mm/memcg: disable migration instead of preemption in drain_all_stock().Sebastian Andrzej Siewior1-2/+3
2022-03-22mm/memcg: protect memcg_stock with a local_lock_tSebastian Andrzej Siewior1-21/+38
2022-03-22mm/memcg: opencode the inner part of obj_cgroup_uncharge_pages() in drain_obj...Johannes Weiner1-6/+18
2022-03-22mm/memcg: protect per-CPU counter by disabling preemption on PREEMPT_RT where...Sebastian Andrzej Siewior1-1/+55
2022-03-22mm/memcg: disable threshold event handlers on PREEMPT_RTSebastian Andrzej Siewior1-2/+12
2022-03-22mm/memcg: revert ("mm/memcg: optimize user context object stock access")Michal Hocko1-67/+27
2022-03-22mm/memcontrol: return 1 from cgroup.memory __setup() handlerRandy Dunlap1-1/+1
2022-03-22memcg: synchronously enforce memory.high for large overchargesShakeel Butt1-0/+5
2022-03-22memcg: unify force charging conditionsShakeel Butt1-10/+7
2022-03-22memcg: refactor mem_cgroup_oomShakeel Butt1-27/+17
2022-03-22mm/memcg: mem_cgroup_per_node is already set to 0 on allocationWei Yang1-2/+0
2022-03-22memcg: add per-memcg total kernel memory statYosry Ahmed1-6/+21
2022-03-22memcg: replace in_interrupt() with !in_task()Shakeel Butt1-2/+2
2022-03-21mm/memcg: Convert mem_cgroup_swapout() to take a folioMatthew Wilcox (Oracle)1-11/+11
2022-03-10resume_user_mode: Move to resume_user_mode.hEric W. Biederman1-1/+1
2022-03-03mm: remove the extra ZONE_DEVICE struct page refcountChristoph Hellwig1-8/+3
2022-03-03mm: don't include <linux/memremap.h> in <linux/mm.h>Christoph Hellwig1-0/+1
2022-02-17mm/munlock: maintain page->mlock_count while unevictableHugh Dickins1-2/+1
2022-02-11mm: memcg: synchronize objcg lists with a dedicated spinlockRoman Gushchin1-5/+5
2022-01-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-14/+30
2022-01-15memcg: add per-memcg vmalloc statShakeel Butt1-0/+1
2022-01-15mm/memcg: use struct_size() helper in kzalloc()Wang Weiyang1-5/+1
2022-01-15memcg: better bounds on the memcg stats updatesShakeel Butt1-7/+13
2022-01-15mm/memcg: add oom_group_kill memory eventDan Schatzberg1-0/+2
2022-01-15mm: memcontrol: make cgroup_memory_nokmem staticMuchun Song1-1/+1
2022-01-15mm: slab: make slab iterator functions staticMuchun Song1-1/+12
2022-01-06mm/memcg: Convert slab objcgs from struct page to struct slabVlastimil Babka1-25/+30
2022-01-06mm: Convert struct page to struct slab in functions used by other subsystemsVlastimil Babka1-2/+2
2021-12-10mm/memcg: relocate mod_objcg_mlstate(), get_obj_stock() and put_obj_stock()Waiman Long1-53/+53
2021-11-17mm: Rename folio_test_multi to folio_test_largeMatthew Wilcox (Oracle)1-1/+1
2021-11-11mm: unexport {,un}lock_page_memcgChristoph Hellwig1-2/+0
2021-11-11mm: unexport folio_memcg_{,un}lockChristoph Hellwig1-2/+0
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-125/+88
2021-11-06mm/vmscan: throttle reclaim when no progress is being madeMel Gorman1-9/+1
2021-11-06memcg: prohibit unconditional exceeding the limit of dying tasksVasily Averin1-19/+8
2021-11-06mm: memcontrol: remove the kmem statesMuchun Song1-5/+2
2021-11-06mm: memcontrol: remove kmemcg_id reparentingMuchun Song1-15/+4
2021-11-06memcg, kmem: further deprecate kmem.limit_in_bytesShakeel Butt1-34/+5
2021-11-06mm/memcg: remove obsolete memcg_free_kmem()Waiman Long1-11/+3
2021-11-06memcg: unify memcg stat flushingShakeel Butt1-9/+10
2021-11-06memcg: flush stats only if updatedShakeel Butt1-23/+55
2021-11-06mm/memcg: drop swp_entry_t* in mc_handle_file_pte()Peter Xu1-2/+2
2021-09-27mm/memcg: Add folio_lruvec_lock() and similar functionsMatthew Wilcox (Oracle)1-28/+49
2021-09-27mm/memcg: Add folio_lruvec()Matthew Wilcox (Oracle)1-3/+6
2021-09-27mm/memcg: Convert mem_cgroup_move_account() to use a folioMatthew Wilcox (Oracle)1-18/+19
2021-09-27mm/memcg: Add folio_memcg_lock() and folio_memcg_unlock()Matthew Wilcox (Oracle)1-16/+29
2021-09-27mm/memcg: Convert mem_cgroup_track_foreign_dirty_slowpath() to folioMatthew Wilcox (Oracle)1-3/+3
2021-09-27mm/memcg: Convert mem_cgroup_migrate() to take foliosMatthew Wilcox (Oracle)1-18/+17
2021-09-27mm/memcg: Convert mem_cgroup_uncharge() to take a folioMatthew Wilcox (Oracle)1-10/+4
2021-09-27mm/memcg: Convert uncharge_page() to uncharge_folio()Matthew Wilcox (Oracle)1-16/+15
2021-09-27mm/memcg: Convert mem_cgroup_charge() to take a folioMatthew Wilcox (Oracle)1-21/+7
2021-09-27mm/memcg: Convert commit_charge() to take a folioMatthew Wilcox (Oracle)1-14/+13
2021-09-27mm/memcg: Add folio_memcg() and related functionsMatthew Wilcox (Oracle)1-9/+12
2021-09-27mm/memcg: Convert memcg_check_events to take a node IDMatthew Wilcox (Oracle)1-11/+12
2021-09-27mm/memcg: Remove soft_limit_tree_node()Matthew Wilcox (Oracle)1-9/+3
2021-09-27mm/memcg: Use the node id in mem_cgroup_update_tree()Matthew Wilcox (Oracle)1-20/+4
2021-09-27mm/memcg: Remove 'page' parameter to mem_cgroup_charge_statistics()Matthew Wilcox (Oracle)1-6/+5
2021-09-23memcg: flush lruvec stats in the refaultShakeel Butt1-10/+0
2021-09-03Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-127/+101
2021-09-03mm/vmpressure: replace vmpressure_to_css() with vmpressure_to_memcg()Hui Su1-2/+2
2021-09-03memcg: make memcg->event_list_lock irqsafeShakeel Butt1-4/+4
2021-09-03memcg: fix up drain_local_stock commentMichal Hocko1-2/+3
2021-09-03mm, memcg: save some atomic ops when flush is already trueMiaohe Lin1-1/+1
2021-09-03mm: memcontrol: set the correct memcg swappiness restrictionBaolin Wang1-1/+1
2021-09-03memcg: replace in_interrupt() by !in_task() in active_memcg()Vasily Averin1-1/+1
2021-09-03memcg: infrastructure to flush memcg statsShakeel Butt1-0/+34
2021-09-03memcg: switch lruvec stats to rstatShakeel Butt1-76/+38
2021-09-03mm, memcg: inline swap-related functions to improve disabled memcg configSuren Baghdasaryan1-10/+4
2021-09-03mm, memcg: inline mem_cgroup_{charge/uncharge} to improve disabled memcg configSuren Baghdasaryan1-21/+12
2021-09-03mm, memcg: add mem_cgroup_disabled checks in vmpressure and swap-related func...Suren Baghdasaryan1-0/+3
2021-09-03writeback: memcg: simplify cgroup_writeback_by_idShakeel Butt1-12/+1
2021-08-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+4
2021-08-18net-memcg: pass in gfp_t mask to mem_cgroup_charge_skmem()Wei Wang1-13/+11
2021-08-13mm/memcg: fix incorrect flushing of lruvec data in obj_stockWaiman Long1-2/+4
2021-07-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+2
2021-07-30mm: memcontrol: fix blocking rstat function called from atomic cgroup1 thresh...Johannes Weiner1-1/+2
2021-07-20memcg: enable accounting for IP address and routing-related objectsVasily Averin1-1/+1
2021-07-02Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-2/+2
2021-07-01Merge branch 'for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/denn...Linus Torvalds1-3/+8
2021-07-01mm: remove special swap entry functionsAlistair Popple1-1/+1
2021-07-01mm/memcontrol.c: fix kerneldoc comment for mem_cgroup_calculate_protectionMel Gorman1-1/+1
2021-06-29loop: charge i/o to mem and blk cgDan Schatzberg1-0/+1
2021-06-29mm: charge active memcg when no mm is setDan Schatzberg1-14/+27
2021-06-29mm: memcontrol: move obj_cgroup_uncharge_pages() out of css_set_lockMuchun Song1-1/+2
2021-06-29mm: memcontrol: simplify the logic of objcg pinning memcgMuchun Song1-14/+6
2021-06-29mm: memcontrol: remove the pgdata parameter of mem_cgroup_page_lruvecMuchun Song1-6/+3
2021-06-29mm: memcontrol: bail out early when !mm in get_mem_cgroup_from_mmMuchun Song1-11/+14
2021-06-29mm: memcontrol: fix page charging in page replacementMuchun Song1-3/+5
2021-06-29mm: memcontrol: fix root_mem_cgroup chargingMuchun Song1-5/+12
2021-06-29mm: memcg/slab: create a new set of kmalloc-cg-<n> cachesWaiman Long1-1/+1
2021-06-29mm: memcg/slab: properly set up gfp flags for objcg pointer arrayWaiman Long1-0/+8
2021-06-29mm/memcg: optimize user context object stock accessWaiman Long1-28/+72
2021-06-29mm/memcg: improve refill_obj_stock() performanceWaiman Long1-13/+35
2021-06-29mm/memcg: cache vmstat data in percpu memcg_stock_pcpWaiman Long1-3/+87
2021-06-29mm/memcg: move mod_objcg_state() to memcontrol.cWaiman Long1-0/+13
2021-06-05mm, memcg: introduce mem_cgroup_kmem_disabled()Roman Gushchin1-0/+5
2021-06-05mm, memcg: mark cgroup_memory_nosocket, nokmem and noswap as __ro_after_initRoman Gushchin1-3/+3
2021-05-07mm: fix typos in commentsIngo Molnar1-9/+9
2021-05-05mm: memcontrol: reparent nr_deferred when memcg offlineYang Shi1-0/+1
2021-05-05mm: memcontrol: rename shrinker_map to shrinker_infoYang Shi1-3/+3
2021-05-05mm: vmscan: consolidate shrinker_maps handling codeYang Shi1-127/+3
2021-04-30mm: memcontrol: inline __memcg_kmem_{un}charge() into obj_cgroup_{un}charge_p...Muchun Song1-38/+25
2021-04-30mm: memcontrol: use obj_cgroup APIs to charge kmem pagesMuchun Song1-58/+58