summaryrefslogtreecommitdiff
path: root/mm/swapfile.c
AgeCommit message (Expand)AuthorFilesLines
2020-06-02mm: swapfile: fix /proc/swaps heading and Size/Used/Priority alignmentRandy Dunlap1-4/+8
2020-06-02swap: reduce lock contention on swap cache from swap slots allocationHuang Ying1-5/+56
2020-06-02mm/swapfile.c: use prandom_u32_max()Huang Ying1-1/+1
2020-06-02mm/swapfile.c: __swap_entry_free() always free 1 entryWei Yang1-4/+5
2020-06-02swap: try to scan more free slots even when fragmentedHuang Ying1-0/+22
2020-06-02mm/swapfile.c: omit a duplicate code by compare tmp and max firstWei Yang1-10/+8
2020-06-02mm/swapfile.c: tmp is always smaller than maxWei Yang1-1/+1
2020-06-02mm/swapfile.c: found_free could be represented by (tmp < max)Wei Yang1-8/+3
2020-06-02mm/swapfile.c: remove the extra check in scan_swap_map_slots()Wei Yang1-3/+0
2020-06-02mm/swapfile.c: simplify the calculation of n_goalWei Yang1-5/+1
2020-06-02mm/swapfile.c: remove the unnecessary goto for SSD caseWei Yang1-5/+1
2020-06-02mm/swapfile.c: explicitly show ssd/non-ssd is handled mutually exclusiveWei Yang1-7/+3
2020-06-02mm/swapfile.c: offset is only used when there is more slotsWei Yang1-3/+1
2020-06-02mm: swap: properly update readahead statistics in unuse_pte_range()Andrea Righi1-4/+8
2020-06-02mm/swapfile: use list_{prev,next}_entry() instead of open-codingchenqiwu1-10/+6
2020-04-07proc: faster open/read/close with "permanent" filesAlexey Dobriyan1-0/+1
2020-04-02mm/swapfile: fix data races in try_to_unuse()Qian Cai1-4/+4
2020-04-02mm/swapfile.c: fix comments for swapcache_prepareChen Wandun1-1/+1
2020-03-29mm/swapfile.c: move inode_lock out of claim_swapfileNaohiro Aota1-21/+20
2020-02-21mm/swapfile.c: fix a comment in sys_swapon()Christoph Hellwig1-1/+1
2020-02-04proc: convert everything to "struct proc_ops"Alexey Dobriyan1-7/+7
2020-01-31mm/swapfile.c: swap_next should increase position indexVasily Averin1-1/+1
2019-12-01mm, swap: disallow swapon() on zoned block devicesNaohiro Aota1-0/+7
2019-08-20vfs: don't allow writes to swap filesDarrick J. Wong1-1/+11
2019-08-20mm: set S_SWAPFILE on blockdev swap devicesDarrick J. Wong1-16/+15
2019-07-12mm, swap: use rbtree for swap_extentAaron Lu1-62/+75
2019-07-12mm, swap: fix race between swapoff and some swap operationsHuang Ying1-32/+122
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-04-19mm: swapoff: shmem_unuse() stop eviction without igrab()Hugh Dickins1-6/+5
2019-04-19mm: swapoff: take notice of completion soonerHugh Dickins1-8/+11
2019-04-19mm: swapoff: remove too limiting SWAP_UNUSE_MAX_TRIESHugh Dickins1-8/+8
2019-03-06mm/swapfile.c: use struct_size() in kvzalloc()Gustavo A. R. Silva1-2/+1
2019-03-06numa: make "nr_node_ids" unsigned intAlexey Dobriyan1-1/+1
2019-03-06mm, swap: bounds check swap_info array accesses to avoid NULL derefsDaniel Jordan1-22/+29
2019-03-06mm: rid swapoff of quadratic complexityVineeth Remanan Pillai1-270/+163
2018-12-28mm, swap: fix swapoff with KSM pagesHuang Ying1-1/+2
2018-12-28mm/swap: use nr_node_ids for avail_lists in swap_info_structAaron Lu1-1/+2
2018-11-18mm/swapfile.c: use kvzalloc for swap_info_struct allocationVasily Averin1-3/+3
2018-10-27mm: export add_swap_extent()Omar Sandoval1-0/+1
2018-10-27mm: split SWP_FILE into SWP_ACTIVATED and SWP_FSOmar Sandoval1-5/+8
2018-10-27mm/swapfile.c: clear si->swap_map[] in swap_free_cluster()Huang Ying1-3/+1
2018-10-27mm/swapfile.c: call free_swap_slot() in __swap_entry_free()Huang Ying1-6/+4
2018-10-27mm/swapfile.c: use __try_to_reclaim_swap() in free_swap_and_cache()Huang Ying1-32/+25
2018-08-22mm/swapfile.c: put_swap_page: share more between huge/normal code pathHuang Ying1-10/+10
2018-08-22mm/swapfile.c: add __swap_entry_free_locked()Huang Ying1-6/+14
2018-08-22mm, swap, get_swap_pages: use entry_size instead of cluster in parameterHuang Ying1-8/+8
2018-08-22mm/swapfile.c: unify normal/huge code path in put_swap_page()Huang Ying1-46/+37
2018-08-22mm/swapfile.c: unify normal/huge code path in swap_page_trans_huge_swapped()Huang Ying1-4/+3
2018-08-22mm/swapfile.c: use swap_count() in swap_page_trans_huge_swapped()Huang Ying1-2/+2
2018-08-22mm/swapfile.c: replace some #ifdef with IS_ENABLED()Huang Ying1-40/+20