aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
AgeCommit message (Expand)AuthorFilesLines
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
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