summaryrefslogtreecommitdiff
path: root/mm/swapfile.c
AgeCommit message (Expand)AuthorFilesLines
2025-07-24mm: swap: remove stale comment stale comment in cluster_alloc_swap_entry()Kemeng Shi1-3/+2
2025-07-24mm: swap: fix potential buffer overflow in setup_clusters()Kemeng Shi1-3/+7
2025-07-24mm: swap: correctly use maxpages in swapon syscall to avoid potential deadloopKemeng Shi1-27/+26
2025-07-24mm: swap: move nr_swap_pages counter decrement from folio_alloc_swap() to swa...Kemeng Shi1-1/+1
2025-05-31Merge tag 'mm-stable-2025-05-31-14-50' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-97/+87
2025-05-26Merge tag 'vfs-6.16-rc1.writepage' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+1
2025-05-12mm, swap: remove no longer used swap mapping helperKairui Song1-9/+0
2025-05-12mm: move folio_index to mm/swap.h and remove no longer needed helperKairui Song1-6/+0
2025-05-12Merge tag 'vfs-6.15-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+9
2025-05-11mm: swap: replace cluster_swap_free_nr() with swap_entries_put_[map/cache]()Kemeng Shi1-19/+11
2025-05-11mm: swap: factor out helper to drop cache of entries within a single clusterKemeng Shi1-10/+17
2025-05-11mm: swap: free each cluster individually in swap_entries_put_map_nr()Kemeng Shi1-38/+32
2025-05-11mm: swap: drop last SWAP_MAP_SHMEM flag in batch in swap_entries_put_nr()Kemeng Shi1-2/+5
2025-05-11mm: swap: use swap_entries_free() drop last ref count in swap_entries_put_nr()Kemeng Shi1-2/+3
2025-05-11mm: swap: use swap_entries_free() to free swap entry in swap_entry_put_locked()Kemeng Shi1-11/+9
2025-05-11mm: swap: enable swap_entry_range_free() to drop any kind of last refKemeng Shi1-14/+24
2025-05-11mm: swap: rename __swap_[entry/entries]_free[_locked] to swap_[entry/entries]...Kemeng Shi1-14/+14
2025-05-07mm, swap: fix false warning for large allocation with !THP_SWAPKairui Song1-7/+16
2025-05-06swapfile: disable swapon for bs > ps devicesLuis Chamberlain1-0/+9
2025-04-07mm: Remove swap_writepage() and shmem_writepage()Matthew Wilcox (Oracle)1-1/+1
2025-03-16mm, swap: simplify folio swap allocationKairui Song1-39/+72
2025-03-16mm, swap: remove swap slot cacheKairui Song1-129/+65
2025-03-16mm, swap: use percpu cluster as allocation fast pathKairui Song1-41/+117
2025-03-16mm, swap: don't update the counter up-frontKairui Song1-16/+2
2025-03-16mm, swap: drop the flag TTRS_DIRECTKairui Song1-20/+3
2025-03-16mm, swap: avoid reclaiming irrelevant swap cacheKairui Song1-1/+10
2025-03-16mm: swap: remove stale comment of swap_reclaim_full_clusters()Kemeng Shi1-1/+0
2025-03-16mm, swap: correct comment in swap_usage_sub()Kemeng Shi1-1/+1
2025-03-16mm, swap: remove setting SWAP_MAP_BAD for discard clusterKemeng Shi1-11/+0
2025-03-16mm/swapfile.c: open code cluster_alloc_swap()Baoquan He1-28/+10
2025-03-16mm/swapfile.c: remove the incorrect code commentBaoquan He1-1/+0
2025-03-16mm/swap: rename swap_swapcount() to swap_entry_swapped()Baoquan He1-3/+3
2025-03-16mm/swapfile.c: remove the unneeded checkingBaoquan He1-3/+0
2025-03-16mm/swapfile.c: optimize code in setup_clusters()Baoquan He1-10/+9
2025-03-16mm/swapfile.c: update the code comment above swap_count_continued()Baoquan He1-2/+2
2025-03-16mm/swap: rename swap_is_has_cache() to swap_only_has_cache()Baoquan He1-3/+3
2025-03-16mm/swap: skip scanning cluster range if it's empty clusterBaoquan He1-0/+3
2025-03-16mm/swap: remove SWAP_FLAG_PRIO_SHIFTBaoquan He1-2/+1
2025-03-05mm, swap: avoid BUG_ON in relocate_cluster()Kemeng Shi1-1/+2
2025-03-05mm: swap: use correct step in loop to wait all clusters in wait_for_allocation()Kemeng Shi1-1/+0
2025-03-05mm: swap: add back full cluster when no entry is reclaimedKemeng Shi1-0/+4
2025-03-05mm: fix possible NULL pointer dereference in __swap_duplicategao xu1-0/+4
2025-02-01mm, swap: fix reclaim offset calculation error during allocationKairui Song1-1/+1
2025-01-25mm, swap_slots: remove slot cache for freeing pathKairui Song1-55/+34
2025-01-25mm, swap: use a global swap cluster for non-rotation devicesKairui Song1-14/+40
2025-01-25mm, swap: introduce a helper for retrieving cluster from offsetKairui Song1-4/+10
2025-01-25mm, swap: simplify percpu cluster updatingKairui Song1-37/+29
2025-01-25mm, swap: reduce contention on device lockKairui Song1-187/+245
2025-01-25mm, swap: use an enum to define all cluster flags and wrap flags changesKairui Song1-36/+40
2025-01-25mm, swap: hold a reference during scan and cleanup flag usageKairui Song1-33/+57