aboutsummaryrefslogtreecommitdiffstats
path: root/mm/swap_state.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-04mm: convert free_swap_cache() to take a folioMatthew Wilcox (Oracle)1-6/+6
2024-03-04mm: convert free_pages_and_swap_cache() to use folios_put()Matthew Wilcox (Oracle)1-8/+13
2024-02-22mm/mmu_gather: add __tlb_remove_folio_pages()David Hildenbrand1-2/+13
2024-02-20mm/swap_state: update zswap LRU's protection range with the folio lockedNhat Pham1-4/+6
2023-12-29mm: convert swap_cluster_readahead and swap_vma_readahead to return a folioMatthew Wilcox (Oracle)1-11/+13
2023-12-29mm: return a folio from read_swap_cache_async()Matthew Wilcox (Oracle)1-4/+4
2023-12-29mm: convert swap_readpage() to swap_read_folio()Matthew Wilcox (Oracle)1-6/+6
2023-12-29mm: return the folio from __read_swap_cache_async()Matthew Wilcox (Oracle)1-40/+35
2023-12-12zswap: shrink zswap pool based on memory pressureNhat Pham1-0/+2
2023-12-12zswap: make shrinking memcg-awareDomenico Cerasuolo1-6/+18
2023-10-25mempolicy: alloc_pages_mpol() for NUMA policy without vmaHugh Dickins1-32/+54
2023-10-25mm/swap: avoid a xa load for swapout pathKairui Song1-3/+3
2023-08-24mm/swap: inline folio_set_swap_entry() and folio_swap_entry()David Hildenbrand1-4/+3
2023-08-24mm/swap: stop using page->private on tail pages for THP_SWAPDavid Hildenbrand1-2/+3
2023-08-24swap: remove remnants of polling from read_swap_cache_asyncSuren Baghdasaryan1-7/+5
2023-08-21mm/swap_state.c: use helper macro K()ZhangPeng1-3/+2
2023-06-23mm: remove unnecessary pagevec includesMatthew Wilcox (Oracle)1-1/+0
2023-06-19mm: ptep_get() conversionRyan Roberts1-4/+4
2023-06-19mm/swap: swap_vma_readahead() do the pte_offset_map()Hugh Dickins1-21/+24
2023-06-09swap: remove __swp_swapcount()Huang Ying1-1/+1
2023-06-09swap, __read_swap_cache_async(): enlarge get/put_swap_device protection rangeHuang Ying1-10/+21
2023-04-05mm: return an ERR_PTR from __filemap_get_folioChristoph Hellwig1-7/+10
2023-04-05mm: use filemap_get_entry in filemap_get_incore_folioChristoph Hellwig1-1/+1
2023-02-02swap_state: update shadow_nodes for anonymous pageYang Yang1-0/+6
2023-01-18swap: avoid holding swap reference in swap_cache_get_folioKairui Song1-6/+2
2023-01-18swap: fold swap_ra_clamp_pfn into swap_ra_infoKairui Song1-25/+19
2023-01-18swap: avoid a redundant pte map if ra window is 1Kairui Song1-5/+2
2022-11-30mm: mmu_gather: prepare to gather encoded page pointers with flagsLinus Torvalds1-7/+4
2022-11-08mm: convert find_get_incore_page() to filemap_get_incore_folio()Matthew Wilcox (Oracle)1-8/+7
2022-11-08mm/swap: convert find_get_incore_page to use foliosMatthew Wilcox (Oracle)1-9/+10
2022-10-03swap_state: convert free_swap_cache() to use a folioMatthew Wilcox (Oracle)1-5/+8
2022-10-03mm: remove lookup_swap_cache()Matthew Wilcox (Oracle)1-11/+1
2022-10-03swap: add swap_cache_get_folio()Matthew Wilcox (Oracle)1-11/+21
2022-10-03memcg: convert mem_cgroup_swapin_charge_page() to mem_cgroup_swapin_charge_fo...Matthew Wilcox (Oracle)1-1/+1
2022-10-03mm/swap: convert put_swap_page() to put_swap_folio()Matthew Wilcox (Oracle)1-3/+3
2022-10-03mm/swap: convert add_to_swap_cache() to take a folioMatthew Wilcox (Oracle)1-17/+17
2022-10-03mm/swap: convert __read_swap_cache_async() to use a folioMatthew Wilcox (Oracle)1-19/+19
2022-09-11mm: fix VM_BUG_ON in __delete_from_swap_cache()Matthew Wilcox (Oracle)1-1/+1
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-36/+20
2022-08-02mm/migrate: Convert migrate_page() to migrate_folio()Matthew Wilcox (Oracle)1-1/+1
2022-07-03mm/swap: convert __delete_from_swap_cache() to a folioMatthew Wilcox (Oracle)1-12/+13
2022-07-03mm/swap: convert delete_from_swap_cache() to take a folioMatthew Wilcox (Oracle)1-8/+8
2022-07-03mm/swap: remove swap_cache_info statisticsMiaohe Lin1-17/+0
2022-06-29filemap: Remove add_to_page_cache() and add_to_page_cache_locked()Matthew Wilcox (Oracle)1-1/+1
2022-05-27mm: filter out swapin error entry in shmem mappingMiaohe Lin1-0/+3
2022-05-19mm/swap: use helper macro __ATTR_RWMiaohe Lin1-3/+1
2022-05-19mm/swap: use helper is_swap_pte() in swap_vma_readaheadMiaohe Lin1-3/+1
2022-05-13swap: convert add_to_swap() to take a folioMatthew Wilcox (Oracle)1-22/+25
2022-05-13swap: turn get_swap_page() into folio_alloc_swap()Matthew Wilcox (Oracle)1-1/+2
2022-05-13mm: convert sysfs input to bool using kstrtobool()Jagdish Gediya1-6/+5
2022-05-09mm: submit multipage reads for SWP_FS_OPS swap-spaceNeilBrown1-6/+14
2022-05-09mm: drop swap_dirty_folioNeilBrown1-1/+1
2022-05-09mm: create new mm/swap.h header fileNeilBrown1-0/+1
2022-03-22Merge tag 'folio-5.18b' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-1/+1
2022-03-17mm: swap: get rid of livelock in swapin readaheadGuo Ziliang1-1/+1
2022-03-15mm: Convert swap_set_page_dirty() to swap_dirty_folio()Matthew Wilcox (Oracle)1-1/+1
2021-10-18mm/workingset: Convert workingset_refault() to take a folioMatthew Wilcox (Oracle)1-1/+1
2021-08-20Revert "mm: swap: check if swap backing device is congested or not"Yang Shi1-7/+0
2021-06-29swap: check mapping_empty() for swap cache before being freedHuang Ying1-1/+6
2021-06-29mm: free idle swap cache page after COWHuang Ying1-1/+1
2021-06-29mm/swap: remove unused local variable nr_shadowsMiaohe Lin1-5/+0
2021-06-29mm/swap: remove confusing checking for non_swap_entry() in swap_ra_info()Miaohe Lin1-6/+0
2021-05-07mm: fix some typos and code style problemsShijie Luo1-1/+1
2021-05-05mm: stop accounting shadow entriesMatthew Wilcox (Oracle)1-4/+0
2021-04-30memcg: charge before adding to swapcache on swapinShakeel Butt1-7/+6
2021-02-26mm: add FGP_ENTRYMatthew Wilcox (Oracle)1-1/+2
2021-02-26mm/swap: optimise get_shadow_from_swap_cacheMatthew Wilcox (Oracle)1-3/+1
2021-02-24mm: memcg: add swapcache stat for memcg v2Shakeel Butt1-26/+2
2021-02-24mm/swap: don't SetPageWorkingset unconditionally during swapinYu Zhao1-1/+0
2021-02-24mm/swap_state: constify static struct attribute_groupRikard Falkeborn1-1/+1
2020-12-15mm: use sysfs_emit for struct kobject * usesJoe Perches1-1/+2
2020-12-15mm/swap_state: skip meaningless swap cache readahead when ra_info.win == 0Miaohe Lin1-1/+3
2020-10-16mm: fix some broken commentsMiaohe Lin1-1/+1
2020-10-13swap: rename SWP_FS to SWAP_FS_OPS to avoid ambiguityGao Xiang1-1/+1
2020-10-13mm: convert find_get_entry to return the head pageMatthew Wilcox (Oracle)1-1/+3
2020-10-13mm: factor find_get_incore_page out of mincore_pageMatthew Wilcox (Oracle)1-0/+32
2020-08-14mm/swap_state: mark various intentional data racesQian Cai1-2/+2
2020-08-14mm: replace hpage_nr_pages with thp_nr_pagesMatthew Wilcox (Oracle)1-3/+3
2020-08-12mm/swap: implement workingset detection for anonymous LRUJoonsoo Kim1-5/+18
2020-08-12mm/swapcache: support to handle the shadow entriesJoonsoo Kim1-6/+51
2020-08-07mm: swap: fix kerneldoc of swap_vma_readahead()Krzysztof Kozlowski1-1/+1
2020-06-26mm: fix swap cache node allocation maskHugh Dickins1-2/+2
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-2/+2
2020-06-09mm: don't include asm/pgtable.h if linux/mm.h is already includedMike Rapoport1-1/+0
2020-06-03mm: vmscan: reclaim writepage is IO costJohannes Weiner1-1/+1
2020-06-03mm: balance LRU lists based on relative thrashingJohannes Weiner1-0/+5
2020-06-03mm: fold and remove lru_cache_add_anon() and lru_cache_add_file()Johannes Weiner1-1/+1
2020-06-03mm: memcontrol: delete unused lrucare handlingJohannes Weiner1-1/+1
2020-06-03mm: memcontrol: charge swapin pages on instantiationJohannes Weiner1-43/+56
2020-06-02mm/swap_state: fix a data race in swapin_nr_pagesQian Cai1-2/+3
2020-04-02mm/swap_state.c: use the same way to count page in [add_to|delete_from]_swap_...Wei Yang1-1/+1
2019-09-24mm: page cache: store only head pages in i_pagesMatthew Wilcox (Oracle)1-2/+2
2019-09-24mm: introduce compound_nr()Matthew Wilcox (Oracle)1-1/+1
2019-07-12mm/swap_state.c: simplify total_swapcache_pages() with get_swap_device()Huang Ying1-18/+15
2019-07-12mm, swap: fix race between swapoff and some swap operationsHuang Ying1-3/+13
2019-07-05Revert "mm: page cache: store only head pages in i_pages"Linus Torvalds1-2/+2
2019-05-14mm: page cache: store only head pages in i_pagesMatthew Wilcox1-2/+2
2019-03-05mm: swap: add comment for swap_vma_readaheadYang Shi1-1/+15
2019-03-05mm: swap: check if swap backing device is congested or notYang Shi1-0/+7
2018-10-28Merge branch 'xarray' of git://git.infradead.org/users/willy/linux-daxLinus Torvalds1-79/+40
2018-10-26mm: workingset: tell cache transitions from workingset thrashingJohannes Weiner1-0/+1
2018-10-21page cache: Finish XArray conversionMatthew Wilcox1-1/+1
2018-10-21mm: Convert delete_from_swap_cache to XArrayMatthew Wilcox1-14/+10
2018-10-21mm: Convert add_to_swap_cache to XArrayMatthew Wilcox1-64/+29
2018-06-12treewide: kvzalloc() -> kvcalloc()Kees Cook1-1/+1
2018-06-07mm, memcontrol: move swap charge handling into get_swap_page()Tejun Heo1-3/+0
2018-04-11page cache: use xa_lockMatthew Wilcox1-9/+8
2018-04-05mm/swap_state.c: make bool enable_vma_readahead and swap_vma_readahead() staticColin Ian King1-3/+3
2018-04-05mm: swap: unify cluster-based and vma-based swap readaheadMinchan Kim1-11/+37
2018-04-05mm: swap: clean up swap readaheadMinchan Kim1-43/+53
2017-11-15mm: remove cold parameter for release_pagesMel Gorman1-1/+1
2017-11-15mm/swap_state.c: declare a few variables as __read_mostlyChangbin Du1-3/+3
2017-11-15mm, swap: fix false error message in __swp_swapcount()Huang Ying1-0/+3
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-13mm, swap: use page-cluster as max window of VMA based swap readaheadHuang Ying1-34/+7
2017-10-03mm: fix data corruption caused by lazyfree pageShaohua Li1-0/+11
2017-09-06mm, swap: add sysfs interface for VMA based swap readaheadHuang Ying1-0/+80
2017-09-06mm, swap: VMA based swap readaheadHuang Ying1-17/+198
2017-09-06mm, swap: fix swap readahead markingHuang Ying1-7/+11
2017-09-06mm, swap: add swap readahead hit statisticsHuang Ying1-2/+7
2017-07-10swap: add block io poll in swapin pathShaohua Li1-4/+6
2017-07-06mm, THP, swap: move anonymous THP split logic to vmscanMinchan Kim1-17/+6
2017-07-06mm, THP, swap: unify swap slot free functions to put_swap_pageMinchan Kim1-10/+3
2017-07-06mm, THP, swap: delay splitting THP during swap outHuang Ying1-44/+70
2017-05-08mm, swap: use kvzalloc to allocate some swap data structuresHuang Ying1-1/+1
2017-05-03mm, swap: fix comment in __read_swap_cache_asyncHuang Ying1-11/+1
2017-02-22mm/swap: skip readahead only when swap slot cache is enabledHuang Ying1-3/+10
2017-02-22mm/swap: add cache for swap slots allocationTim Chen1-0/+1
2017-02-22mm/swap: skip readahead for unreferenced swap slotsTim Chen1-0/+4
2017-02-22mm/swap: split swap cache into 64MB trunksHuang, Ying1-12/+56
2016-10-07mm, swap: use offset of swap entry as key of swap cacheHuang Ying1-4/+4
2016-10-07thp: reduce usage of huge zero page's atomic counterAaron Lu1-3/+1
2016-10-07mm: don't use radix tree writeback tags for pages in swap cacheHuang Ying1-0/+2
2016-07-28mm: move most file-based accounting to the nodeMel Gorman1-2/+2
2016-06-09mm: thp: broken page count after commit aa88b68c3b1dGerald Schaefer1-1/+4
2016-05-19mm: use __SetPageSwapBacked and dont ClearPageSwapBackedHugh Dickins1-2/+1
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-6/+6
2016-01-20mm: memcontrol: charge swap to cgroup2Vladimir Davydov1-0/+5
2016-01-15mm: support madvise(MADV_FREE)Minchan Kim1-3/+2
2016-01-15page-flags: define PG_locked behavior on compound pagesKirill A. Shutemov1-2/+2
2015-09-08mm: swap: zswap: maybe_preload & refactoringDmitry Safonov1-11/+26
2015-04-15mm: remove rest of ACCESS_ONCE() usagesJason Low1-1/+1
2015-01-20fs: remove mapping->backing_dev_infoChristoph Hellwig1-1/+0
2015-01-20fs: kill BDI_CAP_SWAP_BACKEDChristoph Hellwig1-6/+1
2014-12-10mm: page_cgroup: rename file to mm/swap_cgroup.cJohannes Weiner1-1/+0
2014-10-09mm: memcontrol: do not kill uncharge batching in free_pages_and_swap_cacheMichal Hocko1-10/+4
2014-10-09include/linux/migrate.h: remove migrate_page #defineAndrew Morton1-0/+2
2014-08-08mm: allow drivers to prevent new writable mappingsDavid Herrmann1-0/+1
2014-08-08mm: memcontrol: rewrite uncharge APIJohannes Weiner1-4/+4
2014-06-04mm: page_alloc: convert hot/cold parameter and immediate callers to boolMel Gorman1-1/+1
2014-02-06swap: add a simple detector for inappropriate swapin readaheadShaohua Li1-3/+60
2014-01-23mm: dump page when hitting a VM_BUG_ON using VM_BUG_ON_PAGESasha Levin1-8/+8
2013-09-11lib/radix-tree.c: make radix_tree_node_alloc() work correctly within interruptJan Kara1-2/+2
2013-06-12swap: avoid read_swap_cache_async() race to deadlock while waiting on discard...Rafael Aquini1-1/+17
2013-04-29mm: thp: add split tail pages to shrink page list in page reclaimShaohua Li1-2/+2
2013-04-29mm: break up swap_writepage() for frontswap backendsSeth Jennings1-1/+1
2013-02-23swap: add per-partition lock for swapfileShaohua Li1-1/+2
2013-02-23swap: make each swap partition have one address_spaceShaohua Li1-17/+38
2012-07-31mm: add support for a filesystem to activate swap files and use direct_IO for...Mel Gorman1-1/+1
2012-07-31swap: allow swap readahead to be mergedChristian Ehrhardt1-0/+5
2012-04-23mm: fix s390 BUG by __set_page_dirty_no_writeback on swapHugh Dickins1-1/+1
2012-03-21mm: make swapin readahead skip over holesRik van Riel1-13/+11
2012-03-05memcg: fix GPF when cgroup removal races with last exitHugh Dickins1-10/+0
2012-01-12memcg: clear pc->mem_cgroup if necessary.KAMEZAWA Hiroyuki1-0/+10
2012-01-03fs: move code out of buffer.cAl Viro1-1/+0
2011-10-31mm: delete various needless include <linux/module.h>Paul Gortmaker1-1/+0
2011-03-10block: remove per-queue pluggingJens Axboe1-4/+1
2011-01-13thp: split_huge_page pagingAndrea Arcangeli1-0/+6
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2009-09-22mm: add_to_swap_cache() does not return -EEXISTDaisuke Nishimura1-37/+36
2009-09-22mm: add_to_swap_cache() must not sleepDaisuke Nishimura1-24/+46
2009-09-11writeback: add name to backing_dev_infoJens Axboe1-0/+1
2009-06-16mm: remove file argument from swap_readpage()Minchan Kim1-1/+1
2009-06-16mm: remove annotation of gfp_mask in add_to_swapMinchan Kim1-1/+0
2009-06-16mm: modify swap_map and add SWAP_HAS_CACHE flagKAMEZAWA Hiroyuki1-1/+4
2009-06-16mm: add swap cache interface for swap referenceKAMEZAWA Hiroyuki1-6/+5
2009-05-29memcg: fix deadlock between lock_page_cgroup and mapping tree_lockDaisuke Nishimura1-3/+1
2009-01-08memcg: mem+swap controller coreKAMEZAWA Hiroyuki1-1/+4
2009-01-08memcg: handle swap cachesKAMEZAWA Hiroyuki1-0/+1
2009-01-06mm: remove gfp_mask from add_to_swapHugh Dickins1-2/+2
2009-01-06mm: try_to_free_swap replaces remove_exclusive_swap_pageHugh Dickins1-4/+4
2009-01-06mm: replace some BUG_ONs by VM_BUG_ONsHugh Dickins1-10/+9
2008-10-20mm: pagecache insertion fewer atomicsNick Piggin1-2/+2
2008-10-20vmscan: add newly swapped in pages to the inactive listRik van Riel1-1/+1
2008-10-20vmscan: split LRU lists into anon & file setsRik van Riel1-2/+2
2008-10-20define page_file_cache() functionRik van Riel1-0/+3
2008-08-20mm: show free swap as signedHugh Dickins1-1/+1
2008-08-04mm: rename page trylockNick Piggin1-4/+4
2008-07-26mm: print swapcache page count in show_swap_cache_info()Johannes Weiner1-1/+2
2008-07-26mm: spinlock tree_lockNick Piggin1-5/+5
2008-07-26mm: speculative page referencesNick Piggin1-5/+12
2008-04-30mm: bdi: add separate writeback accounting capabilityMiklos Szeredi1-1/+1
2008-03-19mm: fix various kernel-doc commentsRandy Dunlap1-0/+2
2008-02-07memcgroup: revert swap_state modsHugh Dickins1-12/+1
2008-02-07memory controller BUG_ON()Balbir Singh1-6/+7
2008-02-07Memory controller: make charging gfp mask awareBalbir Singh1-1/+1
2008-02-07Memory controller: add switch to control what type of pages to limitBalbir Singh1-1/+1
2008-02-07Memory controller: memory accountingBalbir Singh1-0/+10
2008-02-05mm: fix PageUptodate data raceNick Piggin1-1/+1
2008-02-05tmpfs: move swap swizzling into shmemHugh Dickins1-34/+1