aboutsummaryrefslogtreecommitdiffstats
path: root/mm/swap.c
AgeCommit message (Expand)AuthorFilesLines
2021-11-20mm/swap.c:put_pages_list(): reinitialise the page listMatthew Wilcox1-0/+1
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-7/+16
2021-11-06mm: optimise put_pages_list()Matthew Wilcox (Oracle)1-7/+16
2021-10-18mm/lru: Add folio_add_lru()Matthew Wilcox (Oracle)1-11/+11
2021-10-18mm/lru: Convert __pagevec_lru_add_fn to take a folioMatthew Wilcox (Oracle)1-24/+25
2021-10-18mm/workingset: Convert workingset_refault() to take a folioMatthew Wilcox (Oracle)1-4/+3
2021-10-18mm/swap: Add folio_mark_accessed()Matthew Wilcox (Oracle)1-18/+16
2021-10-18mm/swap: Add folio_activate()Matthew Wilcox (Oracle)1-19/+22
2021-09-27mm/workingset: Convert workingset_activation to take a folioMatthew Wilcox (Oracle)1-1/+1
2021-09-27mm/memcg: Add folio_lruvec_relock_irq() and folio_lruvec_relock_irqsave()Matthew Wilcox (Oracle)1-5/+8
2021-09-27mm/memcg: Add folio_lruvec_lock() and similar functionsMatthew Wilcox (Oracle)1-3/+5
2021-09-27mm/memcg: Add folio_lruvec()Matthew Wilcox (Oracle)1-1/+2
2021-09-27mm/memcg: Convert mem_cgroup_uncharge() to take a folioMatthew Wilcox (Oracle)1-1/+1
2021-09-27mm/swap: Add folio_rotate_reclaimable()Matthew Wilcox (Oracle)1-14/+16
2021-09-24mm: fs: invalidate bh_lrus for only cold pathMinchan Kim1-3/+16
2021-09-03mm: delete unused get_kernel_page()John Hubbard1-22/+0
2021-07-01mm: fix typos and grammar error in commentsHyeonggon Yoo1-1/+1
2021-06-29mm/page_alloc: allow high-order pages to be stored on the per-cpu listsMel Gorman1-1/+1
2021-06-29mm: memcontrol: remove the pgdata parameter of mem_cgroup_page_lruvecMuchun Song1-1/+1
2021-05-07mm: fix some typos and code style problemsShijie Luo1-2/+2
2021-05-05mm: fs: invalidate BH LRU during page migrationMinchan Kim1-1/+4
2021-05-05mm: disable LRU pagevec during the migration temporarilyMinchan Kim1-9/+55
2021-02-26mm: remove pagevec_lookup_entriesMatthew Wilcox (Oracle)1-34/+2
2021-02-26mm: pass pvec directly to find_get_entriesMatthew Wilcox (Oracle)1-3/+1
2021-02-26mm: remove nr_entries parameter from pagevec_lookup_entriesMatthew Wilcox (Oracle)1-2/+2
2021-02-26mm: add an 'end' parameter to pagevec_lookup_entriesMatthew Wilcox (Oracle)1-4/+4
2021-02-26mm: add an 'end' parameter to find_get_entriesMatthew Wilcox (Oracle)1-1/+1
2021-02-24mm: VM_BUG_ON lru page flagsYu Zhao1-2/+0
2021-02-24mm: add __clear_page_lru_flags() to replace page_off_lru()Yu Zhao1-4/+2
2021-02-24mm/swap.c: don't pass "enum lru_list" to del_page_from_lru_list()Yu Zhao1-16/+10
2021-02-24mm/swap.c: don't pass "enum lru_list" to trace_mm_lru_insertion()Yu Zhao1-4/+1
2021-02-24mm: don't pass "enum lru_list" to lru list addition functionsYu Zhao1-8/+7
2020-12-15mm/lru: introduce relock_page_lruvec()Alexander Duyck1-26/+7
2020-12-15mm/lru: replace pgdat lru_lock with lruvec lockAlex Shi1-58/+58
2020-12-15mm/swap.c: serialize memcg changes in pagevec_lru_move_fnAlex Shi1-9/+35
2020-12-15mm/lru: move lock into lru_note_costAlex Shi1-0/+3
2020-12-15mm/swap.c: fold vm event PGROTATED into pagevec_move_tail_fnAlex Shi1-42/+23
2020-12-15mm/thp: move lru_add_page_tail() to huge_memory.cAlex Shi1-33/+0
2020-12-15mm: remove pagevec_lookup_range_nr_tag()Jeff Layton1-9/+0
2020-12-15mm: handle zone device pages in release_pages()Ralph Campbell1-0/+3
2020-10-13mm: move call to compound_head() in release_pages()Ralph Campbell1-1/+1
2020-10-13mm/swap.c: fix incomplete comment in lru_cache_add_inactive_or_unevictable()Miaohe Lin1-3/+1
2020-10-13mm/swap.c: fix confusing comment in release_pages()Miaohe Lin1-1/+1
2020-10-13mm: remove superfluous __ClearPageActive()Yu Zhao1-2/+0
2020-10-13mm: remove activate_page() from unuse_pte()Yu Zhao1-2/+2
2020-10-09Merge branch 'locking/urgent' into locking/core, to pick up fixesIngo Molnar1-3/+3
2020-09-19mlock: fix unevictable_pgs event counts on THPHugh Dickins1-3/+3
2020-09-10mm/swap: Do not abuse the seqcount_t latching APIAhmed S. Darwish1-11/+54
2020-08-14mm/swap.c: annotate data races for lru_rotate_pvecsQian Cai1-2/+3
2020-08-14mm: replace hpage_nr_pages with thp_nr_pagesMatthew Wilcox (Oracle)1-8/+8
2020-08-12mm/vmscan: protect the workingset on anonymous LRUJoonsoo Kim1-6/+7
2020-07-16treewide: Remove uninitialized_var() usageKees Cook1-2/+2
2020-06-26mm/swap: fix for "mm: workingset: age nonresident information alongside anony...Joonsoo Kim1-2/+1
2020-06-03mm: swap: memcg: fix memcg stats for huge pagesShakeel Butt1-5/+16
2020-06-03mm: swap: fix vmstats for huge pagesShakeel Butt1-6/+8
2020-06-03mm: vmscan: reclaim writepage is IO costJohannes Weiner1-6/+10
2020-06-03mm: vmscan: determine anon/file pressure balance at the reclaim rootJohannes Weiner1-5/+27
2020-06-03mm: balance LRU lists based on relative thrashingJohannes Weiner1-4/+7
2020-06-03mm: deactivations shouldn't bias the LRU balanceJohannes Weiner1-6/+1
2020-06-03mm: base LRU balancing on an explicit cost modelJohannes Weiner1-11/+8
2020-06-03mm: remove use-once cache bias from LRU balancingJohannes Weiner1-5/+0
2020-06-03mm: fold and remove lru_cache_add_anon() and lru_cache_add_file()Johannes Weiner1-32/+10
2020-06-03mm: fix LRU balancing effect of new transparent huge pagesJohannes Weiner1-14/+11
2020-06-03mm: simplify calling a compound page destructorMatthew Wilcox (Oracle)1-4/+1
2020-05-28mm/swap: Use local_lock for protectionIngo Molnar1-38/+80
2020-04-07mm: huge tmpfs: try to split_huge_page() when punching holeHugh Dickins1-0/+4
2020-04-07mm: code cleanup for MADV_FREEHuang Ying1-8/+8
2020-04-02mm: swap: use smp_mb__after_atomic() to order LRU bit setYang Shi1-2/+2
2020-04-02mm/swap.c: not necessary to export __pagevec_lru_add()Wei Yang1-1/+0
2020-01-31mm: devmap: refactor 1-based refcounting for ZONE_DEVICE pagesJohn Hubbard1-1/+26
2019-12-01mm/swap.c: piggyback lru_add_drain_all() callsKonstantin Khlebnikov1-1/+15
2019-12-01mm/swap.c: trivial mark_page_accessed() cleanupFengguang Wu1-4/+9
2019-09-25mm: introduce MADV_COLDMinchan Kim1-0/+42
2019-09-24mm: move mem_cgroup_uncharge out of __page_cache_release()Yang Shi1-1/+1
2019-09-24mm: replace list_move_tail() with add_page_to_lru_list_tail()Yu Zhao1-8/+6
2019-07-15docs: admin-guide: move sysctl directory to itMauro Carvalho Chehab1-1/+1
2019-07-15docs: sysctl: convert to ReSTMauro Carvalho Chehab1-1/+1
2019-07-02mm/swap: fix release_pages() when releasing devmap pagesIra Weiny1-4/+9
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-14mm/swap.c: __pagevec_lru_add_fn: typo fixPeng Fan1-1/+1
2019-03-05mm: remove zone_lru_lock() function, access ->lru_lock directlyAndrey Ryabinin1-8/+8
2019-02-21mm: handle lru_add_drain_all for UP properlyMichal Hocko1-7/+10
2019-01-04fs: don't open code lru_to_page()Nikolay Borisov1-1/+1
2018-12-28mm: convert totalram_pages and totalhigh_pages variables to atomicArun KS1-1/+1
2018-11-12mm: Replace spin_is_locked() with lockdepLance Roy1-2/+1
2018-10-28Merge branch 'xarray' of git://git.infradead.org/users/willy/linux-daxLinus Torvalds1-3/+3
2018-10-26mm/swap.c: remove duplicated includeYueHaibing1-1/+0
2018-10-21pagevec: Use xa_mark_tMatthew Wilcox1-2/+2
2018-09-29xarray: Replace exceptional entriesMatthew Wilcox1-1/+1
2018-05-22mm: introduce MEMORY_DEVICE_FS_DAX and CONFIG_DEV_PAGEMAP_OPSDan Williams1-1/+2
2018-04-05mm/swap.c: remove @cold parameter description for release_pages()Mike Rapoport1-1/+0
2018-02-21mm/swap.c: make functions and their kernel-doc agree (again)Mike Rapoport1-1/+1
2018-02-21mm, mlock, vmscan: no more skipping pagevecsShakeel Butt1-35/+47
2018-02-06mm: docs: fix parameter names mismatchMike Rapoport1-2/+2
2018-01-31mm/swap.c: make functions and their kernel-doc agreeRandy Dunlap1-6/+5
2018-01-31mm: drop hotplug lock from lru_add_drain_all()Michal Hocko1-8/+8
2017-11-15mm, pagevec: rename pagevec drained fieldMel Gorman1-2/+2
2017-11-15mm: remove cold parameter from free_hot_cold_page*Mel Gorman1-2/+2
2017-11-15mm: remove cold parameter for release_pagesMel Gorman1-4/+4
2017-11-15mm, pagevec: remove cold parameter for pagevecsMel Gorman1-2/+2
2017-11-15mm: only drain per-cpu pagevecs once per pagevec usageMel Gorman1-1/+4
2017-11-15mm: remove nr_pages argument from pagevec_lookup_{,range}_tag()Jan Kara1-2/+2
2017-11-15mm: add variant of pagevec_lookup_range_tag() taking number of pagesJan Kara1-0/+9
2017-11-15mm: implement find_get_pages_range_tag()Jan Kara1-4/+5
2017-10-03mm: avoid marking swap cached page as lazyfreeShaohua Li1-2/+2
2017-09-08mm/device-public-memory: device memory cache coherent with CPUJérôme Glisse1-0/+11
2017-09-06mm: remove nr_pages argument from pagevec_lookup{,_range}()Jan Kara1-3/+2
2017-09-06mm: implement find_get_pages_range()Jan Kara1-8/+14
2017-09-06mm: make pagevec_lookup() update indexJan Kara1-2/+3
2017-07-10mm: swap: provide lru_add_drain_all_cpuslocked()Thomas Gleixner1-3/+8
2017-07-06mm: per-cgroup memory reclaim statsRoman Gushchin1-0/+1
2017-05-03mm: move MADV_FREE pages into LRU_INACTIVE_FILE listShaohua Li1-21/+28
2017-05-01Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+10
2017-05-01mm, zone_device: Replace {get, put}_zone_device_page() with a single referenc...Dan Williams1-0/+10
2017-04-08mm: move pcp and lru-pcp draining into single wqMichal Hocko1-19/+8
2017-02-24mm: vmscan: move dirty pages out of the way until they're flushedJohannes Weiner1-4/+5
2017-02-22mm/swap: split swap cache into 64MB trunksHuang, Ying1-6/+0
2016-12-25mm: add PageWaiters indicating tasks are waiting for a page bitNicholas Piggin1-0/+2
2016-10-07thp: reduce usage of huge zero page's atomic counterAaron Lu1-3/+1
2016-07-28mm, pagevec: release/reacquire lru_lock on pgdat changeMel Gorman1-10/+10
2016-07-28mm, vmscan: move LRU lists to nodeMel Gorman1-25/+25
2016-07-28mm, vmscan: move lru_lock to the nodeMel Gorman1-15/+15
2016-07-26shmem: add huge pages supportKirill A. Shutemov1-0/+2
2016-06-24mm/swap.c: flush lru pvecs on compound page arrivalLukasz Odzioba1-6/+5
2016-06-09mm: introduce dedicated WQ_MEM_RECLAIM workqueue to do lru_add_drain_allWang Sheng-Hui1-1/+19
2016-05-20mm/swap.c: put activate_page_pvecs and other pagevecs togetherMing Li1-2/+3
2016-04-28thp: keep huge zero page pinned until tlb flushKirill A. Shutemov1-0/+5
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-6/+6
2016-01-15mm, x86: get_user_pages() for dax mappingsDan Williams1-0/+1
2016-01-15mm: move lazily freed pages to inactive listMinchan Kim1-0/+44
2016-01-15thp: allow mlocked THP againKirill A. Shutemov1-0/+1
2016-01-15mm: drop tail page refcountingKirill A. Shutemov1-259/+14
2015-11-06mm: make compound_head() robustKirill A. Shutemov1-2/+2
2015-09-10mm: introduce idle page trackingVladimir Davydov1-0/+3
2015-06-24mm: drop bogus VM_BUG_ON_PAGE assert in put_page() codepathKirill A. Shutemov1-1/+0
2015-04-15mm: don't call __page_cache_release for hugetlbNaoya Horiguchi1-1/+9
2015-04-15mm: rename deactivate_page to deactivate_file_pageMinchan Kim1-12/+12
2015-02-12Merge branch 'for-3.20/bdi' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+0
2015-02-10rmap: drop support of non-linear mappingsKirill A. Shutemov1-3/+1
2015-01-20fs: kill BDI_CAP_SWAP_BACKEDChristoph Hellwig1-2/+0
2014-10-09mm: memcontrol: do not kill uncharge batching in free_pages_and_swap_cacheMichal Hocko1-11/+19
2014-08-08mm: memcontrol: use page lists for uncharge batchingJohannes Weiner1-5/+1
2014-08-08mm: memcontrol: rewrite uncharge APIJohannes Weiner1-0/+6
2014-08-08mm: memcontrol: rewrite charge APIJohannes Weiner1-0/+34
2014-08-06mm: pagemap: avoid unnecessary overhead when tracepoints are deactivatedMel Gorman1-2/+2
2014-08-06mm: replace init_page_accessed by __SetPageReferencedHugh Dickins1-11/+3
2014-06-04mm: non-atomically mark page accessed during page cache allocation where poss...Mel Gorman1-0/+11
2014-06-04mm: do not use unnecessary atomic operations when adding pages to the LRUMel Gorman1-2/+4
2014-06-04mm: do not use atomic operations when releasing pagesMel Gorman1-1/+1
2014-06-04mm: page_alloc: convert hot/cold parameter and immediate callers to boolMel Gorman1-2/+2
2014-06-04mm: introdule compound_head_by_tail()Jianyu Zhan1-1/+1
2014-06-04mm/swap.c: split put_compound_page()Jianyu Zhan1-126/+16
2014-06-04mm/swap.c: introduce put_[un]refcounted_compound_page helpers for splitting p...Jianyu Zhan1-0/+142
2014-06-04mm: replace __get_cpu_var uses with this_cpu_ptrChristoph Lameter1-1/+1
2014-06-04mm/swap.c: clean up *lru_cache_add* functionsJianyu Zhan1-8/+23
2014-04-03mm: thrash detection-based file cache sizingJohannes Weiner1-0/+2
2014-04-03mm + fs: prepare for non-page entries in page cache radix treesJohannes Weiner1-0/+51
2014-03-04mm: close PageTail raceDavid Rientjes1-2/+2
2014-01-23mm: dump page when hitting a VM_BUG_ON using VM_BUG_ON_PAGESasha Levin1-18/+18
2014-01-21mm/swap.c: reorganize put_compound_page()Andrew Morton1-129/+125
2014-01-21mm: hugetlbfs: use __compound_tail_refcounted in __get_page_tail tooAndrea Arcangeli1-2/+1
2014-01-21mm: tail page refcounting optimization for slab and hugetlbfsAndrea Arcangeli1-6/+27
2014-01-21mm: hugetlbfs: move the put/get_page slab and hugetlbfs optimization in a fas...Andrea Arcangeli1-62/+78
2013-11-21mm: hugetlbfs: fix hugetlbfs optimizationAndrea Arcangeli1-60/+83
2013-11-08bdi: test bdi_init failureMikulas Patocka1-1/+2
2013-09-12mm: make lru_add_drain_all() selectiveChris Metcalf1-5/+39
2013-09-11mm: fix aio performance regression for database caused by THPKhalid Aziz1-25/+52
2013-07-31thp, mm: avoid PageUnevictable on active/inactive lru listsKirill A. Shutemov1-18/+2
2013-07-31mm/swap.c: clear PageActive before adding pages onto unevictable listNaoya Horiguchi1-7/+2
2013-07-03mm: remove lru parameter from __lru_cache_add and lru_cache_add_lruMel Gorman1-10/+7
2013-07-03mm: remove lru parameter from __pagevec_lru_add and remove parts of pagevec APIMel Gorman1-8/+4
2013-07-03mm: activate !PageLRU pages on mark_page_accessed if page is on local pagevecMel Gorman1-2/+39
2013-07-03mm: pagevec: defer deciding which LRU to add a page to until pagevec drain timeMel Gorman1-26/+21
2013-07-03mm: add tracepoints for LRU activation and insertionsMel Gorman1-0/+5
2013-05-07aio: don't include aio.h in sched.hKent Overstreet1-0/+1
2013-04-29mm: thp: add split tail pages to shrink page list in page reclaimShaohua Li1-3/+8
2013-02-23swap: make each swap partition have one address_spaceShaohua Li1-2/+7
2012-10-09mm: remove vma arg from page_evictableHugh Dickins1-1/+1
2012-10-09mm: fix nonuniform page status when writing new file with small bufferRobin Dong1-1/+10
2012-07-31mm: add support for direct_IO to highmem pagesMel Gorman1-2/+1
2012-07-31mm: add get_kernel_page[s] for pinning of kernel addresses for I/OMel Gorman1-0/+53
2012-05-29mm/memcg: apply add/del_page to lruvecHugh Dickins1-43/+43
2012-05-29mm/memcg: move reclaim_stat into lruvecHugh Dickins1-10/+4
2012-05-29mm: fix slab->page flags corruptionPravin B Shelar1-2/+35
2012-03-21mm: drain percpu lru add/rotate page-vectors on cpu hot-unplugKonstantin Khlebnikov1-2/+2
2012-03-05memcg: fix GPF when cgroup removal races with last exitHugh Dickins1-3/+5
2012-02-08mm: fix UP THP spin_is_locked BUGsHugh Dickins1-1/+1
2012-01-12mm: remove del_page_from_lru, add page_off_lruHugh Dickins1-2/+2
2012-01-12mm: no blank line after EXPORT_SYMBOL in swap.cHugh Dickins1-5/+0
2012-01-12mm: fewer underscores in ____pagevec_lru_addHugh Dickins1-6/+6
2012-01-12mm: take pagevecs off reclaim stackHugh Dickins1-19/+0
2012-01-12memcg: fix split_huge_page_refcounts()Hugh Dickins1-10/+19
2012-01-12thp: improve order in lru list for split huge pageShaohua Li1-1/+1
2012-01-12mm: make per-memcg LRU lists exclusiveJohannes Weiner1-8/+15
2012-01-12mm: collect LRU list heads into struct lruvecJohannes Weiner1-6/+5
2012-01-10mm: add free_hot_cold_page_list() helperKonstantin Khlebnikov1-11/+3
2011-11-06Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+1
2011-11-02mm: thp: tail page refcounting fixAndrea Arcangeli1-30/+53
2011-10-31mm: Map most files to use export.h instead of module.hPaul Gortmaker1-1/+1