aboutsummaryrefslogtreecommitdiffstats
path: root/mm/vmscan.c
AgeCommit message (Expand)AuthorFilesLines
2025-05-26Merge tag 'vfs-6.16-rc1.writepage' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-13/+16
2025-04-17mm: vmscan: fix kswapd exit condition in defrag_modeJohannes Weiner1-1/+7
2025-04-17mm: vmscan: restore high-cpu watermark safety in kswapdJohannes Weiner1-2/+19
2025-04-07fs: Remove aops->writepageMatthew Wilcox (Oracle)1-1/+0
2025-04-07mm: Remove swap_writepage() and shmem_writepage()Matthew Wilcox (Oracle)1-12/+16
2025-04-01Merge tag 'mm-stable-2025-03-30-16-52' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-112/+140
2025-03-21mm/vmscan: don't try to reclaim hwpoison folioJinjiang Tu1-0/+7
2025-03-21mm: vmscan: split proactive reclaim statistics from direct reclaim statisticsHao Jia1-15/+20
2025-03-17mm: page_alloc: defrag_mode kswapd/kcompactd watermarksJohannes Weiner1-1/+14
2025-03-17mm: compaction: push watermark into compaction_suitable() callersJohannes Weiner1-12/+14
2025-03-17mm: lock PGDAT_RECLAIM_LOCKED with acquire memory orderingMathieu Desnoyers1-1/+1
2025-03-17mm: add missing release barrier on PGDAT_RECLAIM_LOCKED unlockMathieu Desnoyers1-1/+1
2025-03-16mm, swap: simplify folio swap allocationKairui Song1-2/+14
2025-03-16vmscan, cleanup: add for_each_managed_zone_pgdat macroBertrand Wlodarczyk1-51/+32
2025-03-16mm/vmscan: extract calculated pressure balance as a functionHao Zhang1-30/+38
2025-03-16mm: memcontrol: move memsw charge callbacks to v1Johannes Weiner1-1/+1
2025-02-07mm: vmscan: move vmscan sysctls to mm/vmscan.cKaixiong Yu1-0/+23
2025-02-01mm/vmscan: accumulate nr_demoted for accurate demotion statisticsLi Zhijian1-3/+4
2025-02-01mm/vmscan: fix hard LOCKUP in function isolate_lru_foliosliuye1-1/+5
2025-01-26Merge tag 'mm-stable-2025-01-26-14-59' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-250/+257
2025-01-25mm/mglru: fix PTE-mapped large foliosYu Zhao1-37/+71
2025-01-25mm/mglru: rework workingset protectionYu Zhao1-58/+85
2025-01-25mm/mglru: rework type selectionYu Zhao1-56/+26
2025-01-25mm/mglru: rework aging feedbackYu Zhao1-115/+91
2025-01-21Merge tag 'kthread-for-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-5/+3
2025-01-12mm: vmscan : pgdemote vmstat is not getting updated when MGLRU is enabled.Donet Tom1-0/+3
2025-01-08mm: Create/affine kswapd to its preferred nodeFrederic Weisbecker1-5/+3
2024-12-30mm: vmscan: account for free pages to prevent infinite Loop in throttle_direc...Seiji Nishikawa1-1/+8
2024-11-07mm/vmscan: wake up flushers conditionally to avoid cgroup OOMZeng Jingxiang1-3/+22
2024-11-06memcg-v1: no need for memcg locking for MGLRUShakeel Butt1-15/+1
2024-11-06mm/mglru: reset page lru tier bits when activatingWei Xu1-4/+4
2024-11-06vmscan: add a vmscan event for reclaim_pagesJaewon Kim1-2/+3
2024-11-06mm: swap: make some count_mthp_stat() call-sites be THP-agnostic.Kanchana P Sridhar1-1/+1
2024-11-05mm: multi-gen LRU: walk_pte_range() use pte_offset_map_rw_nolock()Qi Zheng1-1/+8
2024-11-05mm: fix shrink nr.unqueued_dirty counter issueZhiguo Jiang1-1/+2
2024-11-05mm/thp: fix deferred split unqueue naming and lockingHugh Dickins1-2/+2
2024-11-03mm: multi-gen LRU: use {ptep,pmdp}_clear_young_notify()Yu Zhao1-39/+49
2024-11-03mm: multi-gen LRU: remove MM_LEAF_OLD and MM_NONLEAF_TOTAL statsYu Zhao1-9/+5
2024-10-17mm/mglru: only clear kswapd_failures if reclaimableWei Xu1-2/+2
2024-09-21Merge tag 'mm-stable-2024-09-20-02-31' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-21/+46
2024-09-09mm: introduce a pageflag for partially mapped foliosUsama Arif1-1/+2
2024-09-09mm: vmscan.c: fix OOM on swap stress testChris Li1-1/+1
2024-09-03mm,memcg: provide per-cgroup counters for NUMA balancing operationsKaiyang Zhao1-4/+4
2024-09-03mm: shmem: support large folio swap outBaolin Wang1-7/+23
2024-09-01memcg: use ratelimited stats flush in the reclaimShakeel Butt1-3/+4
2024-09-01mm: multi-gen LRU: ignore non-leaf pmd_young for force_scan=trueYuanchu Xie1-2/+2
2024-09-01mm/huge_memory: convert split_huge_pages_pid() from follow_page() to folio_walkDavid Hildenbrand1-1/+1
2024-09-01mm: create promo_wmark_pages and clean up open-coded sitesKaiyang Zhao1-1/+1
2024-09-01mm: shrink skip folio mapped by an exiting processZhiguo Jiang1-1/+6
2024-09-01mm: add node_reclaim successes to VM event countersMatthew Cassell1-1/+3
2024-09-01Revert "mm: skip CMA pages when they are not available"Usama Arif1-22/+2
2024-07-24Merge tag 'random-6.11-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-9/+0
2024-07-19mm: add MAP_DROPPABLE for designating always lazily freeable mappingsJason A. Donenfeld1-9/+0
2024-07-17mm/mglru: fix ineffective protection calculationYu Zhao1-44/+38
2024-07-17mm/mglru: fix overshooting shrinker memoryYu Zhao1-2/+8
2024-07-17mm/mglru: fix div-by-zero in vmpressure_calc_level()Yu Zhao1-1/+0
2024-07-10mm/vmscan: drop checking if _deferred_list is empty before using TTU_SYNCBarry Song1-1/+1
2024-07-04mm: add swappiness= arg to memory.reclaimDan Schatzberg1-3/+22
2024-07-04mm: add defines for min/max swappinessDan Schatzberg1-6/+6
2024-07-04mm: memcg: rename soft limit reclaim-related functionsRoman Gushchin1-5/+5
2024-07-04mm: refactor folio_undo_large_rmappable()Kefeng Wang1-6/+2
2024-07-03mm: rename alloc_demote_folio to alloc_migrate_folioHonggyu Kim1-2/+2
2024-07-03mm: make alloc_demote_folio externally invokable for migrationHonggyu Kim1-2/+1
2024-07-03mm: vmscan: reset sc->priority on retryShakeel Butt1-0/+1
2024-07-03mm: vmscan: restore incremental cgroup iterationJohannes Weiner1-2/+40
2024-06-05mm: drop the 'anon_' prefix for swap-out mTHP countersBaolin Wang1-1/+1
2024-05-07mm/vmscan: remove ignore_references argument of reclaim_folio_list()SeongJae Park1-6/+4
2024-05-07mm/vmscan: remove ignore_references argument of reclaim_pages()SeongJae Park1-3/+3
2024-05-05mm: add per-order mTHP anon_swpout and anon_swpout_fallback countersBarry Song1-0/+3
2024-04-25mm: vmscan: avoid split during shrink_folio_list()Ryan Roberts1-10/+10
2024-04-25mm: hold PTL from the first PTE while reclaiming a large folioBarry Song1-0/+14
2024-04-25mm: record the migration reason for struct migration_target_controlBaolin Wang1-1/+2
2024-03-18Merge branch 'master' into mm-stableAndrew Morton1-1/+4
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