aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
AgeCommit message (Expand)AuthorFilesLines
2021-07-30mm: memcontrol: fix blocking rstat function called from atomic cgroup1 thresh...Johannes Weiner1-1/+2
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
2021-04-30mm: memcontrol: change ug->dummy_page only if memcg changedMuchun Song1-1/+1
2021-04-30mm: memcontrol: introduce obj_cgroup_{un}charge_pagesMuchun Song1-23/+40
2021-04-30mm: memcontrol: slab: fix obtain a reference to a freeing memcgMuchun Song1-1/+9
2021-04-30memcg: charge before adding to swapcache on swapinShakeel Butt1-43/+74
2021-04-30mm: memcontrol: consolidate lruvec stat flushingJohannes Weiner1-46/+28
2021-04-30mm: memcontrol: switch to rstatJohannes Weiner1-131/+87
2021-04-30mm: memcontrol: privatize memcg_page_state query functionsJohannes Weiner1-0/+32
2021-04-30mm: memcontrol: kill mem_cgroup_nodeinfo()Johannes Weiner1-10/+11
2021-04-30mm: memcontrol: fix cpuhotplug statistics flushingJohannes Weiner1-14/+21
2021-04-30memcg: enable memcg oom-kill for __GFP_NOFAILShakeel Butt1-3/+0
2021-04-30memcg: cleanup root memcg checksShakeel Butt1-2/+2
2021-04-30mm: page-writeback: simplify memcg handling in test_clear_page_writeback()Johannes Weiner1-25/+11
2021-03-13mm/memcg: rename mem_cgroup_split_huge_fixup to split_page_memcg and add nr_p...Zhou Guanghui1-9/+6
2021-02-24mm: memcontrol: fix get_active_memcg return valueMuchun Song1-7/+3
2021-02-24mm: memcontrol: fix swap undercounting in cgroup2Muchun Song1-1/+13
2021-02-24fs: buffer: use raw page_memcg() on locked pageJohannes Weiner1-23/+0
2021-02-24mm: memcontrol: replace the loop with a list_for_each_entry()Muchun Song1-27/+8
2021-02-24mm/memcontrol: remove redundant NULL checkYang Li1-2/+1
2021-02-24mm: kmem: make __memcg_kmem_(un)charge staticRoman Gushchin1-3/+8
2021-02-24mm: memcg: add swapcache stat for memcg v2Shakeel Butt1-0/+3
2021-02-24mm/memcg: remove rcu locking for lock_page_lruvec function seriesAlex Shi1-6/+0
2021-02-24mm/memcg: revise the using condition of lock_page_lruvec function seriesAlex Shi1-4/+5
2021-02-24mm: memcontrol: make the slab calculation consistentMuchun Song1-39/+66
2021-02-24mm: memcontrol: convert NR_SHMEM_THPS account to pagesMuchun Song1-24/+2
2021-02-24mm: memcontrol: convert NR_FILE_THPS account to pagesMuchun Song1-3/+2
2021-02-24mm: memcontrol: convert NR_ANON_THPS account to pagesMuchun Song1-14/+6
2021-02-24mm: memcontrol: fix NR_ANON_THPS accounting in charge movingMuchun Song1-4/+2
2021-02-24mm: memcontrol: optimize per-lruvec stats counter memory usageMuchun Song1-1/+9
2021-02-24mm: memcg/slab: pre-allocate obj_cgroups for slab caches with SLAB_ACCOUNTRoman Gushchin1-4/+19
2021-02-23Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2021-02-09Revert "mm: memcontrol: avoid workload stalls when lowering memory.high"Johannes Weiner1-3/+2
2021-01-24mm: memcg/slab: optimize objcg stock drainingRoman Gushchin1-3/+1
2021-01-24fs: add file and path permissions helpersChristian Brauner1-1/+1
2020-12-19mm/memcontrol:rewrite mem_cgroup_page_lruvec()Hui Su1-37/+0
2020-12-19mm/memcg: warning on !memcg after readahead page chargedAlex Shi1-6/+4
2020-12-19mm/memcg: bail early from swap accounting if memcg disabledAlex Shi1-0/+6
2020-12-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-3/+81
2020-12-15mm/lru: replace pgdat lru_lock with lruvec lockAlex Shi1-3/+75
2020-12-15mm/memcg: add debug checking in lock_page_memcgAlex Shi1-0/+6
2020-12-15Merge tag 'net-next-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-79/+65
2020-12-15mm: memcontrol: account pagetables per nodeShakeel Butt1-0/+2
2020-12-15mm: move lruvec stats update functions to vmstat.hShakeel Butt1-0/+17
2020-12-15mm/memcg: remove incorrect commentAlex Shi1-1/+0
2020-12-15mm: memcontrol: sssign boolean values to a bool variableKaixu Xia1-2/+2
2020-12-15mm: memcg/slab: rename *_lruvec_slab_state to *_lruvec_kmem_stateMuchun Song1-1/+1
2020-12-15mm: memcg: remove obsolete memcg_has_children()Lukas Bulwahn1-13/+0
2020-12-15mm: memcg: deprecate the non-hierarchical modeRoman Gushchin1-77/+13
2020-12-15mm: memcg: fix obsolete code commentsRoman Gushchin1-6/+0
2020-12-15mm/memcg: update page struct member in commentsAlex Shi1-2/+2
2020-12-15mm: memcg/slab: fix use after free in obj_cgroup_chargeMuchun Song1-1/+3
2020-12-15mm: memcg/slab: fix return of child memcg objcg for root memcgMuchun Song1-0/+1
2020-12-15mm: memcontrol: eliminate redundant check in __mem_cgroup_insert_exceeded()Miaohe Lin1-7/+2
2020-12-15mm: memcontrol: remove unused mod_memcg_obj_state()Muchun Song1-11/+0
2020-12-15mm: memcontrol: add file_thp, shmem_thp to memory.statJohannes Weiner1-1/+5
2020-12-04Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-77/+62
2020-12-02mm: Convert page kmemcg type to a page memcg flagRoman Gushchin1-11/+5
2020-12-02mm: memcontrol/slab: Use helpers to access slab page's memcg_dataRoman Gushchin1-3/+3
2020-12-02mm: memcontrol: Use helpers to read page's memcg dataRoman Gushchin1-65/+56
2020-11-22mm: memcg/slab: fix root memcg vmstatsMuchun Song1-2/+7
2020-11-02mm: memcg: link page counters to root if use_hierarchy is falseRoman Gushchin1-5/+10
2020-11-02mm: memcontrol: correct the NR_ANON_THPS counter of hierarchical memcgzhongjiang-ali1-2/+8
2020-10-18mm: kmem: enable kernel memcg accounting from interrupt contextsRoman Gushchin1-0/+13
2020-10-18mm: kmem: prepare remote memcg charging infra for interrupt contextsRoman Gushchin1-14/+34
2020-10-18mm: kmem: remove redundant checks from get_obj_cgroup_from_current()Roman Gushchin1-3/+0
2020-10-18mm: kmem: move memcg_kmem_bypass() calls to get_mem/obj_cgroup_from_current()Roman Gushchin1-5/+8
2020-10-18mm, memcg: rework remote charging API to support nestingRoman Gushchin1-3/+3
2020-10-13mm/memcg: fix device private memcg accountingRalph Campbell1-1/+4
2020-10-13mm: memcontrol: reword obsolete comment of mem_cgroup_unmark_under_oom()Miaohe Lin1-2/+2
2020-10-13mm: memcontrol: add the missing numa_stat interface for cgroup v2Muchun Song1-60/+110
2020-10-13mm/memcg: unify swap and memsw page countersWaiman Long1-3/+0
2020-10-13mm/memcg: simplify mem_cgroup_get_max()Waiman Long1-11/+13
2020-10-13mm/memcg: clean up obsolete enum charge_typeWaiman Long1-8/+0
2020-10-13mm: memcontrol: correct the comment of mem_cgroup_iter()Miaohe Lin1-3/+3
2020-10-13mm: memcg/slab: fix racy access to page->mem_cgroup in mem_cgroup_from_obj()Roman Gushchin1-0/+11
2020-10-13mm: memcontrol: use the preferred form for passing the size of a structure typeGustavo A. R. Silva1-1/+1
2020-10-13mm: memcontrol: use flex_array_size() helper in memcpy()Gustavo A. R. Silva1-4/+3
2020-10-13mm: use find_get_incore_page in memcontrolMatthew Wilcox (Oracle)1-22/+2
2020-10-13Merge tag 'block-5.10-2020-10-12' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2020-09-26mm: memcontrol: fix missing suffix of workingset_restoreMuchun Song1-2/+2
2020-09-24bdi: replace BDI_CAP_NO_{WRITEBACK,ACCT_DIRTY} with a single flagChristoph Hellwig1-1/+1
2020-09-05memcg: fix use-after-free in uncharge_batchMichal Hocko1-0/+6
2020-08-14mm: replace hpage_nr_pages with thp_nr_pagesMatthew Wilcox (Oracle)1-5/+5
2020-08-13mm: memcontrol: fix warning when allocating the root cgroupJohannes Weiner1-6/+0
2020-08-12mm/memcontrol.c: delete duplicated wordsRandy Dunlap1-1/+1
2020-08-12mm/workingset: prepare the workingset detection infrastructure for anon LRUJoonsoo Kim1-5/+11
2020-08-12mm: memcg: charge memcg percpu memory to the parent cgroupRoman Gushchin1-4/+16
2020-08-12mm: memcg/percpu: per-memcg percpu memory statisticsRoman Gushchin1-1/+3
2020-08-07mm: memcontrol: don't count limit-setting reclaim as memory pressureJohannes Weiner1-1/+10
2020-08-07mm: memcontrol: restore proper dirty throttling when memory.high changesJohannes Weiner1-0/+2
2020-08-07memcg, oom: check memcg margin for parallel oomYafang Shao1-1/+7
2020-08-07mm, memcg: decouple e{low,min} state mutations from protection checksChris Down1-21/+7
2020-08-07mm, memcg: avoid stale protection values when cgroup is above protectionYafang Shao1-0/+8
2020-08-07mm, memcg: unify reclaim retry limits with page allocatorChris Down1-9/+6
2020-08-07mm, memcg: reclaim more aggressively before high allocator throttlingChris Down1-5/+37
2020-08-07mm: memcontrol: avoid workload stalls when lowering memory.highRoman Gushchin1-2/+2
2020-08-07mm: memcontrol: account kernel stack per nodeShakeel Butt1-1/+1
2020-08-07mm: memcg/slab: use a single set of kmem_caches for all allocationsRoman Gushchin1-1/+24
2020-08-07mm: memcg/slab: remove memcg_kmem_get_cache()Roman Gushchin1-24/+1
2020-08-07mm: memcg/slab: simplify memcg cache creationRoman Gushchin1-47/+1
2020-08-07mm: memcg/slab: use a single set of kmem_caches for all accounted allocationsRoman Gushchin1-131/+32
2020-08-07mm: memcg/slab: move memcg_kmem_bypass() to memcontrol.hRoman Gushchin1-12/+0
2020-08-07mm: memcg/slab: deprecate memory.kmem.slabinfoRoman Gushchin1-3/+0
2020-08-07mm: memcg/slab: save obj_cgroup for non-root slab objectsRoman Gushchin1-2/+12
2020-08-07mm: memcg/slab: allocate obj_cgroups for non-root slab pagesRoman Gushchin1-3/+14
2020-08-07mm: memcg/slab: obj_cgroup APIRoman Gushchin1-1/+287
2020-08-07mm: memcontrol: decouple reference counting from page accountingJohannes Weiner1-18/+21
2020-08-07mm: memcg: convert vmstat slab counters to bytesRoman Gushchin1-7/+4
2020-08-07mm: memcg: prepare for byte-sized vmstat itemsRoman Gushchin1-4/+10
2020-08-07mm: memcg: factor out memcg- and lruvec-level changes out of __mod_lruvec_sta...Roman Gushchin1-19/+24
2020-08-07mm: kmem: make memcg_kmem_enabled() irreversibleRoman Gushchin1-6/+2
2020-08-04Merge tag 'uninit-macro-v5.9-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2020-07-24mm/memcg: fix refcount error while moving and swappingHugh Dickins1-2/+2
2020-07-24mm/memcontrol: fix OOPS inside mem_cgroup_get_nr_swap_pages()Bhupesh Sharma1-1/+8
2020-07-16treewide: Remove uninitialized_var() usageKees Cook1-1/+1
2020-06-26mm/memcontrol.c: prevent missed memory.low load tearsChris Down1-2/+3
2020-06-26mm/memcontrol.c: add missed css_put()Muchun Song1-1/+3
2020-06-26mm: memcontrol: handle div0 crash race condition in memory.lowJohannes Weiner1-2/+7
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-1/+1
2020-06-09mmap locking API: use coccinelle to convert mmap_sem rwsem call sitesMichel Lespinasse1-4/+4
2020-06-04mm, memcg: fix some typos in memcontrol.cEthon Paul1-2/+2
2020-06-03mm: base LRU balancing on an explicit cost modelJohannes Weiner1-12/+6
2020-06-03mm: memcontrol: update page->mem_cgroup stability rulesJohannes Weiner1-14/+7
2020-06-03mm: memcontrol: delete unused lrucare handlingJohannes Weiner1-53/+4
2020-06-03mm: memcontrol: make swap tracking an integral part of memory controlJohannes Weiner1-30/+23
2020-06-03mm: memcontrol: prepare swap controller setup for integrationJohannes Weiner1-31/+28
2020-06-03mm: memcontrol: drop unused try/commit/cancel charge APIJohannes Weiner1-111/+17
2020-06-03mm: memcontrol: switch to native NR_ANON_THPS counterJohannes Weiner1-23/+24
2020-06-03mm: memcontrol: switch to native NR_ANON_MAPPED counterJohannes Weiner1-18/+9
2020-06-03mm: memcontrol: switch to native NR_FILE_PAGES and NR_SHMEM countersJohannes Weiner1-17/+11
2020-06-03mm: memcontrol: prepare cgroup vmstat infrastructure for native anon countersJohannes Weiner1-3/+6
2020-06-03mm: memcontrol: prepare move_account for removal of private page type countersJohannes Weiner1-12/+13
2020-06-03mm: memcontrol: prepare uncharging for removal of private page type countersJohannes Weiner1-11/+12
2020-06-03mm: memcontrol: convert page cache to a new mem_cgroup_charge() APIJohannes Weiner1-2/+27
2020-06-03mm: memcontrol: move out cgroup swaprate throttlingJohannes Weiner1-3/+2
2020-06-03mm: memcontrol: drop @compound parameter from memcg charging APIJohannes Weiner1-23/+15
2020-06-03mm: memcontrol: fix stat-corrupting race in charge movingJohannes Weiner1-12/+14
2020-06-03mm/memcg: optimize memory.numa_stat like memory.statShakeel Butt1-25/+26
2020-06-02memcg: fix memcg_kmem_bypass() for remote memcg chargingZefan Li1-1/+6
2020-06-02mm/memcg: automatically penalize tasks with high swap useJakub Kicinski1-7/+81
2020-06-02mm/memcg: move cgroup high memory limit setting into struct page_counterJakub Kicinski1-8/+11
2020-06-02mm/memcg: move penalty delay clamping out of calculate_high_delay()Jakub Kicinski1-8/+8
2020-06-02mm/memcg: prepare for swap over-high accounting and penalty calculationJakub Kicinski1-27/+35
2020-06-02memcg: expose root cgroup's memory.statShakeel Butt1-1/+0
2020-06-02mm: memcontrol: simplify value comparison between count and limitKaixu Xia1-1/+1
2020-06-02mm, memcg: add workingset_restore in memory.statYafang Shao1-0/+2
2020-06-02mm/writeback: discard NR_UNSTABLE_NFS, use NR_WRITEBACK insteadNeilBrown1-1/+0
2020-05-07mm, memcg: fix error return value of mem_cgroup_css_alloc()Yafang Shao1-6/+9
2020-04-10mm, memcg: do not high throttle allocators based on wraparoundJakub Kicinski1-0/+3
2020-04-07mm: use fallthrough;Joe Perches1-1/+1
2020-04-07mm, memcg: bypass high reclaim iteration for cgroup hierarchy rootChris Down1-1/+2
2020-04-02mm: memcg: make memory.oom.group tolerable to task migrationRoman Gushchin1-0/+8
2020-04-02mm, memcg: prevent mem_cgroup_protected store tearingChris Down1-4/+4
2020-04-02mm, memcg: prevent memory.swap.max load tearingChris Down1-3/+4
2020-04-02mm, memcg: prevent memory.min load/store tearingChris Down1-2/+3
2020-04-02mm, memcg: prevent memory.max load tearingChris Down1-6/+6
2020-04-02mm, memcg: prevent memory.high load/store tearingChris Down1-6/+7
2020-04-02mm/memcontrol.c: make mem_cgroup_id_get_many() __maybe_unusedVincenzo Frascino1-1/+2
2020-04-02memcg: css_tryget_online cleanupsShakeel Butt1-5/+9
2020-04-02mm: memcontrol: recursive memory.low protectionJohannes Weiner1-4/+47
2020-04-02mm: memcontrol: clean up and document effective low/min calculationsJohannes Weiner1-92/+83
2020-04-02mm: memcontrol: fix memory.low proportional distributionJohannes Weiner1-3/+1
2020-04-02mm: kmem: rename (__)memcg_kmem_(un)charge_memcg() to __memcg_kmem_(un)charge()Roman Gushchin1-20/+20
2020-04-02mm: kmem: switch to nr_pages in (__)memcg_kmem_charge_memcg()Roman Gushchin1-4/+4
2020-04-02mm: kmem: rename memcg_kmem_(un)charge() into memcg_kmem_(un)charge_page()Roman Gushchin1-4/+4
2020-04-02mm: kmem: cleanup (__)memcg_kmem_charge_memcg() argumentsRoman Gushchin1-5/+3
2020-04-02mm: memcg/slab: use mem_cgroup_from_obj()Roman Gushchin1-3/+2
2020-04-02mm/memcontrol.c: allocate shrinker_map on appropriate NUMA nodeKirill Tkhai1-2/+2
2020-04-02mm, memcg: fix build error around the usage of kmem_cachesYafang Shao1-1/+2
2020-03-29mm: fork: fix kernel_stack memcg stats for various stack implementationsRoman Gushchin1-0/+38
2020-03-21mm, memcg: throttle allocators based on ancestral memory.highChris Down1-35/+58
2020-03-21mm, memcg: fix corruption on 64-bit divisor in memory.high throttlingChris Down1-1/+1
2020-03-21memcg: fix NULL pointer dereference in __mem_cgroup_usage_unregister_eventChunguang Xu1-2/+8
2020-03-10net: memcg: late association of sock to memcgShakeel Butt1-14/+0