aboutsummaryrefslogtreecommitdiffstats
path: root/mm/vmscan.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-14Merge tag 'mm-stable-2024-03-13-20-04' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-119/+137
2024-03-12mm, vmscan: retry kswapd's priority loop with cache_trim_mode off on failureByungchul Park1-1/+20
2024-03-12mm: remove folio from deferred split list before uncharging itMatthew Wilcox (Oracle)1-0/+6
2024-03-04mm: free folios directly in move_folios_to_lru()Matthew Wilcox (Oracle)1-20/+12
2024-03-04mm: free folios in a batch in shrink_folio_list()Matthew Wilcox (Oracle)1-11/+9
2024-03-04mm: madvise: pageout: ignore references rather than clearing youngBarry Song1-5/+7
2024-03-04mm, vmscan: prevent infinite loop for costly GFP_NOIO | __GFP_RETRY_MAYFAIL a...Vlastimil Babka1-1/+4
2024-02-22mm/mglru: improve swappiness handlingKinsey Ho1-10/+10
2024-02-22mm/mglru: improve struct lru_gen_mm_walkKinsey Ho1-24/+26
2024-02-22mm/mglru: improve reset_mm_stats()Kinsey Ho1-20/+22
2024-02-22mm/mglru: improve should_run_aging()Kinsey Ho1-14/+11
2024-02-22mm/mglru: drop unused parameterKinsey Ho1-5/+5
2024-02-22mm/vmscan: make too_many_isolated return boolHao Ge1-3/+3
2024-02-22mm/vmscan: change the type of file from int to boolHao Ge1-2/+2
2024-02-22kswapd: replace try_to_freeze() with kthread_freezable_should_stop()Levi Yun1-6/+6
2024-01-09Merge tag 'mm-stable-2024-01-08-15-31' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-130/+150
2024-01-08mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDERKirill A. Shutemov1-1/+1
2024-01-05mm/vmstat: move pgdemote_* out of CONFIG_NUMA_BALANCINGLi Zhijian1-4/+1
2024-01-05mm/mglru: remove CONFIG_TRANSPARENT_HUGEPAGEKinsey Ho1-11/+1
2024-01-05mm/mglru: remove CONFIG_MEMCGKinsey Ho1-46/+21
2024-01-05mm/mglru: add CONFIG_LRU_GEN_WALKS_MMUKinsey Ho1-69/+123
2023-12-29mm/mglru: skip special VMAs in lru_gen_look_around()Yu Zhao1-4/+9
2023-12-20mm: memcg: restore subtree stats flushingYosry Ahmed1-1/+1
2023-12-20sync mm-stable with mm-hotfixes-stable to pick up depended-upon changesAndrew Morton1-31/+61
2023-12-12mm/mglru: reclaim offlined memcgs harderYu Zhao1-8/+16
2023-12-12mm/mglru: respect min_ttl_ms with memcgsYu Zhao1-14/+16
2023-12-12mm/mglru: try to stop at high watermarksYu Zhao1-8/+28
2023-12-12mm/mglru: fix underprotected page cacheYu Zhao1-1/+1
2023-12-10mm/vmstat: move pgdemote_* to per-node statsLi Zhijian1-4/+8
2023-10-18mm: multi-gen LRU: reuse some legacy trace eventsJaewon Kim1-5/+13
2023-10-06delayacct: add memory reclaim delay in get_page_from_freelistliwenyu1-0/+2
2023-10-04mm, vmscan: remove ISOLATE_UNMAPPEDVlastimil Babka1-2/+1
2023-10-04mm: memcg: add THP swap out info for anonymous reclaimXin Hao1-0/+1
2023-10-04mm: vmscan: modify an easily misunderstood function nameliujinlong1-2/+2
2023-10-04mm: vmscan: move shrinker-related code into a separate fileQi Zheng1-701/+0
2023-10-04mm/vmscan: print err before panicAngus Chen1-1/+2
2023-10-04mm/vmscan: use folio_migratetype() instead of get_pageblock_migratetype()Vern Hao1-1/+1
2023-08-24mm/swap: inline folio_set_swap_entry() and folio_swap_entry()David Hildenbrand1-1/+1
2023-08-21merge mm-hotfixes-stable into mm-stable to pick up depended-upon changesAndrew Morton1-5/+9
2023-08-21Multi-gen LRU: skip CMA pages when they are not eligibleCharan Teja Kalla1-1/+1
2023-08-21Multi-gen LRU: fix can_swap in lru_gen_look_around()Kalesh Singh1-1/+2
2023-08-21Multi-gen LRU: avoid race in inc_min_seq()Kalesh Singh1-6/+7
2023-08-21Multi-gen LRU: fix per-zone reclaimKalesh Singh1-4/+14
2023-08-21mm: multi-gen LRU: don't spin during memcg releaseT.J. Mercier1-5/+8
2023-08-21mm: enable page walking API to lock vmas during the walkSuren Baghdasaryan1-0/+1
2023-08-18mm: merge folio_has_private()/filemap_release_folio() call pairsDavid Howells1-4/+4
2023-06-23mm/vmscan: fix root proactive reclaim unthrottling unbalanced nodeYosry Ahmed1-7/+12
2023-06-23mm: memcg: rename and document global_reclaim()Yosry Ahmed1-8/+13
2023-06-23mm: remove check_move_unevictable_pages()Matthew Wilcox (Oracle)1-17/+0
2023-06-23Merge mm-hotfixes-stable into mm-stable to pick up depended-upon changes.Andrew Morton1-76/+62
2023-06-23mm/mglru: make memcg_lru->lock irq safeYu Zhao1-6/+7
2023-06-19mm: ptep_get() conversionRyan Roberts1-6/+8
2023-06-19mm/mglru: allow pte_offset_map_nolock() to failHugh Dickins1-9/+7
2023-06-19mm: vmscan: mark kswapd_run() and kswapd_stop() __meminitMiaohe Lin1-2/+2
2023-06-19mm: skip CMA pages when they are not availableZhaoyang Huang1-1/+21
2023-06-19Revert "mm: vmscan: make global slab shrink lockless"Qi Zheng1-12/+16
2023-06-19Revert "mm: vmscan: make memcg slab shrink lockless"Qi Zheng1-26/+19
2023-06-19Revert "mm: vmscan: add shrinker_srcu_generation"Qi Zheng1-20/+4
2023-06-19Revert "mm: vmscan: hold write lock to reparent shrinker nr_deferred"Qi Zheng1-2/+2
2023-06-19Revert "mm: vmscan: remove shrinker_rwsem from synchronize_shrinkers()"Qi Zheng1-2/+6
2023-06-19Revert "mm: shrinkers: convert shrinker_rwsem to mutex"Qi Zheng1-17/+17
2023-06-09vmstat: allow_direct_reclaim should use zone_page_state_snapshotMarcelo Tosatti1-1/+1
2023-06-09Multi-gen LRU: fix workingset accountingKalesh Singh1-1/+0
2023-06-09mm: multi-gen LRU: add helpers in page table walksT.J. Alumbaugh1-5/+15
2023-06-09mm: multi-gen LRU: cleanup lru_gen_soft_reclaim()T.J. Alumbaugh1-1/+3
2023-06-09mm: multi-gen LRU: use macro for bitmapT.J. Alumbaugh1-1/+1
2023-06-09mm: compaction: have compaction_suitable() return boolJohannes Weiner1-4/+2
2023-06-09mm: compaction: remove unnecessary is_via_compact_memory() checksJohannes Weiner1-7/+1
2023-06-09mm: compaction: refactor __compaction_suitable()Johannes Weiner1-14/+21
2023-06-09mm: convert migrate_pages() to work on foliosMatthew Wilcox (Oracle)1-7/+8
2023-06-09mm: vmscan: use gfp_has_io_fs()Kefeng Wang1-1/+1
2023-05-17mm: shrinkers: fix race condition on debugfs cleanupJoan Bruguera Micó1-2/+3
2023-05-06mm: do not reclaim private data from pinned pageJan Kara1-0/+10
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-184/+199
2023-04-18mm: Multi-gen LRU: remove wait_event_killable()Kalesh Singh1-72/+40
2023-04-18mm: vmscan: move set_task_reclaim_state() near flush_reclaim_state()Yosry Ahmed1-12/+12
2023-04-18mm: vmscan: ignore non-LRU-based reclaim in memcg reclaimYosry Ahmed1-7/+42
2023-04-18mm/vmscan: simplify shrink_node()Haifeng Xu1-6/+6
2023-04-18vmscan: memcg: sleep when flushing stats during reclaimYosry Ahmed1-1/+1
2023-04-18memcg: sleep during flushing stats in safe contextsYosry Ahmed1-1/+1
2023-04-05mm, treewide: redefine MAX_ORDER sanelyKirill A. Shutemov1-1/+1
2023-03-28mm: shrinkers: convert shrinker_rwsem to mutexQi Zheng1-17/+17
2023-03-28mm: vmscan: remove shrinker_rwsem from synchronize_shrinkers()Qi Zheng1-6/+2
2023-03-28mm: vmscan: hold write lock to reparent shrinker nr_deferredQi Zheng1-2/+2
2023-03-28mm: vmscan: add shrinker_srcu_generationKirill Tkhai1-4/+20
2023-03-28mm: vmscan: make memcg slab shrink locklessQi Zheng1-19/+26
2023-03-28mm: vmscan: make global slab shrink locklessQi Zheng1-16/+12
2023-03-28mm: vmscan: add a map_nr_max field to shrinker_infoQi Zheng1-17/+18
2023-03-28mm: multi-gen LRU: improve design docT.J. Alumbaugh1-1/+1
2023-03-28mm: multi-gen LRU: clean up sysfs codeT.J. Alumbaugh1-13/+9
2023-03-12fork/vm: Move common PF_IO_WORKER behavior to new flagMike Christie1-2/+2
2023-02-20mm: change to return bool for folio_isolate_lru()Baolin Wang1-5/+5
2023-02-16mm: memcontrol: rename memcg_kmem_enabled()Roman Gushchin1-1/+1
2023-02-16mm: multi-gen LRU: avoid futile retriesYu Zhao1-10/+15
2023-02-10Merge branch 'mm-hotfixes-stable' into mm-stableAndrew Morton1-1/+5
2023-02-09mm: shrinkers: fix deadlock in shrinker debugfsQi Zheng1-1/+5
2023-02-02mm: multi-gen LRU: simplify lru_gen_look_around()T.J. Alumbaugh1-50/+23
2023-02-02mm: multi-gen LRU: improve walk_pmd_range()T.J. Alumbaugh1-20/+20
2023-02-02mm: multi-gen LRU: improve lru_gen_exit_memcg()T.J. Alumbaugh1-0/+5
2023-02-02mm: multi-gen LRU: section for memcg LRUT.J. Alumbaugh1-108/+142
2023-02-02mm: multi-gen LRU: section for Bloom filtersT.J. Alumbaugh1-88/+92
2023-02-02mm: multi-gen LRU: section for rmap/PT walk feedbackT.J. Alumbaugh1-0/+4
2023-02-02mm: multi-gen LRU: section for working set protectionT.J. Alumbaugh1-0/+4
2023-01-31Sync mm-stable with mm-hotfixes-stable to pick up dependent patchesAndrew Morton1-4/+5
2023-01-31mm: multi-gen LRU: fix crash during cgroup migrationYu Zhao1-1/+4
2023-01-31Revert "mm: add nodes= arg to memory.reclaim"Michal Hocko1-3/+1
2023-01-18mm: add vma_has_recency()Yu Zhao1-1/+4
2023-01-18mm: multi-gen LRU: simplify arch_has_hw_pte_young() checkYu Zhao1-1/+1
2023-01-18mm: multi-gen LRU: clarify scan_control flagsYu Zhao1-28/+28
2023-01-18mm: multi-gen LRU: per-node lru_gen_folio listsYu Zhao1-33/+341
2023-01-18mm: multi-gen LRU: shuffle should_run_aging()Yu Zhao1-62/+62
2023-01-18mm: multi-gen LRU: remove aging fairness safeguardYu Zhao1-67/+59
2023-01-18mm: multi-gen LRU: remove eviction fairness safeguardYu Zhao1-58/+23
2023-01-18mm: multi-gen LRU: rename lrugen->lists[] to lrugen->folios[]Yu Zhao1-10/+10
2023-01-18mm: multi-gen LRU: rename lru_gen_struct to lru_gen_folioYu Zhao1-17/+17
2023-01-18mm/swap: convert deactivate_page() to folio_deactivate()Vishal Moola (Oracle)1-1/+1
2022-12-17Merge tag 'x86_mm_for_6.2_v2' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-4/+1
2022-12-15mm: Remove pointless barrier() after pmdp_get_lockless()Peter Zijlstra1-3/+0
2022-12-15mm: Rename pmd_read_atomic()Peter Zijlstra1-2/+2
2022-12-11mm: memcg: fix swapcached stat accountingHugh Dickins1-2/+1
2022-12-11mm: add nodes= arg to memory.reclaimMina Almasry1-1/+3
2022-12-11mm: disable top-tier fallback to reclaim on proactive reclaimMina Almasry1-3/+22
2022-12-11mm: memcg: fix stale protection of reclaim target memcgYosry Ahmed1-5/+6
2022-11-30mm: vmscan: use sysfs_emit() to instead of scnprintf()Xu Panda1-1/+1
2022-11-30mm: multi-gen LRU: remove NULL checks on NODE_DATA()Yu Zhao1-11/+2
2022-11-30mm: make drop_caches keep reclaiming on all nodesJan Kara1-15/+18
2022-11-30mm: vmscan: split khugepaged stats from direct reclaim statsJohannes Weiner1-8/+24
2022-11-30Merge branch 'mm-hotfixes-stable' into mm-stableAndrew Morton1-23/+59
2022-11-30mm: introduce arch_has_hw_nonleaf_pmd_young()Juergen Gross1-5/+5
2022-11-22mm/cgroup/reclaim: fix dirty pages throttling on cgroup v1Aneesh Kumar K.V1-1/+13
2022-11-22mm: multi-gen LRU: retry folios written back while isolatedYu Zhao1-11/+37
2022-11-22mm: vmscan: fix extreme overreclaim and swap floodsJohannes Weiner1-6/+4
2022-11-08mm: vmscan: make rotations a secondary factor in balancing anon vs fileJohannes Weiner1-1/+3
2022-10-07mglru: mm/vmscan.c: fix imprecise commentsYu Zhao1-5/+4
2022-10-07mm/mglru: don't sync disk for each aging cycleYu Zhao1-2/+0
2022-10-03memcg: convert mem_cgroup_swap_full() to take a folioMatthew Wilcox (Oracle)1-2/+1
2022-10-03mm/swap: convert put_swap_page() to put_swap_folio()Matthew Wilcox (Oracle)1-1/+1
2022-10-03mm/swapfile: convert try_to_free_swap() to folio_free_swap()Matthew Wilcox (Oracle)1-1/+1
2022-10-03mm/vmscan: fix a lot of commentsMatthew Wilcox (Oracle)1-133/+130
2022-09-26mm/vmscan: use vma iterator instead of vm_nextLiam R. Howlett1-9/+3
2022-09-26mm/demotion: demote pages according to allocation fallback orderJagdish Gediya1-15/+43
2022-09-26mm/demotion: move memory demotion related codeAneesh Kumar K.V1-0/+1
2022-09-26mm: multi-gen LRU: admin guideYu Zhao1-0/+4
2022-09-26mm: multi-gen LRU: debugfs interfaceYu Zhao1-10/+401
2022-09-26mm: multi-gen LRU: thrashing preventionYu Zhao1-3/+71
2022-09-26mm: multi-gen LRU: kill switchYu Zhao1-5/+223
2022-09-26mm: multi-gen LRU: optimize multiple memcgsYu Zhao1-9/+96
2022-09-26mm: multi-gen LRU: support page table walksYu Zhao1-16/+994
2022-09-26mm: multi-gen LRU: exploit locality in rmapYu Zhao1-0/+184
2022-09-26mm: multi-gen LRU: minimal implementationYu Zhao1-8/+784
2022-09-26mm: multi-gen LRU: groundworkYu Zhao1-0/+75
2022-09-26mm/vmscan.c: refactor shrink_node()Yu Zhao1-94/+104
2022-09-26Merge branch 'mm-hotfixes-stable' into mm-stableAndrew Morton1-2/+2
2022-09-11mm: fix null-ptr-deref in kswapd_is_running()Kefeng Wang1-11/+16
2022-09-11mm/vmscan: make the annotations of refaults code at the right placeYang Yang1-5/+5
2022-09-11mm/vmscan: define macros for refaults in struct lruvecYang Yang1-4/+4
2022-09-11vmscan: check folio_test_private(), not folio_get_private()Matthew Wilcox (Oracle)1-2/+2
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-135/+197
2022-07-29mm: vmpressure: don't count proactive reclaim in vmpressureYosry Ahmed1-10/+17
2022-07-29mm: shrinkers: fix double kfree on shrinker nameTetsuo Handa1-2/+7
2022-07-03mm, docs: fix comments that mention mem_hotplug_end()Yun-Ze Li1-1/+1
2022-07-03mm/swap: convert __delete_from_swap_cache() to a folioMatthew Wilcox (Oracle)1-1/+1
2022-07-03mm: convert page_swap_flags to folio_swap_flagsMatthew Wilcox (Oracle)1-1/+1
2022-07-03mm: convert destroy_compound_page() to destroy_large_folio()Matthew Wilcox (Oracle)1-2/+2
2022-07-03mm/vmscan: convert reclaim_pages() to use a folioMatthew Wilcox (Oracle)1-13/+12
2022-07-03mm/vmscan: convert shrink_active_list() to use a folioMatthew Wilcox (Oracle)1-32/+29
2022-07-03mm/vmscan: convert move_pages_to_lru() to use a folioMatthew Wilcox (Oracle)1-27/+27
2022-07-03mm/vmscan: convert isolate_lru_pages() to use a folioMatthew Wilcox (Oracle)1-33/+33
2022-07-03mm/vmscan: convert reclaim_clean_pages_from_list() to foliosMatthew Wilcox (Oracle)1-11/+11
2022-07-03mm: shrinkers: provide shrinkers with namesRoman Gushchin1-3/+55
2022-07-03mm: shrinkers: introduce debugfs interface for memory shrinkersRoman Gushchin1-2/+4
2022-06-29vmscan: Add check_move_unevictable_folios()Matthew Wilcox (Oracle)1-22/+34
2022-05-26Merge tag 'mm-stable-2022-05-25' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-226/+250
2022-05-25Revert "mm/vmscan: never demote for memcg reclaim"Johannes Weiner1-7/+2
2022-05-19mm: don't be stuck to rmap lock on reclaim pathMinchan Kim1-1/+6
2022-05-13vmscan: remove remaining uses of page in shrink_page_listMatthew Wilcox (Oracle)1-62/+60
2022-05-13vmscan: convert the activate_locked portion of shrink_page_list to foliosMatthew Wilcox (Oracle)1-8/+9
2022-05-13vmscan: move initialisation of mapping downMatthew Wilcox (Oracle)1-5/+2
2022-05-13vmscan: convert lazy freeing to foliosMatthew Wilcox (Oracle)1-9/+9
2022-05-13vmscan: convert page buffer handling to use foliosMatthew Wilcox (Oracle)1-23/+25
2022-05-13vmscan: convert dirty page handling to foliosMatthew Wilcox (Oracle)1-22/+26
2022-05-13swap: convert add_to_swap() to take a folioMatthew Wilcox (Oracle)1-3/+3
2022-05-13vmscan: convert the writeback handling in shrink_page_list() to foliosMatthew Wilcox (Oracle)1-36/+42
2022-05-13vmscan: use folio_mapped() in shrink_page_list()Matthew Wilcox (Oracle)1-8/+8
2022-05-13mm/vmscan: don't use NUMA_NO_NODE as indicator of page on different nodeWei Yang1-4/+3
2022-05-13mm/vmscan: filter empty page_list at the beginningWei Yang1-4/+6
2022-05-13mm/vmscan: use helper folio_is_file_lru()Miaohe Lin1-2/+2
2022-05-13mm/vmscan: remove obsolete comment in kswapd_runMiaohe Lin1-1/+0
2022-05-13mm/vmscan: take all base pages of THP into account when race with speculative...Miaohe Lin1-1/+1
2022-05-13mm/vmscan: introduce helper function reclaim_page_list()Miaohe Lin1-25/+25
2022-05-13mm/vmscan: add a comment about MADV_FREE pages check in folio_check_dirty_wri...Miaohe Lin1-1/+4
2022-05-13mm/vmscan: not necessary to re-init the list for each iterationWei Yang1-3/+1
2022-05-13mm/vmscan: take min_slab_pages into account when try to call shrink_nodeMiaohe Lin1-1/+2
2022-05-09fs: Remove aops->freepageMatthew Wilcox (Oracle)1-4/+0
2022-05-09fs: Add free_folio address space operationMatthew Wilcox (Oracle)1-1/+5
2022-05-09fs: Change try_to_free_buffers() to take a folioMatthew Wilcox (Oracle)1-1/+1
2022-05-09mm: submit multipage write for SWP_FS_OPS swap-spaceNeilBrown1-2/+7
2022-05-09mm: reclaim mustn't enter FS for SWP_FS_OPS swap-spaceNeilBrown1-9/+20
2022-05-09mm: create new mm/swap.h header fileNeilBrown1-0/+1
2022-05-08fs: Convert is_dirty_writeback() to take a folioMatthew Wilcox (Oracle)1-1/+1