summaryrefslogtreecommitdiff
path: root/mm/swapfile.c
AgeCommit message (Expand)AuthorFilesLines
2023-04-20mm/swap: fix swap_info_struct race between swapoff and get_swap_pages()Rongwei Wang1-1/+2
2023-02-22mm/swapfile: add cond_resched() in get_swap_pages()Longlong Xia1-0/+1
2021-03-07swap: fix swapfile read/write offsetJens Axboe1-1/+1
2020-12-11mm/swapfile: do not sleep with a spin lock heldQian Cai1-1/+3
2020-10-01mm, THP, swap: fix allocating cluster for swapfile by mistakeGao Xiang1-1/+1
2020-10-01mm/swapfile.c: swap_next should increase position indexVasily Averin1-1/+1
2019-04-05mm, swap: bounds check swap_info array accesses to avoid NULL derefsDaniel Jordan1-22/+29
2019-01-26mm/swap: use nr_node_ids for avail_lists in swap_info_structAaron Lu1-1/+2
2019-01-13mm, swap: fix swapoff with KSM pagesHuang Ying1-1/+2
2018-11-21mm/swapfile.c: use kvzalloc for swap_info_struct allocationVasily Averin1-3/+3
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
2018-08-22mm: swap: add comments to lock_cluster_or_swap_info()Huang Ying1-2/+7
2018-08-14Merge tag 'for-4.19/block-20180812' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+31
2018-07-09memcontrol: schedule throttling if we are congestedTejun Heo1-0/+31
2018-06-20x86/speculation/l1tf: Limit swap file size to MAX_PA/2Andi Kleen1-16/+30
2018-06-15mm/swapfile.c: fix swap_count comment about nonexistent SWAP_HAS_CONTDaniel Jordan1-1/+1
2018-06-13treewide: kvzalloc() -> kvcalloc()Kees Cook1-2/+3
2018-05-26mm: fix nr_rotate_swap leak in swapon() error caseOmar Sandoval1-1/+6
2018-04-11mm/swapfile.c: make pointer swap_avail_heads staticColin Ian King1-1/+1
2018-04-11swap: divide-by-zero when zero length swap file on ssdTom Abraham1-0/+4
2018-02-12vfs: do bulk POLL* -> EPOLL* replacementLinus Torvalds1-2/+2
2017-11-28ipc, kernel, mm: annotate ->poll() instancesAl Viro1-1/+1
2017-11-16mm: swap: SWP_SYNCHRONOUS_IO: skip swapcache only if swapped page has no othe...Minchan Kim1-0/+7
2017-11-16mm, swap: skip swapcache for swapin of synchronous deviceMinchan Kim1-4/+7
2017-11-16mm, swap: introduce SWP_SYNCHRONOUS_IOMinchan Kim1-0/+3
2017-11-03mm, swap: fix race between swap count continuation operationsHuang Ying1-6/+17
2017-09-09mm/swapfile.c: fix swapon frontswap_map memory leak on errorDavid Rientjes1-0/+1
2017-09-09mm: kvfree the swap cluster info if the swap file is unsatisfactoryDarrick J. Wong1-1/+1
2017-09-07swap: choose swap device according to numa nodeAaron Lu1-26/+94
2017-09-07mm, swap: don't use VMA based swap readahead if HDD is used as swapHuang Ying1-1/+7
2017-09-07mm, THP, swap: support splitting THP for THP swap outHuang Ying1-0/+15
2017-09-07mm, THP, swap: don't allocate huge cluster for file backed swap deviceHuang Ying1-3/+4
2017-09-07mm, THP, swap: make reuse_swap_page() works for THP swapped outHuang Ying1-9/+93
2017-09-07mm, THP, swap: support to reclaim swap space for THP swapped outHuang Ying1-7/+71
2017-09-07mm, THP, swap: support to clear swap cache flag for THP swapped outHuang Ying1-7/+25
2017-07-11swap: add block io poll in swapin pathShaohua Li1-1/+1
2017-07-07mm/swapfile.c: sort swap entries before freeHuang Ying1-0/+16
2017-07-07mm, THP, swap: unify swap slot free functions to put_swap_pageMinchan Kim1-2/+14
2017-07-07mm, THP, swap: delay splitting THP during swap outHuang Ying1-69/+190
2017-05-09mm, swap: use kvzalloc to allocate some swap data structuresHuang Ying1-4/+6
2017-05-04mm/swapfile.c: fix swap space leak in error path of swap_free_entries()Huang Ying1-2/+0
2017-05-04mm, swap: avoid lock swap_avail_lock when held cluster lockHuang Ying1-3/+3
2017-05-04mm, swap: improve readability via make spin_lock/unlock balancedHuang Ying1-1/+1
2017-05-04mm, swap: Fix a race in free_swap_and_cache()Huang Ying1-9/+16