aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
AgeCommit message (Expand)AuthorFilesLines
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
2020-03-10cgroup: memcg: net: do not associate sock with unrelated cgroupShakeel Butt1-0/+4
2020-02-21mm/memcontrol.c: lost css_put in memcg_expand_shrinker_maps()Vasily Averin1-1/+3
2020-01-31mm/memcontrol.c: cleanup some useless codeKaitao Cheng1-4/+3
2020-01-31mm: thp: don't need care deferred split queue in memcg charge move pathWei Yang1-18/+0
2020-01-13mm: memcg/slab: fix percpu slab vmstats flushingRoman Gushchin1-28/+9
2019-12-04mm/memcontrol: use vmstat names for printing statisticsKonstantin Khlebnikov1-30/+22
2019-12-01mm: clean up and clarify lruvec lookup procedureJohannes Weiner1-5/+5
2019-12-01mm: vmscan: memcontrol: remove mem_cgroup_select_victim_node()Shakeel Butt1-112/+0
2019-12-01mm: memcontrol: try harder to set a new memory.highJohannes Weiner1-6/+24
2019-12-01mm: memcontrol: remove dead code from memory_max_write()Johannes Weiner1-3/+1
2019-12-01mm, memcg: clean up reclaim iter arrayYafang Shao1-8/+3
2019-11-26Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-1/+1
2019-11-15mm: memcg: switch to css_tryget() in get_mem_cgroup_from_mm()Roman Gushchin1-1/+1
2019-11-06mm: memcontrol: fix network errors from failing __GFP_ATOMIC chargesJohannes Weiner1-0/+9
2019-11-06mm: slab: make page_cgroup_ino() to recognize non-compound slab pages properlyRoman Gushchin1-1/+1
2019-11-06mm: memcontrol: fix NULL-ptr deref in percpu stats flushShakeel Butt1-6/+6
2019-10-19mm/memcontrol: update lruvec counters in mem_cgroup_move_accountKonstantin Khlebnikov1-6/+12
2019-10-09locking/lockdep: Remove unused @nested argument from lock_release()Qian Cai1-1/+1
2019-10-07mm, memcg: proportional memory.{low,min} reclaimChris Down1-0/+5
2019-09-25memcg, kmem: do not fail __GFP_NOFAIL chargesMichal Hocko1-0/+10
2019-09-24mm: thp: make deferred split shrinker memcg awareYang Shi1-0/+24
2019-09-24mm: shrinker: make shrinker not depend on memcg kmemYang Shi1-8/+1
2019-09-24memcg, kmem: deprecate kmem.limit_in_bytesMichal Hocko1-0/+3
2019-09-24mm/memcontrol.c: fix a -Wunused-function warningQian Cai1-5/+0
2019-09-24mm: memcontrol: switch to rcu protection in drain_all_stock()Roman Gushchin1-8/+9
2019-09-24mm, memcg: throttle allocators when failing reclaim over memory.highChris Down1-1/+125
2019-09-24mm: introduce compound_nr()Matthew Wilcox (Oracle)1-2/+2
2019-09-21Merge tag 'for-linus-hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rd...Linus Torvalds1-13/+12
2019-09-17Merge tag 'for-5.4/block-2019-09-16' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+139
2019-09-07pagewalk: separate function pointers from iterator dataChristoph Hellwig1-12/+11
2019-09-07mm: split out a new pagewalk.h header from mm.hChristoph Hellwig1-1/+1
2019-08-30mm: memcontrol: fix percpu vmstats and vmevents flushShakeel Butt1-5/+5
2019-08-30mm, memcg: partially revert "mm/memcontrol.c: keep local VM counters in sync ...Roman Gushchin1-5/+3
2019-08-30mm: memcontrol: flush percpu slab vmstats on kmem offliningRoman Gushchin1-8/+27
2019-08-30writeback: add tracepoints for cgroup foreign writebacksTejun Heo1-0/+5
2019-08-27writeback, memcg: Implement foreign dirty flushingTejun Heo1-0/+134
2019-08-24mm: memcontrol: flush percpu vmevents before releasing memcgRoman Gushchin1-1/+21
2019-08-24mm: memcontrol: flush percpu vmstats before releasing memcgRoman Gushchin1-0/+40
2019-08-13mm: workingset: fix vmstat counters for shadow nodesRoman Gushchin1-0/+20
2019-08-13mm/memcontrol.c: fix use after free in mem_cgroup_iter()Miles Chen1-10/+29
2019-07-16mm/memcontrol.c: keep local VM counters in sync with the hierarchical onesYafang Shao1-7/+15
2019-07-14Merge tag 'for-linus-hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rd...Linus Torvalds1-7/+6
2019-07-12mm, oom: remove redundant task_in_mem_cgroup() checkShakeel Butt1-26/+0
2019-07-12mm: memcontrol: use CSS_TASK_ITER_PROCS at mem_cgroup_scan_tasks()Tetsuo Handa1-1/+1
2019-07-12mm: memcg/slab: reparent memcg kmem_caches on cgroup removalRoman Gushchin1-6/+8
2019-07-12mm: memcg/slab: stop setting page->mem_cgroup pointer for slab pagesRoman Gushchin1-5/+7
2019-07-12mm: memcg/slab: rework non-root kmem_cache lifecycle managementRoman Gushchin1-12/+38
2019-07-12mm: memcg/slab: introduce __memcg_kmem_uncharge_memcg()Roman Gushchin1-8/+17
2019-07-12mm: memcontrol: dump memory.stat during cgroup OOMJohannes Weiner1-132/+157
2019-07-12mm, memcg: introduce memory.events.localShakeel Butt1-10/+24
2019-07-12memcg, oom: no oom-kill for __GFP_RETRY_MAYFAILShakeel Butt1-3/+1
2019-07-12mm/memcontrol: fix wrong statistics in memory.statYafang Shao1-2/+3
2019-07-02mm: remove MEMORY_DEVICE_PUBLIC supportChristoph Hellwig1-7/+6
2019-06-13mm: memcontrol: don't batch updates of local VM stats and eventsJohannes Weiner1-13/+28
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157Thomas Gleixner1-10/+1
2019-05-14mm: memcontrol: fix NUMA round-robin reclaim at intermediate levelJohannes Weiner1-4/+4
2019-05-14mm: memcontrol: fix recursive statistics correctness & scalabiltyJohannes Weiner1-106/+99
2019-05-14mm: memcontrol: move stat/event counting functions out-of-lineJohannes Weiner1-0/+79
2019-05-14mm: memcontrol: make cgroup stats and events query API explicitly localJohannes Weiner1-19/+21
2019-05-14mm, memcg: rename ambiguously named memory.stat counters and functionsChris Down1-72/+76
2019-05-14mm: memcontrol: quarantine the mem_cgroup_[node_]nr_lru_pages() APIJohannes Weiner1-31/+36
2019-05-14mm: memcontrol: push down mem_cgroup_nr_lru_pages()Johannes Weiner1-6/+7
2019-05-14mm: memcontrol: push down mem_cgroup_node_nr_lru_pages()Johannes Weiner1-3/+7
2019-05-14mm: memcontrol: replace node summing with memcg_page_state()Johannes Weiner1-3/+6
2019-05-14mm: memcontrol: replace zone summing with lruvec_page_state()Johannes Weiner1-1/+1
2019-04-05mm: writeback: use exact memcg dirty countsGreg Thelen1-2/+18
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