aboutsummaryrefslogtreecommitdiffstats
path: root/mm/swap.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-12mm: fix list corruption in put_pages_listMatthew Wilcox (Oracle)1-2/+2
2024-03-12mm: remove folio from deferred split list before uncharging itMatthew Wilcox (Oracle)1-0/+3
2024-03-04mm: allow non-hugetlb large folios to be batch processedMatthew Wilcox (Oracle)1-2/+3
2024-03-04mm: use __page_cache_release() in folios_put()Matthew Wilcox (Oracle)1-33/+29
2024-03-04mm: use free_unref_folios() in put_pages_list()Matthew Wilcox (Oracle)1-7/+10
2024-03-04mm: remove use of folio list from folios_put()Matthew Wilcox (Oracle)1-7/+12
2024-03-04mm: use folios_put() in __folio_batch_release()Matthew Wilcox (Oracle)1-2/+1
2024-03-04mm: make folios_put() the basis of release_pages()Matthew Wilcox (Oracle)1-41/+59
2024-02-22mm/mmu_gather: add __tlb_remove_folio_pages()David Hildenbrand1-3/+9
2023-06-23mm: remove references to pagevecMatthew Wilcox (Oracle)1-1/+1
2023-06-23mm: remove struct pagevecMatthew Wilcox (Oracle)1-9/+9
2023-04-16mm: swap: fix performance regression on sparsetruncate-tinyQi Zheng1-1/+1
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-32/+18
2023-02-13mm: Remove get_kernel_pages()Ira Weiny1-30/+0
2023-02-02mm: clean up mlock_page / munlock_page references in commentsMatthew Wilcox (Oracle)1-2/+2
2023-02-02filemap: remove find_get_pages_range_tag()Vishal Moola (Oracle)1-10/+0
2023-02-02mm: mlock: update the interface to use foliosLorenzo Stoakes1-5/+5
2023-01-18mm/swap: convert deactivate_page() to folio_deactivate()Vishal Moola (Oracle)1-8/+6
2023-01-18mm: swap: convert mark_page_lazyfree() to folio_mark_lazyfree()Kefeng Wang1-7/+5
2022-11-30mm: teach release_pages() to take an array of encoded page pointers tooLinus Torvalds1-4/+12
2022-11-08swap: add a limit for readahead page-cluster valueKairui Song1-1/+2
2022-11-08mm: vmscan: make rotations a secondary factor in balancing anon vs fileJohannes Weiner1-5/+17
2022-10-03mm: add folio_add_lru_vma()Matthew Wilcox (Oracle)1-10/+9
2022-09-26mm: multi-gen LRU: exploit locality in rmapYu Zhao1-2/+2
2022-09-26mm: multi-gen LRU: minimal implementationYu Zhao1-0/+39
2022-09-26mm: multi-gen LRU: groundworkYu Zhao1-3/+8
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-315/+284
2022-08-03Merge tag 'folio-6.0' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-29/+0
2022-07-03mm: convert destroy_compound_page() to destroy_large_folio()Matthew Wilcox (Oracle)1-1/+1
2022-07-03mm/swap: convert __page_cache_release() to use a folioMatthew Wilcox (Oracle)1-17/+16
2022-07-03mm/swap: convert __put_compound_page() to __folio_put_large()Matthew Wilcox (Oracle)1-7/+7
2022-07-03mm/swap: convert __put_single_page() to __folio_put_small()Matthew Wilcox (Oracle)1-5/+5
2022-07-03mm/swap: convert __put_page() to __folio_put()Matthew Wilcox (Oracle)1-7/+7
2022-07-03mm/swap: convert put_pages_list to use foliosMatthew Wilcox (Oracle)1-8/+8
2022-07-03mm/swap: convert release_pages to use a folio internallyMatthew Wilcox (Oracle)1-18/+16
2022-07-03mm/swap: optimise lru_add_drain_cpu()Matthew Wilcox (Oracle)1-4/+5
2022-07-03mm/swap: pull the CPU conditional out of __lru_add_drain_all()Matthew Wilcox (Oracle)1-8/+16
2022-07-03mm/swap: rename lru_pvecs to cpu_fbatchesMatthew Wilcox (Oracle)1-44/+46
2022-07-03mm/swap: convert activate_page to a folio_batchMatthew Wilcox (Oracle)1-65/+16
2022-07-03mm/swap: convert lru_lazyfree to a folio_batchMatthew Wilcox (Oracle)1-25/+26
2022-07-03mm/swap: convert lru_deactivate to a folio_batchMatthew Wilcox (Oracle)1-18/+20
2022-07-03mm/swap: convert lru_deactivate_file to a folio_batchMatthew Wilcox (Oracle)1-43/+39
2022-07-03mm/swap: convert lru_add to a folio_batchMatthew Wilcox (Oracle)1-49/+26
2022-07-03mm/swap: make __pagevec_lru_add staticMatthew Wilcox (Oracle)1-63/+63
2022-07-03mm/swap: add folio_batch_move_lru()Matthew Wilcox (Oracle)1-22/+56
2022-06-29filemap: Remove find_get_pages_range() and associated functionsMatthew Wilcox (Oracle)1-29/+0
2022-06-16mm: lru_cache_disable: use synchronize_rcu_expeditedMarcelo Tosatti1-1/+1
2022-05-19mm/swap: fix the comment of get_kernel_pagesMiaohe Lin1-4/+4
2022-05-19mm/swap: make page_swapcount and __lru_add_drain_all staticMiaohe Lin1-1/+1
2022-04-01mm/munlock: protect the per-CPU pagevec by a local_lock_tSebastian Andrzej Siewior1-1/+3
2022-03-24mm: delete __ClearPageWaiters()Hugh Dickins1-4/+0
2022-03-22Merge tag 'folio-5.18c' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-105/+68
2022-03-22mm: lru_cache_disable: replace work queue synchronization with synchronize_rcuMarcelo Tosatti1-9/+14
2022-03-22mm/swap: fix confusing comment in folio_mark_accessedBang Li1-1/+1
2022-03-21mm: Turn deactivate_file_page() into deactivate_file_folio()Matthew Wilcox (Oracle)1-17/+18
2022-03-03mm: remove the extra ZONE_DEVICE struct page refcountChristoph Hellwig1-12/+4
2022-03-03mm: simplify freeing of devmap managed pagesChristoph Hellwig1-9/+1
2022-03-03mm: move free_devmap_managed_page to memremap.cChristoph Hellwig1-23/+0
2022-02-17mm/munlock: mlock_page() munlock_page() batch by pagevecHugh Dickins1-12/+15
2022-02-17mm/munlock: delete smp_mb() from __pagevec_lru_add_fn()Hugh Dickins1-28/+9
2022-02-17mm/munlock: maintain page->mlock_count while unevictableHugh Dickins1-0/+1
2022-02-17mm/munlock: replace clear_page_mlock() by final clearanceHugh Dickins1-8/+24
2022-01-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+1
2022-01-15mm: fix some comment errorsQuanfa Fu1-1/+1
2022-01-08mm: Remove pagevec_remove_exceptionals()Matthew Wilcox (Oracle)1-13/+13
2021-11-20mm/swap.c:put_pages_list(): reinitialise the page listMatthew Wilcox1-0/+1
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-7/+16
2021-11-06mm: optimise put_pages_list()Matthew Wilcox (Oracle)1-7/+16
2021-10-18mm/lru: Add folio_add_lru()Matthew Wilcox (Oracle)1-11/+11
2021-10-18mm/lru: Convert __pagevec_lru_add_fn to take a folioMatthew Wilcox (Oracle)1-24/+25
2021-10-18mm/workingset: Convert workingset_refault() to take a folioMatthew Wilcox (Oracle)1-4/+3
2021-10-18mm/swap: Add folio_mark_accessed()Matthew Wilcox (Oracle)1-18/+16
2021-10-18mm/swap: Add folio_activate()Matthew Wilcox (Oracle)1-19/+22
2021-09-27mm/workingset: Convert workingset_activation to take a folioMatthew Wilcox (Oracle)1-1/+1
2021-09-27mm/memcg: Add folio_lruvec_relock_irq() and folio_lruvec_relock_irqsave()Matthew Wilcox (Oracle)1-5/+8
2021-09-27mm/memcg: Add folio_lruvec_lock() and similar functionsMatthew Wilcox (Oracle)1-3/+5
2021-09-27mm/memcg: Add folio_lruvec()Matthew Wilcox (Oracle)1-1/+2
2021-09-27mm/memcg: Convert mem_cgroup_uncharge() to take a folioMatthew Wilcox (Oracle)1-1/+1
2021-09-27mm/swap: Add folio_rotate_reclaimable()Matthew Wilcox (Oracle)1-14/+16
2021-09-24mm: fs: invalidate bh_lrus for only cold pathMinchan Kim1-3/+16
2021-09-03mm: delete unused get_kernel_page()John Hubbard1-22/+0
2021-07-01mm: fix typos and grammar error in commentsHyeonggon Yoo1-1/+1
2021-06-29mm/page_alloc: allow high-order pages to be stored on the per-cpu listsMel Gorman1-1/+1
2021-06-29mm: memcontrol: remove the pgdata parameter of mem_cgroup_page_lruvecMuchun Song1-1/+1
2021-05-07mm: fix some typos and code style problemsShijie Luo1-2/+2
2021-05-05mm: fs: invalidate BH LRU during page migrationMinchan Kim1-1/+4
2021-05-05mm: disable LRU pagevec during the migration temporarilyMinchan Kim1-9/+55
2021-02-26mm: remove pagevec_lookup_entriesMatthew Wilcox (Oracle)1-34/+2
2021-02-26mm: pass pvec directly to find_get_entriesMatthew Wilcox (Oracle)1-3/+1
2021-02-26mm: remove nr_entries parameter from pagevec_lookup_entriesMatthew Wilcox (Oracle)1-2/+2
2021-02-26mm: add an 'end' parameter to pagevec_lookup_entriesMatthew Wilcox (Oracle)1-4/+4
2021-02-26mm: add an 'end' parameter to find_get_entriesMatthew Wilcox (Oracle)1-1/+1
2021-02-24mm: VM_BUG_ON lru page flagsYu Zhao1-2/+0
2021-02-24mm: add __clear_page_lru_flags() to replace page_off_lru()Yu Zhao1-4/+2
2021-02-24mm/swap.c: don't pass "enum lru_list" to del_page_from_lru_list()Yu Zhao1-16/+10
2021-02-24mm/swap.c: don't pass "enum lru_list" to trace_mm_lru_insertion()Yu Zhao1-4/+1
2021-02-24mm: don't pass "enum lru_list" to lru list addition functionsYu Zhao1-8/+7
2020-12-15mm/lru: introduce relock_page_lruvec()Alexander Duyck1-26/+7
2020-12-15mm/lru: replace pgdat lru_lock with lruvec lockAlex Shi1-58/+58
2020-12-15mm/swap.c: serialize memcg changes in pagevec_lru_move_fnAlex Shi1-9/+35
2020-12-15mm/lru: move lock into lru_note_costAlex Shi1-0/+3
2020-12-15mm/swap.c: fold vm event PGROTATED into pagevec_move_tail_fnAlex Shi1-42/+23
2020-12-15mm/thp: move lru_add_page_tail() to huge_memory.cAlex Shi1-33/+0
2020-12-15mm: remove pagevec_lookup_range_nr_tag()Jeff Layton1-9/+0
2020-12-15mm: handle zone device pages in release_pages()Ralph Campbell1-0/+3
2020-10-13mm: move call to compound_head() in release_pages()Ralph Campbell1-1/+1
2020-10-13mm/swap.c: fix incomplete comment in lru_cache_add_inactive_or_unevictable()Miaohe Lin1-3/+1
2020-10-13mm/swap.c: fix confusing comment in release_pages()Miaohe Lin1-1/+1
2020-10-13mm: remove superfluous __ClearPageActive()Yu Zhao1-2/+0
2020-10-13mm: remove activate_page() from unuse_pte()Yu Zhao1-2/+2
2020-10-09Merge branch 'locking/urgent' into locking/core, to pick up fixesIngo Molnar1-3/+3
2020-09-19mlock: fix unevictable_pgs event counts on THPHugh Dickins1-3/+3
2020-09-10mm/swap: Do not abuse the seqcount_t latching APIAhmed S. Darwish1-11/+54
2020-08-14mm/swap.c: annotate data races for lru_rotate_pvecsQian Cai1-2/+3
2020-08-14mm: replace hpage_nr_pages with thp_nr_pagesMatthew Wilcox (Oracle)1-8/+8
2020-08-12mm/vmscan: protect the workingset on anonymous LRUJoonsoo Kim1-6/+7
2020-07-16treewide: Remove uninitialized_var() usageKees Cook1-2/+2
2020-06-26mm/swap: fix for "mm: workingset: age nonresident information alongside anony...Joonsoo Kim1-2/+1
2020-06-03mm: swap: memcg: fix memcg stats for huge pagesShakeel Butt1-5/+16
2020-06-03mm: swap: fix vmstats for huge pagesShakeel Butt1-6/+8
2020-06-03mm: vmscan: reclaim writepage is IO costJohannes Weiner1-6/+10
2020-06-03mm: vmscan: determine anon/file pressure balance at the reclaim rootJohannes Weiner1-5/+27
2020-06-03mm: balance LRU lists based on relative thrashingJohannes Weiner1-4/+7
2020-06-03mm: deactivations shouldn't bias the LRU balanceJohannes Weiner1-6/+1
2020-06-03mm: base LRU balancing on an explicit cost modelJohannes Weiner1-11/+8
2020-06-03mm: remove use-once cache bias from LRU balancingJohannes Weiner1-5/+0
2020-06-03mm: fold and remove lru_cache_add_anon() and lru_cache_add_file()Johannes Weiner1-32/+10
2020-06-03mm: fix LRU balancing effect of new transparent huge pagesJohannes Weiner1-14/+11
2020-06-03mm: simplify calling a compound page destructorMatthew Wilcox (Oracle)1-4/+1
2020-05-28mm/swap: Use local_lock for protectionIngo Molnar1-38/+80
2020-04-07mm: huge tmpfs: try to split_huge_page() when punching holeHugh Dickins1-0/+4
2020-04-07mm: code cleanup for MADV_FREEHuang Ying1-8/+8
2020-04-02mm: swap: use smp_mb__after_atomic() to order LRU bit setYang Shi1-2/+2
2020-04-02mm/swap.c: not necessary to export __pagevec_lru_add()Wei Yang1-1/+0
2020-01-31mm: devmap: refactor 1-based refcounting for ZONE_DEVICE pagesJohn Hubbard1-1/+26
2019-12-01mm/swap.c: piggyback lru_add_drain_all() callsKonstantin Khlebnikov1-1/+15
2019-12-01mm/swap.c: trivial mark_page_accessed() cleanupFengguang Wu1-4/+9
2019-09-25mm: introduce MADV_COLDMinchan Kim1-0/+42
2019-09-24mm: move mem_cgroup_uncharge out of __page_cache_release()Yang Shi1-1/+1
2019-09-24mm: replace list_move_tail() with add_page_to_lru_list_tail()Yu Zhao1-8/+6
2019-07-15docs: admin-guide: move sysctl directory to itMauro Carvalho Chehab1-1/+1
2019-07-15docs: sysctl: convert to ReSTMauro Carvalho Chehab1-1/+1
2019-07-02mm/swap: fix release_pages() when releasing devmap pagesIra Weiny1-4/+9
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-14mm/swap.c: __pagevec_lru_add_fn: typo fixPeng Fan1-1/+1
2019-03-05mm: remove zone_lru_lock() function, access ->lru_lock directlyAndrey Ryabinin1-8/+8
2019-02-21mm: handle lru_add_drain_all for UP properlyMichal Hocko1-7/+10
2019-01-04fs: don't open code lru_to_page()Nikolay Borisov1-1/+1
2018-12-28mm: convert totalram_pages and totalhigh_pages variables to atomicArun KS1-1/+1
2018-11-12mm: Replace spin_is_locked() with lockdepLance Roy1-2/+1
2018-10-28Merge branch 'xarray' of git://git.infradead.org/users/willy/linux-daxLinus Torvalds1-3/+3
2018-10-26mm/swap.c: remove duplicated includeYueHaibing1-1/+0
2018-10-21pagevec: Use xa_mark_tMatthew Wilcox1-2/+2
2018-09-29xarray: Replace exceptional entriesMatthew Wilcox1-1/+1
2018-05-22mm: introduce MEMORY_DEVICE_FS_DAX and CONFIG_DEV_PAGEMAP_OPSDan Williams1-1/+2
2018-04-05mm/swap.c: remove @cold parameter description for release_pages()Mike Rapoport1-1/+0
2018-02-21mm/swap.c: make functions and their kernel-doc agree (again)Mike Rapoport1-1/+1
2018-02-21mm, mlock, vmscan: no more skipping pagevecsShakeel Butt1-35/+47
2018-02-06mm: docs: fix parameter names mismatchMike Rapoport1-2/+2
2018-01-31mm/swap.c: make functions and their kernel-doc agreeRandy Dunlap1-6/+5
2018-01-31mm: drop hotplug lock from lru_add_drain_all()Michal Hocko1-8/+8
2017-11-15mm, pagevec: rename pagevec drained fieldMel Gorman1-2/+2
2017-11-15mm: remove cold parameter from free_hot_cold_page*Mel Gorman1-2/+2
2017-11-15mm: remove cold parameter for release_pagesMel Gorman1-4/+4
2017-11-15mm, pagevec: remove cold parameter for pagevecsMel Gorman1-2/+2
2017-11-15mm: only drain per-cpu pagevecs once per pagevec usageMel Gorman1-1/+4
2017-11-15mm: remove nr_pages argument from pagevec_lookup_{,range}_tag()Jan Kara1-2/+2
2017-11-15mm: add variant of pagevec_lookup_range_tag() taking number of pagesJan Kara1-0/+9
2017-11-15mm: implement find_get_pages_range_tag()Jan Kara1-4/+5
2017-10-03mm: avoid marking swap cached page as lazyfreeShaohua Li1-2/+2
2017-09-08mm/device-public-memory: device memory cache coherent with CPUJérôme Glisse1-0/+11
2017-09-06mm: remove nr_pages argument from pagevec_lookup{,_range}()Jan Kara1-3/+2
2017-09-06mm: implement find_get_pages_range()Jan Kara1-8/+14
2017-09-06mm: make pagevec_lookup() update indexJan Kara1-2/+3
2017-07-10mm: swap: provide lru_add_drain_all_cpuslocked()Thomas Gleixner1-3/+8
2017-07-06mm: per-cgroup memory reclaim statsRoman Gushchin1-0/+1
2017-05-03mm: move MADV_FREE pages into LRU_INACTIVE_FILE listShaohua Li1-21/+28
2017-05-01Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+10
2017-05-01mm, zone_device: Replace {get, put}_zone_device_page() with a single referenc...Dan Williams1-0/+10
2017-04-08mm: move pcp and lru-pcp draining into single wqMichal Hocko1-19/+8
2017-02-24mm: vmscan: move dirty pages out of the way until they're flushedJohannes Weiner1-4/+5
2017-02-22mm/swap: split swap cache into 64MB trunksHuang, Ying1-6/+0
2016-12-25mm: add PageWaiters indicating tasks are waiting for a page bitNicholas Piggin1-0/+2
2016-10-07thp: reduce usage of huge zero page's atomic counterAaron Lu1-3/+1
2016-07-28mm, pagevec: release/reacquire lru_lock on pgdat changeMel Gorman1-10/+10
2016-07-28mm, vmscan: move LRU lists to nodeMel Gorman1-25/+25
2016-07-28mm, vmscan: move lru_lock to the nodeMel Gorman1-15/+15
2016-07-26shmem: add huge pages supportKirill A. Shutemov1-0/+2
2016-06-24mm/swap.c: flush lru pvecs on compound page arrivalLukasz Odzioba1-6/+5
2016-06-09mm: introduce dedicated WQ_MEM_RECLAIM workqueue to do lru_add_drain_allWang Sheng-Hui1-1/+19
2016-05-20mm/swap.c: put activate_page_pvecs and other pagevecs togetherMing Li1-2/+3
2016-04-28thp: keep huge zero page pinned until tlb flushKirill A. Shutemov1-0/+5
2016-04-04mm, fs: remove remaining PAGE_CACHE_* and page_cache_{get,release} usageKirill A. Shutemov1-1/+1
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-6/+6
2016-01-15mm, x86: get_user_pages() for dax mappingsDan Williams1-0/+1
2016-01-15mm: move lazily freed pages to inactive listMinchan Kim1-0/+44
2016-01-15thp: allow mlocked THP againKirill A. Shutemov1-0/+1
2016-01-15mm: drop tail page refcountingKirill A. Shutemov1-259/+14
2015-11-06mm: make compound_head() robustKirill A. Shutemov1-2/+2
2015-09-10mm: introduce idle page trackingVladimir Davydov1-0/+3