aboutsummaryrefslogtreecommitdiffstats
path: root/mm/vmscan.c
AgeCommit message (Expand)AuthorFilesLines
7 daysMerge tag 'mm-stable-2025-12-03-21-26' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-59/+24
13 daysmm/vmscan: skip increasing kswapd_failures when reclaim was boostedJiayuan Chen1-1/+6
2025-11-25fs: cosmetic fixes to lru handlingMateusz Guzik1-1/+1
2025-11-24memcg: remove __mod_lruvec_stateShakeel Butt1-2/+2
2025-11-20mm: vmscan: simplify the folio refcount check in pageout()Baolin Wang1-12/+4
2025-11-20mm: vmscan: remove folio_test_private() check in pageout()Baolin Wang1-16/+1
2025-11-16mm, swap: cleanup swap entry allocation parameterKairui Song1-2/+2
2025-11-16mm: vmscan: simplify the logic for activating dirty file foliosBaolin Wang1-22/+3
2025-11-16mm: vmscan: filter out the dirty file folios for node_reclaim()Baolin Wang1-3/+5
2025-11-16mm/vmscan: remove redundant __GFP_NOWARNFushuai Wang1-1/+1
2025-11-16mm: replace READ_ONCE() with standard page table accessorsAnshuman Khandual1-1/+1
2025-09-21mm: re-enable kswapd when memory pressure subsides or demotion is toggledChanwon Park1-7/+7
2025-09-21mm, swap: use the swap table for the swap cache and switch APIKairui Song1-6/+14
2025-09-21mm, swap: cleanup swap cache API and add kerneldocKairui Song1-1/+1
2025-09-21Merge branch 'mm-hotfixes-stable' into mm-stable in order to pick upAndrew Morton1-1/+1
2025-09-13mm: fix duplicate accounting of free pages in should_reclaim_retry()liuqiqi1-9/+2
2025-09-13mm: introduce memdesc_flags_tMatthew Wilcox (Oracle)1-9/+9
2025-09-13mm/mglru: update MG-LRU proactive reclaim statistics only to memcgHao Jia1-0/+2
2025-09-13mm: revert "mm: vmscan.c: fix OOM on swap stress test"Hugh Dickins1-1/+1
2025-08-10mm/vmscan: fix inverted polarity in lru_gen_seq_show()Danilo Krummrich1-2/+2
2025-07-31Merge tag 'mm-stable-2025-07-30-15-25' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-158/+308
2025-07-29Merge tag 'driver-core-6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-3/+5
2025-07-24mm: optimize lru_note_cost() by adding lru_note_cost_unlock_irq()Hugh Dickins1-5/+3
2025-07-24mm/mglru: stop try_to_inc_min_seq() if min_seq[type] has not increasedHao Jia1-0/+10
2025-07-19mm/vmscan: fix hwpoisoned large folio handling in shrink_folio_listJinjiang Tu1-0/+8
2025-07-19mm: introduce per-node proactive reclaim interfaceDavidlohr Bueso1-7/+48
2025-07-19mm/vmscan: make __node_reclaim() more genericDavidlohr Bueso1-23/+25
2025-07-19mm/memcg: make memory.reclaim interface genericDavidlohr Bueso1-0/+98
2025-07-19mm/vmscan: respect psi_memstall region in node reclaimDavidlohr Bueso1-1/+1
2025-07-13mm: remove __folio_test_movable()David Hildenbrand1-2/+4
2025-07-09mm: remove redundant pXd_devmap callsAlistair Popple1-3/+0
2025-07-09mm: convert vmf_insert_mixed() from using pte_devmap to pte_specialAlistair Popple1-1/+1
2025-07-09mm: update core kernel code to use vm_flags_t consistentlyLorenzo Stoakes1-2/+2
2025-07-09Revert "mm: make alloc_demote_folio externally invokable for migration"SeongJae Park1-1/+2
2025-07-09Revert "mm: rename alloc_demote_folio to alloc_migrate_folio"SeongJae Park1-2/+2
2025-07-09mm: stop passing a writeback_control structure to swap_writeoutChristoph Hellwig1-9/+1
2025-07-09mm: stop passing a writeback_control structure to shmem_writeoutChristoph Hellwig1-7/+5
2025-07-09mm: split out a writeout helper from pageoutChristoph Hellwig1-46/+48
2025-07-09mm: vmscan: apply proportional reclaim pressure for memcg when MGLRU is enabledKoichiro Den1-70/+79
2025-07-09vmscan: don't bother with debugfs_real_fops()Al Viro1-3/+5
2025-06-02Merge tag 'fuse-update-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-3/+9
2025-05-31Merge tag 'mm-stable-2025-05-31-14-50' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-36/+71
2025-05-26Merge tag 'vfs-6.16-rc1.writepage' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-13/+16
2025-05-22memcg: make count_memcg_events re-entrant safe against irqsShakeel Butt1-7/+7
2025-05-12mm: use SWAPPINESS_ANON_ONLY in MGLRUZhongkun He1-4/+13
2025-05-12mm: add max swappiness arg to lru_gen for anonymous memory onlyZhongkun He1-4/+15
2025-05-12mm: vmscan: add more comments about cache_trim_modeZhongkun He1-1/+2
2025-05-12mm: add swappiness=max arg to memory.reclaim for only anon reclaimZhongkun He1-0/+7
2025-05-12vmscan,cgroup: apply mems_effective to reclaimGregory Price1-16/+25
2025-05-11mm/vmscan: modify the assignment logic of the scan and total_scan variablesHao Ge1-4/+2
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-15mm: skip folio reclaim in legacy memcg contexts for deadlockable mappingsJoanne Koong1-3/+9
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