summaryrefslogtreecommitdiffstats
path: root/mm/swapfile.c
Commit message (Expand)AuthorAgeFilesLines
* mm: swapfile: fix /proc/swaps heading and Size/Used/Priority alignmentRandy Dunlap2020-06-021-4/+8
* swap: reduce lock contention on swap cache from swap slots allocationHuang Ying2020-06-021-5/+56
* mm/swapfile.c: use prandom_u32_max()Huang Ying2020-06-021-1/+1
* mm/swapfile.c: __swap_entry_free() always free 1 entryWei Yang2020-06-021-4/+5
* swap: try to scan more free slots even when fragmentedHuang Ying2020-06-021-0/+22
* mm/swapfile.c: omit a duplicate code by compare tmp and max firstWei Yang2020-06-021-10/+8
* mm/swapfile.c: tmp is always smaller than maxWei Yang2020-06-021-1/+1
* mm/swapfile.c: found_free could be represented by (tmp < max)Wei Yang2020-06-021-8/+3
* mm/swapfile.c: remove the extra check in scan_swap_map_slots()Wei Yang2020-06-021-3/+0
* mm/swapfile.c: simplify the calculation of n_goalWei Yang2020-06-021-5/+1
* mm/swapfile.c: remove the unnecessary goto for SSD caseWei Yang2020-06-021-5/+1
* mm/swapfile.c: explicitly show ssd/non-ssd is handled mutually exclusiveWei Yang2020-06-021-7/+3
* mm/swapfile.c: offset is only used when there is more slotsWei Yang2020-06-021-3/+1
* mm: swap: properly update readahead statistics in unuse_pte_range()Andrea Righi2020-06-021-4/+8
* mm/swapfile: use list_{prev,next}_entry() instead of open-codingchenqiwu2020-06-021-10/+6
* proc: faster open/read/close with "permanent" filesAlexey Dobriyan2020-04-071-0/+1
* mm/swapfile: fix data races in try_to_unuse()Qian Cai2020-04-021-4/+4
* mm/swapfile.c: fix comments for swapcache_prepareChen Wandun2020-04-021-1/+1
* mm/swapfile.c: move inode_lock out of claim_swapfileNaohiro Aota2020-03-291-21/+20
* mm/swapfile.c: fix a comment in sys_swapon()Christoph Hellwig2020-02-211-1/+1
* proc: convert everything to "struct proc_ops"Alexey Dobriyan2020-02-041-7/+7
* mm/swapfile.c: swap_next should increase position indexVasily Averin2020-01-311-1/+1
* mm, swap: disallow swapon() on zoned block devicesNaohiro Aota2019-12-011-0/+7
* vfs: don't allow writes to swap filesDarrick J. Wong2019-08-201-1/+11
* mm: set S_SWAPFILE on blockdev swap devicesDarrick J. Wong2019-08-201-16/+15
* mm, swap: use rbtree for swap_extentAaron Lu2019-07-121-62/+75
* mm, swap: fix race between swapoff and some swap operationsHuang Ying2019-07-121-32/+122
* treewide: Add SPDX license identifier for missed filesThomas Gleixner2019-05-211-0/+1
* mm: swapoff: shmem_unuse() stop eviction without igrab()Hugh Dickins2019-04-191-6/+5
* mm: swapoff: take notice of completion soonerHugh Dickins2019-04-191-8/+11
* mm: swapoff: remove too limiting SWAP_UNUSE_MAX_TRIESHugh Dickins2019-04-191-8/+8
* mm/swapfile.c: use struct_size() in kvzalloc()Gustavo A. R. Silva2019-03-051-2/+1
* numa: make "nr_node_ids" unsigned intAlexey Dobriyan2019-03-051-1/+1
* mm, swap: bounds check swap_info array accesses to avoid NULL derefsDaniel Jordan2019-03-051-22/+29
* mm: rid swapoff of quadratic complexityVineeth Remanan Pillai2019-03-051-270/+163
* mm, swap: fix swapoff with KSM pagesHuang Ying2018-12-281-1/+2
* mm/swap: use nr_node_ids for avail_lists in swap_info_structAaron Lu2018-12-281-1/+2
* mm/swapfile.c: use kvzalloc for swap_info_struct allocationVasily Averin2018-11-181-3/+3
* mm: export add_swap_extent()Omar Sandoval2018-10-261-0/+1
* mm: split SWP_FILE into SWP_ACTIVATED and SWP_FSOmar Sandoval2018-10-261-5/+8
* mm/swapfile.c: clear si->swap_map[] in swap_free_cluster()Huang Ying2018-10-261-3/+1
* mm/swapfile.c: call free_swap_slot() in __swap_entry_free()Huang Ying2018-10-261-6/+4
* mm/swapfile.c: use __try_to_reclaim_swap() in free_swap_and_cache()Huang Ying2018-10-261-32/+25
* mm/swapfile.c: put_swap_page: share more between huge/normal code pathHuang Ying2018-08-221-10/+10
* mm/swapfile.c: add __swap_entry_free_locked()Huang Ying2018-08-221-6/+14
* mm, swap, get_swap_pages: use entry_size instead of cluster in parameterHuang Ying2018-08-221-8/+8
* mm/swapfile.c: unify normal/huge code path in put_swap_page()Huang Ying2018-08-221-46/+37
* mm/swapfile.c: unify normal/huge code path in swap_page_trans_huge_swapped()Huang Ying2018-08-221-4/+3
* mm/swapfile.c: use swap_count() in swap_page_trans_huge_swapped()Huang Ying2018-08-221-2/+2
* mm/swapfile.c: replace some #ifdef with IS_ENABLED()Huang Ying2018-08-221-40/+20