aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/swap.h
AgeCommit message (Expand)AuthorFilesLines
2024-03-14Merge tag 'mm-stable-2024-03-13-20-04' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-4/+4
2024-03-13Merge tag 'xfs-6.9-merge-8' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-10/+0
2024-03-11Merge tag 'vfs-6.9.super' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-1/+1
2024-03-04mm: convert free_swap_cache() to take a folioMatthew Wilcox (Oracle)1-4/+4
2024-02-25swap: port block device usage to fileChristian Brauner1-1/+1
2024-02-21mm: move mapping_set_update out of <linux/swap.h>Christoph Hellwig1-10/+0
2024-02-20mm/swap: fix race when skipping swapcacheKairui Song1-0/+5
2023-12-29mm: remove page_swap_info()Matthew Wilcox (Oracle)1-2/+1
2023-12-29mm: convert swap_page_sector() to swap_folio_sector()Matthew Wilcox (Oracle)1-1/+1
2023-12-29mm: remove page_add_new_anon_rmap and lru_cache_add_inactive_or_unevictableMatthew Wilcox (Oracle)1-3/+0
2023-10-28mm/swap: Convert to use bdev_open_by_dev()Jan Kara1-0/+1
2023-08-24mm/swap: inline folio_set_swap_entry() and folio_swap_entry()David Hildenbrand1-11/+1
2023-08-24mm/swap: use dedicated entry for swap in folioMatthew Wilcox1-3/+2
2023-08-24mm/swap: stop using page->private on tail pages for THP_SWAPDavid Hildenbrand1-0/+9
2023-08-21mm: kill frontswapJohannes Weiner1-9/+0
2023-06-23mm: remove check_move_unevictable_pages()Matthew Wilcox (Oracle)1-1/+0
2023-06-19mm/swap: swap_vma_readahead() do the pte_offset_map()Hugh Dickins1-19/+0
2023-06-19mm: vmscan: mark kswapd_run() and kswapd_stop() __meminitMiaohe Lin1-2/+2
2023-06-09swap: remove __swp_swapcount()Huang Ying1-2/+2
2023-06-09workingset: refactor LRU refault to expose refault recency checkNhat Pham1-0/+1
2023-04-21mm: correct arg in reclaim_pages()/reclaim_clean_pages_from_list()Kefeng Wang1-1/+0
2023-04-18mm: vmscan: refactor updating current->reclaim_stateYosry Ahmed1-1/+16
2023-03-28mm, memcg: Prevent memory.swappiness load/store tearingYue Zhao1-4/+4
2023-03-28mm: swap: remove unneeded cgroup_throttle_swaprate()Kefeng Wang1-8/+4
2023-01-31Sync mm-stable with mm-hotfixes-stable to pick up dependent patchesAndrew Morton1-2/+1
2023-01-31Revert "mm: add nodes= arg to memory.reclaim"Michal Hocko1-2/+1
2023-01-18mm/swap: convert deactivate_page() to folio_deactivate()Vishal Moola (Oracle)1-1/+1
2023-01-18mm: swap: convert mark_page_lazyfree() to folio_mark_lazyfree()Kefeng Wang1-1/+1
2022-12-11mm: add nodes= arg to memory.reclaimMina Almasry1-1/+2
2022-12-11folio-compat: remove lru_cache_add()Vishal Moola (Oracle)1-1/+0
2022-11-30mm: mmu_gather: prepare to gather encoded page pointers with flagsLinus Torvalds1-1/+1
2022-11-30mm: use pte markers for swap errorsPeter Xu1-5/+1
2022-11-30mm: always compile in pte markersPeter Xu1-7/+3
2022-11-08mm: vmscan: make rotations a secondary factor in balancing anon vs fileJohannes Weiner1-2/+3
2022-10-03mm: memcontrol: drop dead CONFIG_MEMCG_SWAP config symbolJohannes Weiner1-1/+1
2022-10-03mm: remove try_to_free_swap()Matthew Wilcox (Oracle)1-6/+0
2022-10-03memcg: convert mem_cgroup_swap_full() to take a folioMatthew Wilcox (Oracle)1-2/+2
2022-10-03mm/swap: convert put_swap_page() to put_swap_folio()Matthew Wilcox (Oracle)1-2/+2
2022-10-03mm/swapfile: convert try_to_free_swap() to folio_free_swap()Matthew Wilcox (Oracle)1-0/+6
2022-10-03shmem: convert shmem_replace_page() to use folios throughoutMatthew Wilcox (Oracle)1-0/+5
2022-10-03mm: add folio_add_lru_vma()Matthew Wilcox (Oracle)1-5/+5
2022-09-26mm: multi-gen LRU: support page table walksYu Zhao1-0/+4
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-2/+10
2022-07-29mm: vmpressure: don't count proactive reclaim in vmpressureYosry Ahmed1-1/+4
2022-07-03mm/khugepaged: try to free transhuge swapcache when possibleMiaohe Lin1-0/+5
2022-06-29vmscan: Add check_move_unevictable_folios()Matthew Wilcox (Oracle)1-1/+2
2022-06-27docs: rename Documentation/vm to Documentation/mmMike Rapoport1-1/+1
2022-05-27mm/swapfile: unuse_pte can map random data if swap read failsMiaohe Lin1-1/+6
2022-05-19mm: zswap: add basic meminfo and vmstat coverageJohannes Weiner1-0/+5
2022-05-19mm/swap: fix comment about swap extentMiaohe Lin1-2/+2
2022-05-19mm/swap: make page_swapcount and __lru_add_drain_all staticMiaohe Lin1-7/+0
2022-05-13mm/swap: add folio_throttle_swaprateMatthew Wilcox (Oracle)1-0/+4
2022-05-13swap: turn get_swap_page() into folio_alloc_swap()Matthew Wilcox (Oracle)1-6/+7
2022-05-13mm: introduce PTE_MARKER swap entryPeter Xu1-1/+14
2022-05-09mm: move responsibility for setting SWP_FS_OPS to ->swap_activateNeilBrown1-0/+6
2022-05-09mm: drop swap_dirty_folioNeilBrown1-1/+0
2022-05-09mm: create new mm/swap.h header fileNeilBrown1-121/+0
2022-05-09mm: remember exclusively mapped anonymous pages with PG_anon_exclusiveDavid Hildenbrand1-4/+11
2022-03-24mm/swapfile: remove stale reuse_swap_page()David Hildenbrand1-4/+0
2022-03-22Merge tag 'folio-5.18b' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-1/+1
2022-03-22Merge tag 'folio-5.18c' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-5/+4
2022-03-22mm: __isolate_lru_page_prepare() in isolate_migratepages_block()Hugh Dickins1-1/+0
2022-03-22xarray: use kmem_cache_alloc_lru to allocate xa_nodeMuchun Song1-1/+4
2022-03-21mm: Turn deactivate_file_page() into deactivate_file_folio()Matthew Wilcox (Oracle)1-1/+0
2022-03-21mm: Convert remove_mapping() to take a folioMatthew Wilcox (Oracle)1-1/+1
2022-03-21mm/memcg: Convert mem_cgroup_swapout() to take a folioMatthew Wilcox (Oracle)1-2/+2
2022-03-21mm/workingset: Convert workingset_eviction() to take a folioMatthew Wilcox (Oracle)1-1/+1
2022-03-15mm: Convert swap_set_page_dirty() to swap_dirty_folio()Matthew Wilcox (Oracle)1-1/+1
2022-01-15mm: remove the total_mapcount argument from page_trans_huge_mapcount()Matthew Wilcox (Oracle)1-1/+1
2022-01-15mm: remove last argument of reuse_swap_page()Matthew Wilcox (Oracle)1-3/+3
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+0
2021-11-06include/linux/mm.h: move nr_free_buffer_pages from swap.h to mm.hMianhan Liu1-1/+0
2021-10-18mm/lru: Add folio_add_lru()Matthew Wilcox (Oracle)1-0/+1
2021-10-18mm/workingset: Convert workingset_refault() to take a folioMatthew Wilcox (Oracle)1-2/+2
2021-10-18mm/swap: Add folio_mark_accessed()Matthew Wilcox (Oracle)1-1/+2
2021-09-27mm/workingset: Convert workingset_activation to take a folioMatthew Wilcox (Oracle)1-1/+1
2021-09-27mm/swap: Add folio_rotate_reclaimable()Matthew Wilcox (Oracle)1-1/+0
2021-09-27mm/util: Add folio_mapping() and folio_file_mapping()Matthew Wilcox (Oracle)1-0/+6
2021-09-03mm/vmscan: remove unneeded return value of kswapd_run()Miaohe Lin1-1/+1
2021-09-03mm, memcg: inline swap-related functions to improve disabled memcg configSuren Baghdasaryan1-3/+23
2021-07-01mm: device exclusive memory accessAlistair Popple1-2/+7
2021-07-01mm: remove special swap entry functionsAlistair Popple1-2/+2
2021-07-01mm/swap: make swap_address_space an inline functionMel Gorman1-1/+5
2021-06-29mm: free idle swap cache page after COWHuang Ying1-0/+5
2021-06-29swap: fix do_swap_page() race with swapoffMiaohe Lin1-0/+9
2021-06-29mm/swapfile: use percpu_ref to serialize against concurrent swapoffMiaohe Lin1-2/+3
2021-05-06include: remove pagemap.h from blkdev.hMatthew Wilcox (Oracle)1-0/+1
2021-05-05mm: disable LRU pagevec during the migration temporarilyMinchan Kim1-0/+14
2021-05-05mm/vmscan: replace implicit RECLAIM_ZONE checks with explicit checksDave Hansen1-0/+7
2021-03-02swap: fix swapfile read/write offsetJens Axboe1-0/+1
2021-02-24mm/vmscan: __isolate_lru_page_prepare() cleanupAlex Shi1-1/+1
2021-02-24mm: memcg: add swapcache stat for memcg v2Shakeel Butt1-1/+5
2021-01-27mm: remove get_swap_bioChristoph Hellwig1-1/+0
2020-12-15mm/compaction: do page isolation first in compactionAlex Shi1-1/+1
2020-12-15mm/thp: move lru_add_page_tail() to huge_memory.cAlex Shi1-2/+0
2020-10-13mm: remove activate_page() from unuse_pte()Yu Zhao1-1/+0
2020-10-13swap: rename SWP_FS to SWAP_FS_OPS to avoid ambiguityGao Xiang1-1/+1
2020-10-13mm: factor find_get_incore_page out of mincore_pageMatthew Wilcox (Oracle)1-0/+7
2020-09-23mm: split swap_type_ofChristoph Hellwig1-1/+2
2020-08-12mm/swap: implement workingset detection for anonymous LRUJoonsoo Kim1-0/+6
2020-08-12mm/swapcache: support to handle the shadow entriesJoonsoo Kim1-4/+13
2020-08-12mm/vmscan: protect the workingset on anonymous LRUJoonsoo Kim1-1/+1
2020-08-07mm/page_alloc: remove nr_free_pagecache_pages()David Hildenbrand1-1/+0
2020-08-07mm: remove vm_total_pagesDavid Hildenbrand1-1/+0
2020-06-26mm: workingset: age nonresident information alongside anonymous pagesJohannes Weiner1-0/+1
2020-06-03mm: vmscan: reclaim writepage is IO costJohannes Weiner1-1/+3
2020-06-03mm: balance LRU lists based on relative thrashingJohannes Weiner1-2/+1
2020-06-03mm: base LRU balancing on an explicit cost modelJohannes Weiner1-0/+2
2020-06-03mm: fold and remove lru_cache_add_anon() and lru_cache_add_file()Johannes Weiner1-2/+0
2020-06-03mm: memcontrol: move out cgroup swaprate throttlingJohannes Weiner1-4/+2
2020-06-02Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-6/+11
2020-06-02include/linux/swap.h: delete meaningless __add_to_swap_cache() declarationMiaohe Lin1-1/+0
2020-06-02swap: reduce lock contention on swap cache from swap slots allocationHuang Ying1-0/+1
2020-06-02mm/swapfile.c: classify SWAP_MAP_XXX to make it more readableWei Yang1-5/+10
2020-05-28mm/swap: Use local_lock for protectionIngo Molnar1-0/+1
2020-04-18swap.h: Replace zero-length array with flexible-array memberGustavo A. R. Silva1-1/+1
2020-04-02mm: swap: make page_evictable() inlineYang Shi1-1/+0
2019-12-01mm: vmscan: detect file thrashing at the reclaim rootJohannes Weiner1-1/+1
2019-09-25mm: introduce MADV_PAGEOUTMinchan Kim1-0/+1
2019-09-25mm: introduce MADV_COLDMinchan Kim1-0/+1
2019-07-12mm, swap: use rbtree for swap_extentAaron Lu1-3/+2
2019-07-12mm, swap: fix race between swapoff and some swap operationsHuang Ying1-3/+10
2019-03-14include/linux/swap.h: use offsetof() instead of custom __swapoffset macroPi-Hsun Shih1-2/+2
2019-03-05mm/workingset: remove unused @mapping argument in workingset_eviction()Andrey Ryabinin1-1/+1
2019-03-05mm: swap: use mem_cgroup_is_root() instead of deferencing css->parentYang Shi1-1/+1
2018-12-28mm/swap: use nr_node_ids for avail_lists in swap_info_structAaron Lu1-1/+10
2018-12-28vmscan: return NODE_RECLAIM_NOSCAN in node_reclaim() when CONFIG_NUMA is nWei Yang1-6/+0
2018-12-28mm: convert totalram_pages and totalhigh_pages variables to atomicArun KS1-1/+0
2018-11-20Merge drm/drm-next into drm-intel-next-queuedJani Nikula1-20/+17
2018-11-07mm, drm/i915: mark pinned shmemfs pages as unevictableKuo-Hsin Yang1-1/+3
2018-10-28Merge branch 'xarray' of git://git.infradead.org/users/willy/linux-daxLinus Torvalds1-13/+9
2018-10-26mm: split SWP_FILE into SWP_ACTIVATED and SWP_FSOmar Sandoval1-6/+7
2018-10-26mm: workingset: tell cache transitions from workingset thrashingJohannes Weiner1-1/+1
2018-10-21mm: Convert delete_from_swap_cache to XArrayMatthew Wilcox1-2/+3
2018-10-21mm: Convert workingset to XArrayMatthew Wilcox1-9/+0
2018-10-21page cache: Add and replace pages using the XArrayMatthew Wilcox1-2/+6
2018-08-22mm, swap, get_swap_pages: use entry_size instead of cluster in parameterHuang Ying1-1/+1
2018-07-09memcontrol: schedule throttling if we are congestedTejun Heo1-1/+10
2018-04-16Merge branch 'mm-rst' into docs-nextJonathan Corbet1-1/+1
2018-04-16docs/vm: rename documentation files to .rstMike Rapoport1-1/+1
2018-04-05mm: swap: unify cluster-based and vma-based swap readaheadMinchan Kim1-19/+8
2018-04-05mm: swap: clean up swap readaheadMinchan Kim1-14/+3
2018-02-21mm, mlock, vmscan: no more skipping pagevecsShakeel Butt1-2/+0
2018-01-31mm: remove unused pgdat_reclaimable_pages()Jan Kara1-1/+0
2018-01-31mm: drop hotplug lock from lru_add_drain_all()Michal Hocko1-1/+0
2017-11-15mm: remove cold parameter for release_pagesMel Gorman1-1/+1
2017-11-15mm, truncate: do not check mapping for every page being truncatedMel Gorman1-1/+12
2017-11-15mm: swap: SWP_SYNCHRONOUS_IO: skip swapcache only if swapped page has no othe...Minchan Kim1-0/+6
2017-11-15mm, swap: skip swapcache for swapin of synchronous deviceMinchan Kim1-0/+11
2017-11-15mm, swap: introduce SWP_SYNCHRONOUS_IOMinchan Kim1-1/+2
2017-11-03mm, swap: fix race between swap count continuation operationsHuang Ying1-0/+4
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-09-08mm/ZONE_DEVICE: new type of ZONE_DEVICE for unaddressable memoryJérôme Glisse1-3/+21
2017-09-06swap: choose swap device according to numa nodeAaron Lu1-1/+1
2017-09-06mm, swap: don't use VMA based swap readahead if HDD is used as swapHuang Ying1-5/+6
2017-09-06mm, swap: VMA based swap readaheadHuang Ying1-2/+55
2017-09-06mm: rename global_page_state to global_zone_page_stateMichal Hocko1-2/+2
2017-09-06mm, THP, swap: support splitting THP for THP swap outHuang Ying1-0/+9
2017-09-06mm, THP, swap: make reuse_swap_page() works for THP swapped outHuang Ying1-2/+2
2017-09-06mm, THP, swap: support to reclaim swap space for THP swapped outHuang Ying1-0/+1
2017-07-10mm: swap: provide lru_add_drain_all_cpuslocked()Thomas Gleixner1-0/+1
2017-07-10swap: add block io poll in swapin pathShaohua Li1-2/+3
2017-07-06mm, THP, swap: move anonymous THP split logic to vmscanMinchan Kim1-2/+2
2017-07-06mm, THP, swap: unify swap slot free functions to put_swap_pageMinchan Kim1-10/+2
2017-07-06mm, THP, swap: delay splitting THP during swap outHuang Ying1-5/+14
2017-05-03mm, swap: remove unused function prototypeHuang Ying1-3/+0
2017-05-03mm: move MADV_FREE pages into LRU_INACTIVE_FILE listShaohua Li1-1/+1
2017-02-22mm/swap: add cache for swap slots allocationTim Chen1-0/+4
2017-02-22mm/swap: free swap slots in batchTim Chen1-0/+1
2017-02-22mm/swap: allocate swap slots in batchesTim Chen1-0/+2
2017-02-22mm/swap: skip readahead for unreferenced swap slotsTim Chen1-0/+6
2017-02-22mm/swap: split swap cache into 64MB trunksHuang, Ying1-2/+9
2017-02-22mm/swap: add cluster lockHuang, Ying1-0/+6
2017-01-10mm: support anonymous stable pageMinchan Kim1-1/+2
2016-12-13Merge branch 'for-4.10/block' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+3
2016-12-12mm: workingset: move shadow entry tracking to radix tree exceptional trackingJohannes Weiner1-33/+1
2016-11-01mm: only include blk_types in swap.h if CONFIG_SWAP is enabledChristoph Hellwig1-1/+3
2016-11-01block,fs: untangle fs.h and blk_types.hChristoph Hellwig1-0/+1
2016-10-07mm, swap: add swap_cluster_listHuang Ying1-4/+7
2016-10-03Using BUG_ON() as an assert() is _never_ acceptableLinus Torvalds1-2/+2
2016-09-30mm: workingset: fix crash in shadow node shrinker caused by replace_page_cach...Johannes Weiner1-0/+2
2016-07-28mm: remove reclaim and compaction retry approximationsMel Gorman1-0/+1
2016-07-28mm, vmstat: remove zone and node double accounting by approximating retriesMel Gorman1-1/+0
2016-07-28mm: convert zone_reclaim to node_reclaimMel Gorman1-4/+5
2016-07-28mm, memcg: move memcg limit enforcement from zones to nodesMel Gorman1-1/+1
2016-07-28mm, vmscan: make shrink_node decisions more node-centricMel Gorman1-1/+1
2016-07-28mm, vmscan: remove balance gapMel Gorman1-9/+0
2016-07-28mm, vmscan: move LRU lists to nodeMel Gorman1-0/+1
2016-05-20mm, oom: rework oom detectionMichal Hocko1-0/+1
2016-05-12mm: thp: calculate the mapcount correctly for THP pages during WP faultsAndrea Arcangeli1-3/+3
2016-05-05mm: memcontrol: let v2 cgroups follow changes in system swappinessJohannes Weiner1-0/+4
2016-04-04mm, fs: remove remaining PAGE_CACHE_* and page_cache_{get,release} usageKirill A. Shutemov1-1/+1
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-1/+1
2016-01-20mm: free swap cache aggressively if memcg swap is fullVladimir Davydov1-0/+6
2016-01-20mm: vmscan: do not scan anon pages if memcg swap limit is hitVladimir Davydov1-0/+6
2016-01-20swap.h: move memcg related stuff to the end of the fileVladimir Davydov1-32/+38
2016-01-20mm: memcontrol: charge swap to cgroup2Vladimir Davydov1-0/+6
2016-01-15mm: move lazily freed pages to inactive listMinchan Kim1-0/+1
2016-01-15mm, thp: adjust conditions when we can reuse the page on WP faultKirill A. Shutemov1-1/+2
2016-01-14mm: page_alloc: generalize the dirty balance reserveJohannes Weiner1-1/+0