aboutsummaryrefslogtreecommitdiffstats
path: root/mm/khugepaged.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-04mm: convert free_swap_cache() to take a folioMatthew Wilcox (Oracle)1-1/+1
2024-03-04mm: use a folio in __collapse_huge_page_copy_succeeded()Matthew Wilcox (Oracle)1-16/+14
2024-03-04mm/khugepaged: keep mm in mm_slot without MMF_DISABLE_THP checkLance Yang1-3/+3
2024-02-23mm/khugepaged: bypassing unnecessary scans with MMF_DISABLE_THP checkLance Yang1-6/+12
2024-02-21mm: convert mm_counter_file() to take a folioKefeng Wang1-2/+2
2024-01-10Merge tag 'header_cleanup-2024-01-10' of https://evilpiepirate.org/git/bcachefsLinus Torvalds1-0/+1
2024-01-05mm/khugepaged: use a folio more in collapse_file()Matthew Wilcox (Oracle)1-8/+8
2023-12-29mm/khugepaged: page_remove_rmap() -> folio_remove_rmap_pte()David Hildenbrand1-10/+7
2023-12-29mm/khugepaged: remove redundant try_to_freeze()Kevin Hao1-1/+1
2023-12-29mm: convert collapse_huge_page() to use a folioMatthew Wilcox (Oracle)1-7/+8
2023-12-29userfaultfd: UFFDIO_MOVE uABIAndrea Arcangeli1-0/+3
2023-12-27Kill sched.h dependency on rcupdate.hKent Overstreet1-0/+1
2023-12-20mm: thp: introduce multi-size THP sysfs interfaceRyan Roberts1-8/+12
2023-11-02Merge tag 'mm-nonmm-stable-2023-11-02-14-08' of git://git.kernel.org/pub/scm/...Linus Torvalds1-1/+1
2023-10-25mm/khugepaged: convert collapse_pte_mapped_thp() to use foliosVishal Moola (Oracle)1-25/+20
2023-10-25mm/khugepaged: convert alloc_charge_hpage() to use foliosVishal Moola (Oracle)1-7/+10
2023-10-25mm/khugepaged: convert is_refcount_suitable() to use foliosVishal Moola (Oracle)1-7/+7
2023-10-25mm/khugepaged: convert hpage_collapse_scan_pmd() to use foliosVishal Moola (Oracle)1-10/+10
2023-10-25mm/khugepaged: convert __collapse_huge_page_isolate() to use foliosVishal Moola (Oracle)1-22/+23
2023-10-18treewide: mark stuff as __ro_after_initAlexey Dobriyan1-1/+1
2023-08-29Merge tag 'mm-stable-2023-08-28-18-26' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-312/+186
2023-08-24mm/khugepaged: fix collapse_pte_mapped_thp() versus uffdHugh Dickins1-9/+29
2023-08-21mm: convert prep_transhuge_page() to folio_prep_large_rmappable()Matthew Wilcox (Oracle)1-1/+1
2023-08-18mm/khugepaged: delete khugepaged_collapse_pte_mapped_thps()Hugh Dickins1-110/+15
2023-08-18mm/khugepaged: collapse_pte_mapped_thp() with mmap_read_lock()Hugh Dickins1-94/+76
2023-08-18mm/khugepaged: retract_page_tables() without mmap or vma lockHugh Dickins1-103/+69
2023-08-18mm: merge folio_has_private()/filemap_release_folio() call pairsDavid Howells1-2/+1
2023-08-18ksm: add ksm zero pages for each processxu xin1-1/+1
2023-08-18ksm: count all zero pages placed by KSMxu xin1-0/+2
2023-08-09shmem: fix quota lock nesting in huge hole handlingHugh Dickins1-6/+7
2023-06-29mm/khugepaged: fix regression in collapse_file()Hugh Dickins1-4/+3
2023-06-23mm: remove references to pagevecMatthew Wilcox (Oracle)1-3/+3
2023-06-23Merge mm-hotfixes-stable into mm-stable to pick up depended-upon changes.Andrew Morton1-1/+0
2023-06-19mm/khugepaged: use DEFINE_READ_MOSTLY_HASHTABLE macroNick Desaulniers1-1/+1
2023-06-19mm: ptep_get() conversionRyan Roberts1-10/+12
2023-06-19mm/pgtable: delete pmd_trans_unstable() and friendsHugh Dickins1-4/+0
2023-06-19mm/memory: handle_pte_fault() use pte_offset_map_nolock()Hugh Dickins1-2/+4
2023-06-19mm/khugepaged: allow pte_offset_map[_lock]() to failHugh Dickins1-23/+49
2023-06-19mm: use pmdp_get_lockless() without surplus barrier()Hugh Dickins1-5/+0
2023-06-19mm/khugepaged: fix iteration in collapse_fileDavid Stevens1-1/+0
2023-06-09mm: khugepaged: avoid pointless allocation for "struct mm_slot"Xin Hao1-7/+5
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-19/+18
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