aboutsummaryrefslogtreecommitdiffstats
path: root/mm/vmscan.c
AgeCommit message (Expand)AuthorFilesLines
3 daysmm/vmscan: unify writeback reclaim statistic and throttlingKairui Song1-49/+43
3 daysmm/vmscan: remove sc->unqueued_dirtyKairui Song1-2/+0
3 daysmm/vmscan: remove sc->file_takenKairui Song1-3/+0
3 daysmm/mglru: remove no longer used reclaim argument for folio protectionKairui Song1-7/+4
3 daysmm/mglru: simplify and improve dirty writeback handlingKairui Song1-25/+16
3 daysmm/mglru: use the common routine for dirty/writeback reactivationKairui Song1-19/+0
3 daysmm/mglru: remove redundant swap constrained check upon isolationKairui Song1-6/+0
3 daysmm/mglru: don't abort scan immediately right after agingKairui Song1-3/+9
3 daysmm/mglru: use a smaller batch for reclaimKairui Song1-1/+1
3 daysmm/mglru: avoid reclaim type fall back when isolation makes no progressBarry Song (Xiaomi)1-2/+7
3 daysmm/mglru: scan and count the exact number of foliosKairui Song1-29/+29
3 daysmm/mglru: restructure the reclaim loopKairui Song1-36/+36
3 daysmm/mglru: relocate the LRU scan batch limit to callersKairui Song1-7/+9
3 daysmm/mglru: rename variables related to aging and rotationKairui Song1-7/+7
3 daysmm/mglru: consolidate common code for retrieving evictable sizeKairui Song1-22/+14
3 daysmm/mglru: use folio_mark_accessed to replace folio_set_activeBarry Song (Xiaomi)1-1/+5
3 daysmm/memcg, swap: store cgroup id in cluster table directlyKairui Song1-1/+1
3 daysmm/memcg, swap: tidy up cgroup v1 memsw swap helpersKairui Song1-1/+1
3 daysmm/vmpressure: skip socket pressure for costly order reclaimJP Kobryn (Meta)1-4/+4
3 daysmm/vmscan: fix typos in commentsXiang Gao1-3/+3
3 daysmm/vmscan: add balance_pgdat begin/end tracepointsBunyod Suvonov1-0/+5
2026-04-18mm/vmscan: avoid false-positive -Wuninitialized warningArnd Bergmann1-2/+2
2026-04-18mm: remove '!root_reclaim' checking in should_abort_scan()Zhaoyang Huang1-4/+0
2026-04-18mm/vmscan: prevent MGLRU reclaim from pinning address spaceSuren Baghdasaryan1-2/+3
2026-04-18mm: vmscan: fix dirty folios throttling on cgroup v1 for MGLRUBaolin Wang1-1/+16
2026-04-18mm: lru: add VM_WARN_ON_ONCE_FOLIO to lru maintenance helpersMuchun Song1-1/+0
2026-04-18mm: workingset: use lruvec_lru_size() to get the number of lru pagesQi Zheng1-2/+1
2026-04-18mm: vmscan: prepare for reparenting MGLRU foliosQi Zheng1-0/+142
2026-04-18mm: vmscan: prepare for reparenting traditional LRU foliosQi Zheng1-19/+0
2026-04-18mm: do not open-code lruvec lockQi Zheng1-19/+19
2026-04-18mm: mglru: prevent memory cgroup release in mglruMuchun Song1-6/+16
2026-04-18mm: vmscan: refactor move_folios_to_lru()Muchun Song1-25/+21
2026-04-18mm: vmscan: prepare for the refactoring the move_folios_to_lru()Qi Zheng1-3/+3
2026-04-18mm: rename unlock_page_lruvec_irq and its variantsMuchun Song1-2/+2
2026-04-05mm: update outdated comments for removed scan_swap_map_slots()Kexin Sun1-1/+1
2026-04-05mm/mglru: fix cgroup OOM during MGLRU state switchingLeno Hou1-9/+24
2026-04-05mm/vmscan: fix unintended mtc->nmask mutation in alloc_demote_folio()Bing Jiao1-9/+5
2026-04-05mm: support batched checking of the young flag for MGLRUBaolin Wang1-11/+32
2026-04-05mm: rename ptep/pmdp_clear_young_notify() to ptep/pmdp_test_and_clear_young_n...Baolin Wang1-4/+4
2026-04-05folio_batch: rename pagevec.h to folio_batch.hTal Zussman1-1/+1
2026-04-05mm: vmscan: add cgroup IDs to vmscan tracepointsThomas Ballasi1-8/+9
2026-04-05mm: add folio_test_lazyfree helperVernon Yang1-3/+2
2026-04-05mm: move pgscan, pgsteal, pgrefill to node statsJP Kobryn (Meta)1-26/+13
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook1-1/+2
2026-02-12mm/vmscan: select the closest preferred node in demote_folio_list()Bing Jiao1-3/+2
2026-02-12mm/vmscan: fix demotion targets checks in reclaim/demotionBing Jiao1-12/+22
2026-02-06mm/vmscan: use %pe to print error pointersSahil Chandna1-2/+2
2026-01-31mm, swap: use swap cache as the swap in synchronize layerKairui Song1-2/+1
2026-01-31mm/vmscan: add tracepoint and reason for kswapd_failures resetJiayuan Chen1-9/+20
2026-01-31mm/vmscan: mitigate spurious kswapd_failures reset from direct reclaimJiayuan Chen1-2/+20
2026-01-31mm/vmscan: drop inclusion of balloon_compaction.hDavid Hildenbrand (Red Hat)1-1/+0
2026-01-26memcg: rename mem_cgroup_ino() to mem_cgroup_id()Shakeel Butt1-3/+3
2026-01-26mm/vmscan: use cgroup ID instead of private memcg ID in lru_gen interfaceShakeel Butt1-13/+6
2026-01-20mm: fix minor spelling mistakes in commentsKevin Lourenco1-1/+1
2026-01-20mm/block/fs: remove laptop_modeJohannes Weiner1-22/+8
2026-01-20memcg: remove mem_cgroup_size()Chen Ridong1-5/+4
2026-01-20mm/vmscan.c:shrink_folio_list(): save a tabstopAndrew Morton1-48/+48
2026-01-20mm: introduce generic lazy_mmu helpersKevin Brodsky1-6/+6
2026-01-20mm: restore per-memcg proactive reclaim with !CONFIG_NUMAYosry Ahmed1-2/+11
2025-12-13Merge tag 'mm-stable-2025-12-11-11-39' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-3/+5
2025-12-09mm: vmscan: correct nr_requested tracing in scan_foliosChen Ridong1-2/+3
2025-12-09mm/huge_memory: replace can_split_folio() with direct refcount calculationZi Yan1-1/+2
2025-12-05Merge tag 'mm-stable-2025-12-03-21-26' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-59/+24
2025-11-29mm/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