aboutsummaryrefslogtreecommitdiffstats
path: root/mm/swap.h
AgeCommit message (Expand)AuthorFilesLines
3 daysmm, swap: merge zeromap into swap tableKairui Song1-30/+20
3 daysmm/memcg, swap: store cgroup id in cluster table directlyKairui Song1-0/+4
3 daysmm, swap: unify large folio allocationKairui Song1-25/+5
3 daysmm, swap: add support for stable large allocation in swap cache directlyKairui Song1-1/+2
3 daysmm, swap: simplify swap cache allocation helperKairui Song1-2/+1
2026-04-05mm, swap: no need to clear the shadow explicitlyKairui Song1-1/+0
2026-04-05mm, swap: simplify checking if a folio is swappedKairui Song1-2/+3
2026-04-05mm, swap: no need to truncate the scan borderKairui Song1-1/+1
2026-04-05mm, swap: use the swap table to track the swap countKairui Song1-3/+11
2026-01-31mm, swap: drop the SWAP_HAS_CACHE flagKairui Song1-8/+5
2026-01-31mm, swap: check swap table directly for checking cacheKairui Song1-3/+8
2026-01-31mm, swap: add folio to swap cache directly on allocationKairui Song1-8/+2
2026-01-31mm, swap: cleanup swap entry management workflowKairui Song1-0/+37
2026-01-31mm, swap: remove workaround for unsynchronized swap map cache stateKairui Song1-1/+1
2026-01-31mm, swap: use swap cache as the swap in synchronize layerKairui Song1-2/+13
2026-01-31mm/shmem: never bypass the swap cache for SWP_SYNCHRONOUS_IOKairui Song1-4/+0
2026-01-31mm, swap: never bypass the swap cache even for SWP_SYNCHRONOUS_IOKairui Song1-0/+6
2026-01-31mm, swap: rename __read_swap_cache_async to swap_cache_alloc_folioKairui Song1-3/+3
2026-01-31Merge branch 'mm-hotfixes-stable' into mm-stable to pick up "mm/shmem,Andrew Morton1-1/+1
2026-01-26mm, swap: restore swap_space attr aviod kernel panicrobin.kuo1-1/+1
2026-01-20mm: fix minor spelling mistakes in commentsKevin Lourenco1-1/+1
2025-11-16mm/migrate, swap: drop usage of folio_indexKairui Song1-21/+0
2025-09-21mm, swap: implement dynamic allocation of swap tableKairui Song1-1/+1
2025-09-21mm, swap: remove contention workaround for swap cacheKairui Song1-4/+0
2025-09-21mm, swap: mark swap address space ro and add context debug checkKairui Song1-1/+11
2025-09-21mm, swap: use the swap table for the swap cache and switch APIKairui Song1-35/+119
2025-09-21mm, swap: wrap swap cache replacement with a helperKairui Song1-0/+5
2025-09-21mm, swap: cleanup swap cache API and add kerneldocKairui Song1-21/+27
2025-09-21mm, swap: tidy up swap device and cluster info helpersKairui Song1-5/+33
2025-09-21mm, swap: rename and move some swap cluster definition and helpersKairui Song1-0/+70
2025-09-21mm, swap: always lock and check the swap cache folio before useKairui Song1-0/+27
2025-09-21mm, swap: use unified helper for swap cache look upKairui Song1-4/+9
2025-09-13mm/mincore, swap: consolidate swap cache checking for mincoreKairui Song1-10/+0
2025-07-09mm: stop passing a writeback_control structure to swap_writeoutChristoph Hellwig1-2/+5
2025-07-09mm: stop passing a writeback_control structure to __swap_writepageChristoph Hellwig1-1/+1
2025-06-19mm/shmem, swap: fix softlockup with mTHP swapinKairui Song1-0/+23
2025-05-31Merge tag 'mm-stable-2025-05-31-14-50' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+18
2025-05-12mm: move folio_index to mm/swap.h and remove no longer needed helperKairui Song1-0/+18
2025-04-07mm: Remove swap_writepage() and shmem_writepage()Matthew Wilcox (Oracle)1-2/+2
2025-04-01Merge tag 'mm-stable-2025-03-30-16-52' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-6/+0
2025-03-16mm, swap: simplify folio swap allocationKairui Song1-6/+0
2025-02-07mm: swap: move sysctl to mm/swap.cKaixiong Yu1-0/+1
2024-09-17mm: fix swap_read_folio_zeromap() for large folios with partial zeromapBarry Song1-0/+33
2024-09-01mm: return the folio from swapin_readaheadMatthew Wilcox (Oracle)1-3/+3
2024-09-01mm: swap: add nr argument in swapcache_prepare and swapcache_clear to support...Barry Song1-2/+3
2024-07-03mm: swap: remove 'synchronous' argument to swap_read_folio()Yosry Ahmed1-4/+2
2024-07-03mm/swap: reduce swap cache search spaceKairui Song1-0/+15
2024-07-03mm/swap: get the swap device offset directlyKairui Song1-0/+9
2024-02-20mm/swap: fix race when skipping swapcacheKairui Song1-0/+5
2023-12-29mm: convert swap_cluster_readahead and swap_vma_readahead to return a folioMatthew Wilcox (Oracle)1-3/+3
2023-12-29mm: return a folio from read_swap_cache_async()Matthew Wilcox (Oracle)1-4/+3
2023-12-29mm: remove page_swap_info()Matthew Wilcox (Oracle)1-1/+1
2023-12-29mm: convert swap_readpage() to swap_read_folio()Matthew Wilcox (Oracle)1-2/+3
2023-12-29mm: pass a folio to __swap_writepage()Matthew Wilcox (Oracle)1-1/+1
2023-12-29mm: return the folio from __read_swap_cache_async()Matthew Wilcox (Oracle)1-4/+3
2023-12-12zswap: make shrinking memcg-awareDomenico Cerasuolo1-1/+2
2023-10-25mempolicy: alloc_pages_mpol() for NUMA policy without vmaHugh Dickins1-4/+5
2023-08-24swap: remove remnants of polling from read_swap_cache_asyncSuren Baghdasaryan1-1/+0
2023-02-02mm: remove the __swap_writepage return valueChristoph Hellwig1-1/+1
2023-02-02mm: remove the swap_readpage return valueChristoph Hellwig1-5/+3
2022-11-08mm: convert find_get_incore_page() to filemap_get_incore_folio()Matthew Wilcox (Oracle)1-3/+5
2022-10-03mm: remove lookup_swap_cache()Matthew Wilcox (Oracle)1-10/+0
2022-10-03swap: add swap_cache_get_folio()Matthew Wilcox (Oracle)1-0/+8
2022-10-03mm/swap: convert add_to_swap_cache() to take a folioMatthew Wilcox (Oracle)1-2/+2
2022-09-11mm/swap: remove the end_write_func argument to __swap_writepageChristoph Hellwig1-3/+1
2022-07-03mm/khugepaged: try to free transhuge swapcache when possibleMiaohe Lin1-5/+0
2022-07-03mm/swap: convert __delete_from_swap_cache() to a folioMatthew Wilcox (Oracle)1-2/+2
2022-07-03mm/swap: convert delete_from_swap_cache() to take a folioMatthew Wilcox (Oracle)1-2/+2
2022-07-03mm: convert page_swap_flags to folio_swap_flagsMatthew Wilcox (Oracle)1-3/+3
2022-05-13swap: convert add_to_swap() to take a folioMatthew Wilcox (Oracle)1-3/+3
2022-05-09mm: submit multipage write for SWP_FS_OPS swap-spaceNeilBrown1-0/+4
2022-05-09mm: submit multipage reads for SWP_FS_OPS swap-spaceNeilBrown1-3/+14
2022-05-09mm: introduce ->swap_rw and use it for reads from SWP_FS_OPS swap-spaceNeilBrown1-0/+1
2022-05-09mm: reclaim mustn't enter FS for SWP_FS_OPS swap-spaceNeilBrown1-0/+8
2022-05-09mm: create new mm/swap.h header fileNeilBrown1-0/+133