summaryrefslogtreecommitdiff
path: root/mm/swapfile.c
AgeCommit message (Expand)AuthorFilesLines
12 daysmm: swap: move nr_swap_pages counter decrement from folio_alloc_swap() to swa...Kemeng Shi1-1/+1
12 daysmm: swap: fix potential buffer overflow in setup_clusters()Kemeng Shi1-3/+7
12 daysmm: swap: correctly use maxpages in swapon syscall to avoid potential deadloopKemeng Shi1-27/+26
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-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-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
2025-01-25mm, swap: clean up plist removal and addingKairui Song1-49/+137
2025-01-25mm, swap: clean up device availability checkKairui Song1-30/+8
2025-01-25mm, swap: use cluster lock for HDDKairui Song1-74/+35
2025-01-25mm, swap: remove old allocation path for HDDKairui Song1-226/+9
2025-01-25mm, swap: fold swap_info_get_cont in the only callerKairui Song1-24/+15
2025-01-25mm, swap: minor clean up for swap entry allocationKairui Song1-30/+29
2024-11-14mm, swap: fix allocation and scanning race with swapoffKairui Song1-3/+19
2024-11-12mm: swapfile: fix cluster reclaim work crash on rotational devicesJohannes Weiner1-1/+1
2024-10-30mm, swap: avoid over reclaim of full clustersKairui Song1-19/+30
2024-10-17mm/swapfile: skip HugeTLB pages for unuse_vmaLiu Shixin1-1/+1
2024-10-17mm: swap: prevent possible data-race in __try_to_reclaim_swapJeongjun Park1-3/+4
2024-09-09swap: convert swapon() to use a folioMatthew Wilcox (Oracle)1-9/+7
2024-09-03mm: store zero pages to be swapped out in a bitmapUsama Arif1-5/+33
2024-09-03mm: swapfile: fix SSD detection with swapfile on btrfsJohannes Weiner1-79/+86