aboutsummaryrefslogtreecommitdiffstats
path: root/mm/khugepaged.c
AgeCommit message (Expand)AuthorFilesLines
2023-04-27mm/khugepaged: fix conflicting mods to collapse_file()Hugh Dickins1-22/+1
2023-04-18mm/khugepaged: maintain page cache uptodate flagDavid Stevens1-52/+33
2023-04-18mm/khugepaged: skip shmem with userfaultfdDavid Stevens1-20/+79
2023-04-18mm/khugepaged: refactor collapse_file control flowDavid Stevens1-117/+113
2023-04-18mm/khugepaged: drain lru after swapping in shmemDavid Stevens1-0/+2
2023-04-18mm/khugepaged: recover from poisoned file-backed memoryJiaqi Yan1-31/+56
2023-04-18mm/khugepaged: recover from poisoned anonymous memoryJiaqi Yan1-13/+99
2023-04-18mm: khugepaged: fix kernel BUG in hpage_collapse_scan_file()Ivan Orlov1-0/+20
2023-04-16sync mm-stable with mm-hotfixes-stable to pick up depended-upon upstream changesAndrew Morton1-0/+4
2023-04-16mm/khugepaged: check again on anon uffd-wp during isolationPeter Xu1-0/+4
2023-04-05mm/khugepaged: write-lock VMA while collapsing a huge pageSuren Baghdasaryan1-0/+8
2023-04-05mm/uffd: UFFD_FEATURE_WP_UNPOPULATEDPeter Xu1-1/+1
2023-03-28mm/khugepaged: cleanup memcg uncharge for failure pathPeter Xu1-6/+2
2023-03-28mm/khugepaged: alloc_charge_hpage() take care of mem charge errorsPeter Xu1-1/+8
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-18/+29
2023-02-20mm: change to return bool for isolate_lru_page()Baolin Wang1-1/+1
2023-02-20mm: change to return bool for folio_isolate_lru()Baolin Wang1-1/+1
2023-02-16mm/MADV_COLLAPSE: set EAGAIN on unexpected page refcountZach O'Keefe1-0/+1
2023-02-13mm/khugepaged: fix invalid page access in release_pte_pages()Vishal Moola (Oracle)1-4/+10
2023-02-02mm/khugepaged: convert release_pte_pages() to use foliosVishal Moola (Oracle)1-7/+7
2023-02-02mm/khugepaged: introduce release_pte_folio() to replace release_pte_page()Vishal Moola (Oracle)1-5/+10
2023-02-02mm/mmu_notifier: remove unused mmu_notifier_range_update_to_read_only exportAlistair Popple1-3/+3
2023-01-31mm/MADV_COLLAPSE: catch !none !huge !bad pmd lookupsZach O'Keefe1-0/+8
2023-01-31mm/khugepaged: fix ->anon_vma raceJann Horn1-1/+13
2023-01-11mm/MADV_COLLAPSE: don't expand collapse when vm_end is past requested endZach O'Keefe1-1/+1
2023-01-11mm/khugepaged: fix collapse_pte_mapped_thp() to allow anon_vmaHugh Dickins1-8/+6
2022-12-17Merge tag 'x86_mm_for_6.2_v2' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2022-12-15mm: Rename pmd_read_atomic()Peter Zijlstra1-1/+1
2022-12-11khugepage: replace lru_cache_add() with folio_add_lru()Vishal Moola (Oracle)1-4/+7
2022-12-11mm/khugepaged: add tracepoint to collapse_file()Gautam Menghani1-3/+4
2022-11-30khugepage: replace try_to_release_page() with filemap_release_folio()Vishal Moola (Oracle)1-11/+12
2022-11-30mm,thp,rmap: simplify compound page mapcount handlingHugh Dickins1-9/+2
2022-11-30mm: vmscan: split khugepaged stats from direct reclaim statsJohannes Weiner1-0/+5
2022-11-30mm/khugepaged: invoke MMU notifiers in shmem/file collapse pathsJann Horn1-0/+5
2022-11-30mm/khugepaged: fix GUP-fast interaction by sending IPIJann Horn1-0/+2
2022-11-30mm/khugepaged: take the right locks for page table retractionJann Horn1-4/+51
2022-11-22mm/khugepaged: refactor mm_khugepaged_scan_file tracepoint to remove filename...Gautam Menghani1-2/+1
2022-11-22mm: khugepaged: allow page allocation fallback to eligible nodesYang Shi1-18/+14
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-429/+739
2022-10-10Merge tag 'sched-core-2022-10-07' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+2
2022-10-03mm/khugepaged: add tracepoint to hpage_collapse_scan_file()Zach O'Keefe1-1/+2
2022-10-03mm/madvise: add file and shmem support to MADV_COLLAPSEZach O'Keefe1-57/+188
2022-10-03mm/khugepaged: attempt to map file/shmem-backed pte-mapped THPs by pmdsZach O'Keefe1-7/+62
2022-10-03mm/madvise: MADV_COLLAPSE return EAGAIN when page cannot be isolatedZach O'Keefe1-0/+2
2022-10-03mm/khugepaged: check compound_order() in collapse_pte_mapped_thp()Zach O'Keefe1-0/+3
2022-10-03khugepaged: call shmem_get_folio()Matthew Wilcox (Oracle)1-2/+5
2022-10-03mm: thp: convert to use common struct mm_slotQi Zheng1-71/+52
2022-09-26mm/khugepaged: stop using vma linked listMatthew Wilcox (Oracle)1-3/+6
2022-09-26mm/khugepaged: optimize collapse_pte_mapped_thp() by using vma_lookup()Liam R. Howlett1-1/+1
2022-09-26mm: MADV_COLLAPSE: refetch vm_end after reacquiring mmap_lockYang Shi1-0/+2
2022-09-26Merge branch 'mm-hotfixes-stable' into mm-stableAndrew Morton1-4/+6
2022-09-26mm: gup: fix the fast GUP race against THP collapseYang Shi1-4/+6
2022-09-11mm/khugepaged: rename prefix of shared collapse functionsZach O'Keefe1-33/+35
2022-09-11mm/madvise: introduce MADV_COLLAPSE sync hugepage collapseZach O'Keefe1-1/+118
2022-09-11mm/khugepaged: record SCAN_PMD_MAPPED when scan_pmd() finds hugepageZach O'Keefe1-12/+48
2022-09-11mm/thp: add flag to enforce sysfs THP in hugepage_vma_check()Zach O'Keefe1-11/+14
2022-09-11mm/khugepaged: add flag to predicate khugepaged-only behaviorZach O'Keefe1-25/+58
2022-09-11mm/khugepaged: propagate enum scan_result codes back to callersZach O'Keefe1-116/+117
2022-09-11mm/khugepaged: dedup and simplify hugepage alloc and chargingZach O'Keefe1-43/+35
2022-09-11mm/khugepaged: add struct collapse_controlZach O'Keefe1-37/+50
2022-09-11mm: khugepaged: don't carry huge page to the next loop for !CONFIG_NUMAYang Shi1-94/+26
2022-09-07freezer,sched: Rewrite core freezer logicPeter Zijlstra1-2/+2
2022-07-17mm: khugepaged: reorg some khugepaged helpersYang Shi1-7/+11
2022-07-17mm: thp: kill __transhuge_page_enabled()Yang Shi1-4/+4
2022-07-17mm: thp: kill transparent_hugepage_active()Yang Shi1-44/+4
2022-07-17mm: khugepaged: better comments for anon vma check in hugepage_vma_revalidateYang Shi1-1/+7
2022-07-17mm: thp: consolidate vma size check to transhuge_vma_suitableYang Shi1-13/+6
2022-07-17mm: khugepaged: check THP flag in hugepage_vma_check()Yang Shi1-0/+3
2022-07-17mm: handling Non-LRU pages returned by vm_normal_pagesAlex Sierra1-3/+6
2022-07-03mm/khugepaged: try to free transhuge swapcache when possibleMiaohe Lin1-1/+6
2022-07-03mm/khugepaged: remove unneeded return value of khugepaged_add_pte_mapped_thp()Miaohe Lin1-3/+2
2022-07-03mm/khugepaged: use helper macro __ATTR_RWMiaohe Lin1-37/+30
2022-07-03mm/khugepaged: minor cleanup for collapse_fileMiaohe Lin1-5/+5
2022-07-03mm/khugepaged: trivial typo and codestyle cleanupMiaohe Lin1-7/+7
2022-07-03mm/khugepaged: stop swapping in page when VM_FAULT_RETRY occursMiaohe Lin1-18/+14
2022-07-03mm/khugepaged: remove unneeded shmem_huge_enabled() checkMiaohe Lin1-2/+0
2022-05-19mm: khugepaged: introduce khugepaged_enter_vma() helperYang Shi1-3/+3
2022-05-19mm: khugepaged: make hugepage_vma_check() non-staticYang Shi1-16/+9
2022-05-19mm: khugepaged: make khugepaged_enter() void functionYang Shi1-11/+7
2022-05-19mm: thp: only regular file could be THP eligibleYang Shi1-7/+2
2022-05-19mm: khugepaged: skip DAX vmaYang Shi1-0/+4
2022-05-19mm: khugepaged: remove redundant check for VM_NO_KHUGEPAGEDYang Shi1-3/+6
2022-05-13mm/khugepaged: don't recycle vma pgtable if uffd-wp registeredPeter Xu1-1/+13
2022-05-09mm/rmap: drop "compound" parameter from page_add_new_anon_rmap()David Hildenbrand1-1/+1
2022-04-29mm/khugepaged: use vma_is_anonymousxu xin1-2/+2
2022-03-24mm/khugepaged: remove reuse_swap_page() usageDavid Hildenbrand1-11/+0
2022-03-21mm/rmap: Convert try_to_unmap() to take a folioMatthew Wilcox (Oracle)1-1/+2
2022-02-17mm/thp: collapse_file() do try_to_unmap(TTU_BATCH_FLUSH)Hugh Dickins1-2/+8
2022-02-17mm/munlock: rmap call mlock_vma_page() munlock_vma_page()Hugh Dickins1-2/+2
2022-02-04mm/page_table_check: check entries at pmd levelsPasha Tatashin1-0/+3
2022-02-04mm/khugepaged: unify collapse pmd clear, flush and freePasha Tatashin1-16/+18
2022-01-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-12/+11
2022-01-15mm: fix some comment errorsQuanfa Fu1-1/+1
2022-01-15mm/vmstat: add events for THP max_ptes_* exceedsYang Yang1-0/+7
2022-01-15mm: remove last argument of reuse_swap_page()Matthew Wilcox (Oracle)1-1/+1
2022-01-15mm: ptep_clear() page table helperPasha Tatashin1-10/+2
2022-01-08mm: Use multi-index entries in the page cacheMatthew Wilcox (Oracle)1-1/+11
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-2/+8
2021-11-06mm: khugepaged: recalculate min_free_kbytes after stopping khugepagedLiangcai Fan1-2/+8
2021-11-01Merge tag 'folio-5.16' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-4/+4
2021-10-28mm: khugepaged: skip huge page collapse for special filesYang Shi1-8/+11
2021-10-28mm, thp: bail out early in collapse_file for writeback pageRongwei Wang1-1/+6
2021-09-27mm/memcg: Convert mem_cgroup_uncharge() to take a folioMatthew Wilcox (Oracle)1-2/+2
2021-09-27mm/memcg: Convert mem_cgroup_charge() to take a folioMatthew Wilcox (Oracle)1-2/+2
2021-09-03huge tmpfs: SGP_NOALLOC to stop collapse_file() on raceHugh Dickins1-1/+1
2021-06-30mm, thp: relax the VM_DENYWRITE constraint on file-backed THPsCollin Fijalkovich1-1/+15
2021-06-30mm/huge_memory.c: add missing read-only THP checking in transparent_hugepage_...Miaohe Lin1-3/+1
2021-05-07mm: fix typos in commentsIngo Molnar1-1/+1
2021-05-05mm/vmscan: replace implicit RECLAIM_ZONE checks with explicit checksDave Hansen1-1/+1
2021-05-05khugepaged: remove meaningless !pte_present() check in khugepaged_scan_pmd()Miaohe Lin1-4/+0
2021-05-05khugepaged: remove unnecessary out label in collapse_huge_page()Miaohe Lin1-5/+3
2021-05-05khugepaged: use helper function range_in_vma() in collapse_pte_mapped_thp()Miaohe Lin1-1/+1
2021-05-05mm/khugepaged.c: replace barrier() with READ_ONCE() for a selective variableYanfei Xu1-3/+1
2021-05-05khugepaged: fix wrong result value for trace_mm_collapse_huge_page_isolate()Miaohe Lin1-9/+9
2021-05-05khugepaged: use helper khugepaged_test_exit() in __khugepaged_enter()Miaohe Lin1-1/+1
2021-05-05khugepaged: reuse the smp_wmb() inside __SetPageUptodate()Miaohe Lin1-7/+6
2021-05-05khugepaged: remove unneeded return value of khugepaged_collapse_pte_mapped_th...Miaohe Lin1-6/+4
2021-02-26mm,thp,shmem: make khugepaged obey tmpfs mount flagsRik van Riel1-6/+16
2021-02-24mm: memcontrol: convert NR_SHMEM_THPS account to pagesMuchun Song1-1/+1
2021-02-24mm: memcontrol: convert NR_FILE_THPS account to pagesMuchun Song1-1/+3
2021-01-21mm: Avoid modifying vmf.address in __collapse_huge_page_swapin()Will Deacon1-18/+17
2020-12-15mm: fix some spelling mistakes in commentsHaitao Shi1-1/+1
2020-12-15mm: cleanup kstrto*() usageAlexey Dobriyan1-9/+9
2020-12-15mm: use sysfs_emit for struct kobject * usesJoe Perches1-11/+11
2020-12-15khugepaged: add parameter explanations for kernel-doc markupAlex Shi1-1/+13
2020-12-15mm: memcontrol: add file_thp, shmem_thp to memory.statJohannes Weiner1-2/+2
2020-10-16mm: remove the now-unnecessary mmget_still_valid() hackJann Horn1-1/+1
2020-10-11mm: khugepaged: recalculate min_free_kbytes after memory hotplug as expected ...Vijay Balakrishna1-2/+11
2020-10-10mm/khugepaged: fix filemap page_to_pgoff(page) != offsetHugh Dickins1-0/+12
2020-09-05mm/khugepaged.c: fix khugepaged's request size in collapse_fileDavid Howells1-1/+1
2020-08-21khugepaged: adjust VM_BUG_ON_MM() in __khugepaged_enter()Hugh Dickins1-1/+1
2020-08-12mm/vmscan: protect the workingset on anonymous LRUJoonsoo Kim1-1/+1
2020-08-07khugepaged: khugepaged_test_exit() check mmget_still_valid()Hugh Dickins1-4/+1
2020-08-07khugepaged: retract_page_tables() remember to test exitHugh Dickins1-10/+14
2020-08-07khugepaged: collapse_pte_mapped_thp() protect the pmd lockHugh Dickins1-25/+19
2020-08-07khugepaged: collapse_pte_mapped_thp() flush the right rangeHugh Dickins1-1/+1
2020-07-24khugepaged: fix null-pointer dereference due to raceKirill A. Shutemov1-0/+3
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-17/+17
2020-06-09mmap locking API: convert mmap_sem API commentsMichel Lespinasse1-1/+1
2020-06-09mmap locking API: use coccinelle to convert mmap_sem rwsem call sitesMichel Lespinasse1-18/+18
2020-06-03mm: fold and remove lru_cache_add_anon() and lru_cache_add_file()Johannes Weiner1-6/+2
2020-06-03mm: memcontrol: delete unused lrucare handlingJohannes Weiner1-2/+2
2020-06-03mm: memcontrol: convert anon and file-thp to new mem_cgroup_charge() APIJohannes Weiner1-25/+10
2020-06-03mm: memcontrol: switch to native NR_ANON_MAPPED counterJohannes Weiner1-1/+1
2020-06-03mm: memcontrol: switch to native NR_FILE_PAGES and NR_SHMEM countersJohannes Weiner1-5/+11
2020-06-03mm: memcontrol: drop @compound parameter from memcg charging APIJohannes Weiner1-10/+10
2020-06-03khugepaged: introduce 'max_ptes_shared' tunableKirill A. Shutemov1-4/+48
2020-06-03khugepaged: allow to collapse PTE-mapped compound pagesKirill A. Shutemov1-34/+65
2020-06-03khugepaged: allow to collapse a page shared across forkKirill A. Shutemov1-9/+37
2020-06-03khugepaged: drain LRU add pagevec after swapinKirill A. Shutemov1-0/+5
2020-06-03khugepaged: drain all LRU caches before scanning pagesKirill A. Shutemov1-0/+2
2020-06-03khugepaged: do not stop collapse if less than half PTEs are referencedKirill A. Shutemov1-16/+11
2020-05-28mm,thp: stop leaking unreleased file pagesHugh Dickins1-0/+1
2020-04-07khugepaged: skip collapse if uffd-wp detectedPeter Xu1-0/+23
2020-04-07mm: code cleanup for MADV_FREEHuang Ying1-2/+2
2020-04-07mm: remove CONFIG_TRANSPARENT_HUGE_PAGECACHEMatthew Wilcox (Oracle)1-8/+4
2020-04-02mm/vma: make is_vma_temporary_stack() available for general useAnshuman Khandual1-1/+1
2020-04-02mm/vma: move VM_NO_KHUGEPAGED into generic headerAnshuman Khandual1-2/+0
2019-12-01mm/thp: flush file for !is_shmem PageDirty() case in collapse_file()Song Liu1-0/+18
2019-11-15mm,thp: recheck each page before collapsing file THPSong Liu1-12/+16
2019-11-06mm/khugepaged: fix might_sleep() warn with CONFIG_HIGHPTE=yVille Syrjälä1-3/+4
2019-09-24khugepaged: enable collapse pmd for pte-mapped THPSong Liu1-4/+188
2019-09-24mm,thp: avoid writes to file with THP in pagecacheSong Liu1-1/+3
2019-09-24mm,thp: add read-only THP support for (non-shmem) FSSong Liu1-42/+107
2019-09-24khugepaged: rename collapse_shmem() and khugepaged_scan_shmem()Song Liu1-12/+11
2019-09-24mm: page cache: store only head pages in i_pagesMatthew Wilcox (Oracle)1-2/+2
2019-09-03sched/topology: Improve load balancing on AMD EPYC systemsMatt Fleming1-1/+1
2019-07-05Revert "mm: page cache: store only head pages in i_pages"Linus Torvalds1-2/+2
2019-06-13coredump: fix race condition between collapse_huge_page() and core dumpingAndrea Arcangeli1-0/+3
2019-05-14mm/mmu_notifier: use correct mmu_notifier events for each invalidationJérôme Glisse1-1/+1
2019-05-14mm/mmu_notifier: contextual information for event triggering invalidationJérôme Glisse1-1/+2
2019-05-14mm: page cache: store only head pages in i_pagesMatthew Wilcox1-2/+2
2019-03-05mm: memcontrol: expose THP events on a per-memcg basisChris Down1-0/+2
2018-12-28mm/mmu_notifier: use structure for invalidate_range_start/end calls v2Jérôme Glisse1-6/+4
2018-12-04Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/pau...Ingo Molnar1-2/+2
2018-11-30mm/khugepaged: fix the xas_create_range() error pathHugh Dickins1-11/+14
2018-11-30mm/khugepaged: collapse_shmem() do not crash on CompoundHugh Dickins1-1/+9
2018-11-30mm/khugepaged: collapse_shmem() without freezing new_pageHugh Dickins1-12/+7
2018-11-30mm/khugepaged: minor reorderings in collapse_shmem()Hugh Dickins1-40/+32
2018-11-30mm/khugepaged: collapse_shmem() remember to clear holesHugh Dickins1-0/+10
2018-11-30mm/khugepaged: fix crashes due to misaccounted holesHugh Dickins1-1/+4
2018-11-30mm/khugepaged: collapse_shmem() stop if punched or truncatedHugh Dickins1-0/+11
2018-11-12mm: Replace spin_is_locked() with lockdepLance Roy1-2/+2
2018-10-21mm: Convert khugepaged_scan_shmem to XArrayMatthew Wilcox1-12/+5
2018-10-21mm: Convert collapse_shmem to XArrayMatthew Wilcox1-93/+66
2018-09-29xarray: Replace exceptional entriesMatthew Wilcox1-1/+1
2018-08-23mm: Change return type int to vm_fault_t for fault handlersSouptick Joarder1-1/+2
2018-08-17mm: thp: pass correct vm_flags to hugepage_vma_check()Song Liu1-7/+8
2018-08-17mm: thp: inc counter for collapsed shmem THPYang Shi1-0/+2
2018-08-17mm: thp: register mm for khugepaged when merging vma for shmemYang Shi1-27/+26
2018-04-11page cache: use xa_lockMatthew Wilcox1-26/+23
2018-04-11mm/thp: don't count ZONE_MOVABLE as the target for freepage reservingJoonsoo Kim1-1/+9
2018-04-11memcg, thp: do not invoke oom killer on thp chargesMichal Hocko1-6/+2
2018-03-22mm, thp: do not cause memcg oom for thpDavid Rientjes1-2/+6
2018-03-22mm/khugepaged.c: convert VM_BUG_ON() to collapse failKirill A. Shutemov1-1/+6
2018-01-31mm: thp: use down_read_trylock() in khugepaged to avoid long blockYang Shi1-4/+8
2018-01-31mm: add unmap_mapping_pages()Matthew Wilcox1-2/+1
2017-11-29Revert "mm, thp: Do not make pmd/pud dirty without a reason"Linus Torvalds1-1/+1
2017-11-27mm, thp: Do not make pmd/pud dirty without a reasonKirill A. Shutemov1-1/+1
2017-11-15mm: introduce wrappers to access mm->nr_ptesKirill A. Shutemov1-1/+1