aboutsummaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
AgeCommit message (Expand)AuthorFilesLines
2025-05-25mm: fix copy_vma() error handling for hugetlb mappingsRicardo Cañuelo Navarro1-1/+15
2025-05-25mm/hugetlb: fix kernel NULL pointer dereference when replacing free hugetlb f...Ge Yang1-0/+8
2025-05-11mm: hugetlb: fix incorrect fallback for subpoolWupeng Ma1-6/+22
2025-05-07mm/hugetlb: copy the CMA flag when demotingFrank van der Linden1-0/+6
2025-04-11mm/hugetlb: add a line break at the end of the format stringwangxuewen1-1/+1
2025-04-11mm/hugetlb: fix set_max_huge_pages() when there are surplus pagesJinjiang Tu1-1/+18
2025-04-11mm/hugetlb: fix nid mismatch in alloc_surplus_hugetlb_folio()Liu Shixin1-1/+1
2025-04-01mm/hugetlb: move hugetlb_sysctl_init() to the __init sectionMarc Herbert1-1/+1
2025-03-21mm/mm_init: rename __init_reserved_page_zone to __init_page_from_nidMike Rapoport (Microsoft)1-1/+1
2025-03-17mm/hugetlb: update nr_huge_pages and surplus_huge_pages togetherLiu Shixin1-1/+10
2025-03-17mm: move hugetlb specific things in folio to page[3]David Hildenbrand1-1/+0
2025-03-17mm: hugetlb: log time needed to allocate hugepagesThomas Prescher1-0/+10
2025-03-17mm: hugetlb: add hugetlb_alloc_threads cmdline optionThomas Prescher1-4/+29
2025-03-17mm: hugetlb: improve parallel huge page allocation timeThomas Prescher1-16/+18
2025-03-16mm/hugetlb: move hugetlb CMA code in to its own fileFrank van der Linden1-252/+17
2025-03-16mm/hugetlb: enable bootmem allocation from CMA areasFrank van der Linden1-39/+129
2025-03-16mm/hugetlb: add hugetlb_cma_only cmdline optionFrank van der Linden1-0/+14
2025-03-16mm/hugetlb: do pre-HVO for bootmem allocated pagesFrank van der Linden1-3/+14
2025-03-16mm/hugetlb: add pre-HVO frameworkFrank van der Linden1-1/+23
2025-03-16mm/hugetlb: move huge_boot_pages list init to hugetlb_bootmem_allocFrank van der Linden1-12/+7
2025-03-16mm/hugetlb: deal with multiple calls to hugetlb_bootmem_allocFrank van der Linden1-0/+12
2025-03-16mm/hugetlb: check bootmem pages for zone intersectionsFrank van der Linden1-2/+59
2025-03-16mm/hugetlb: set migratetype for bootmem foliosFrank van der Linden1-0/+21
2025-03-16mm/hugetlb: convert cmdline parameters from setup to earlyFrank van der Linden1-28/+105
2025-03-16mm/hugetlb: use online nodes for bootmem allocationFrank van der Linden1-3/+3
2025-03-16mm/hugetlb: remove redundant __ClearPageReservedFrank van der Linden1-1/+0
2025-03-16mm, hugetlb: use cma_declare_contiguous_multiFrank van der Linden1-3/+2
2025-03-16mm/hugetlb: fix surplus pages in dissolve_free_huge_page()Jinjiang Tu1-2/+6
2025-03-08Merge tag 'mm-hotfixes-stable-2025-03-08-16-27' of git://git.kernel.org/pub/s...Linus Torvalds1-0/+8
2025-03-05mm/hugetlb: wait for hugetlb folios to be freedGe Yang1-0/+8
2025-03-01Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm6...Linus Torvalds1-2/+2
2025-02-27mm: hugetlb: Add huge page size param to huge_ptep_get_and_clear()Ryan Roberts1-2/+2
2025-02-17mm: hugetlb: avoid fallback for specific node allocation of 1G pagesLuiz Capitulino1-1/+1
2025-02-01mm/hugetlb: fix hugepage allocation for interleaved memory nodesRitesh Harjani (IBM)1-1/+1
2025-01-28treewide: const qualify ctl_tables where applicableJoel Granados1-1/+1
2025-01-25mm/hugetlb: use folio->lru int demote_free_hugetlb_folios()David Hildenbrand1-3/+5
2025-01-25mm/hugetlb: rename folio_putback_active_hugetlb() to folio_putback_hugetlb()David Hildenbrand1-2/+13
2025-01-25mm/migrate: don't call folio_putback_active_hugetlb() on dst hugetlb folioDavid Hildenbrand1-0/+10
2025-01-25mm/hugetlb: rename isolate_hugetlb() to folio_isolate_hugetlb()David Hildenbrand1-3/+20
2025-01-25mm/hugetlb: unify restore reserve accounting for new allocationsPeter Xu1-9/+9
2025-01-25mm/hugetlb: drop vma_has_reserves()Peter Xu1-17/+6
2025-01-25mm/hugetlb: simplify vma_has_reserves()Peter Xu1-60/+7
2025-01-25mm/hugetlb: clean up map/global resv accounting when allocatePeter Xu1-33/+77
2025-01-25mm/hugetlb: rename avoid_reserve to cow_from_ownerPeter Xu1-13/+20
2025-01-25mm/hugetlb: stop using avoid_reserve flag in fork()Peter Xu1-1/+1
2025-01-25mm/hugetlb: fix avoid_reserve to allow taking folio from subpoolPeter Xu1-19/+3
2025-01-25mm: replace free hugepage folios after migrationyangge1-0/+42
2025-01-13memcg/hugetlb: introduce mem_cgroup_charge_hugetlbJoshua Hahn1-21/+14
2025-01-13mm/hugetlb: support FOLL_FORCE|FOLL_WRITEGuillaume Morin1-8/+9
2025-01-13mm/hugetlb: don't map folios writable without VM_WRITE when copying during fo...David Hildenbrand1-12/+6
2025-01-13hugetlb: prioritize surplus allocation from current nodeKoichiro Den1-3/+17
2025-01-12mm: clear uffd-wp PTE/PMD state on mremap()Ryan Roberts1-1/+13
2024-12-30mm: hugetlb: independent PMD page table shared countLiu Shixin1-9/+7
2024-12-18mm: use aligned address in copy_user_gigantic_page()Kefeng Wang1-3/+2
2024-11-14memcg/hugetlb: add hugeTLB counters to memcgJoshua Hahn1-0/+2
2024-11-11mm: add PTE_MARKER_GUARD PTE markerLorenzo Stoakes1-0/+4
2024-11-06mm/hugetlb: perform vmemmap optimization batchly for specific node allocationsuhua1-3/+8
2024-09-26mm/hugetlb: fix memfd_pin_folios resv_huge_pages leakSteve Sistare1-0/+17
2024-09-21Merge tag 'mm-stable-2024-09-20-02-31' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-298/+144
2024-09-17mm/hugetlb.c: fix UAF of vma in hugetlb fault pathwayVishal Moola (Oracle)1-2/+18
2024-09-09mm/codetag: fix pgalloc_tag_split()Yu Zhao1-1/+1
2024-09-09mm/hugetlb: sort out global lock annotationsMateusz Guzik1-3/+3
2024-09-03mm/hugetlb: use __GFP_COMP for gigantic foliosYu Zhao1-234/+56
2024-09-01mm/hugetlb_vmemmap: batch HVO work when demotingYu Zhao1-64/+92
2024-09-01mm/hugetlb: enforce that PMD PT sharing has split PMD PT locksDavid Hildenbrand1-4/+4
2024-09-01mm: hugetlb: remove left over comment about follow_huge_foo()Kefeng Wang1-4/+0
2024-07-24sysctl: treewide: constify the ctl_table argument of proc_handlersJoel Granados1-3/+3
2024-07-21Merge tag 'mm-stable-2024-07-21-14-50' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-63/+71
2024-07-17mm/hugetlb: fix kernel NULL pointer dereference when migrating hugetlb folioMiaohe Lin1-0/+3
2024-07-17mm/hugetlb: fix possible recursive locking detected warningMiaohe Lin1-1/+1
2024-07-12mm: provide mm_struct and address to huge_ptep_get()Christophe Leroy1-22/+22
2024-07-12mm/hugetlb.c: undo errant changeAndrew Morton1-0/+1
2024-07-09mm/hugetlb: fix kernel NULL pointer dereference when migrating hugetlb folioMiaohe Lin1-0/+3
2024-07-09mm/hugetlb: fix potential race in __update_and_free_hugetlb_folio()Miaohe Lin1-7/+7
2024-07-06Merge branch 'mm-hotfixes-stable' into mm-stable to pick up "mm: fixAndrew Morton1-46/+7
2024-07-04mm/ksm: refactor out try_to_merge_with_zero_page()Chengming Zhou1-1/+0
2024-07-04hugetlb: force allocating surplus hugepages on mempolicy allowed nodesAristeu Rozanski1-19/+28
2024-07-03mm/hugetlb_vmemmap: fix race with speculative PFN walkersYu Zhao1-46/+7
2024-07-03mm: memory: improve copy_user_large_folio()Kefeng Wang1-10/+8
2024-07-03mm: memory: convert clear_huge_page() to folio_zero_user()Kefeng Wang1-2/+1
2024-07-03mm/hugetlb: guard dequeue_hugetlb_folio_nodemask against NUMA_NO_NODE usesOscar Salvador1-0/+4
2024-07-03mm/hugetlb: drop node_alloc_noretry from alloc_fresh_hugetlb_folioOscar Salvador1-7/+5
2024-07-03mm/hugetlb: constify ctl_table arguments of utility functionsThomas Weißschuh1-2/+2
2024-06-05mm/hugetlb: do not call vma_add_reservation upon ENOMEMOscar Salvador1-2/+14
2024-05-11mm/hugetlb: add missing VM_FAULT_SET_HINDEX in hugetlb_wpOscar Salvador1-1/+1
2024-05-11mm/hugetlb: add missing VM_FAULT_SET_HINDEX in hugetlb_faultOscar Salvador1-1/+2
2024-05-07mm/hugetlb: align cma on allocation order, not demotion orderFrank van der Linden1-1/+1
2024-05-07mm/hugetlb: document why hugetlb uses folio_mapcount() for COW reuse decisionsDavid Hildenbrand1-0/+7
2024-05-05mm: convert hugetlb_page_mapping_lock_write to folioMatthew Wilcox (Oracle)1-3/+3
2024-05-05mm/hugetlb: rename dissolve_free_huge_pages() to dissolve_free_hugetlb_folios()Sidhartha Kumar1-1/+1
2024-05-05mm/hugetlb: convert dissolve_free_huge_pages() to foliosSidhartha Kumar1-9/+8
2024-05-05mm: track mapcount of large folios in single valueDavid Hildenbrand1-2/+2
2024-04-25mm/hugetlb: pass correct order_per_bit to cma_declare_contiguous_nidFrank van der Linden1-3/+3
2024-04-25hugetlb: convert hugetlb_wp() to use struct vm_faultVishal Moola (Oracle)1-32/+32
2024-04-25hugetlb: convert hugetlb_no_page() to use struct vm_faultVishal Moola (Oracle)1-32/+31
2024-04-25hugetlb: convert hugetlb_fault() to use struct vm_faultVishal Moola (Oracle)1-43/+41
2024-04-25hugetlb: convert alloc_buddy_hugetlb_folio to use a folioMatthew Wilcox (Oracle)1-17/+16
2024-04-25memory: remove the now superfluous sentinel element from ctl_table arrayJoel Granados1-1/+0
2024-04-25mm/gup: handle hugetlb in the generic follow_page_mask codePeter Xu1-71/+0
2024-04-25mm/hugetlb: declare hugetlbfs_pagecache_present() non-staticPeter Xu1-2/+2
2024-04-25mm: convert arch_clear_hugepage_flags to take a folioMatthew Wilcox (Oracle)1-2/+2
2024-04-25mm: hugetlb: make the hugetlb migration strategy consistentBaolin Wang1-2/+12
2024-04-25hugetlb: remove mention of destructorsMatthew Wilcox (Oracle)1-24/+16
2024-04-25mm: always initialise folio->_deferred_listMatthew Wilcox (Oracle)1-1/+2
2024-04-25mm/hugetlb: fix DEBUG_LOCKS_WARN_ON(1) when dissolve_free_hugetlb_folio()Miaohe Lin1-1/+1
2024-04-24hugetlb: check for anon_vma prior to folio allocationVishal Moola (Oracle)1-4/+7
2024-04-24mm: turn folio_test_hugetlb into a PageTypeMatthew Wilcox (Oracle)1-19/+3
2024-04-24mm/hugetlb: fix missing hugetlb_lock for resv unchargePeter Xu1-1/+4
2024-04-16mm/userfaultfd: allow hugetlb change protection upon poison entryPeter Xu1-3/+7
2024-03-12mm: add an explicit smp_wmb() to UFFDIO_CONTINUEJames Houghton1-4/+13
2024-03-06mm: constify more page/folio testsMatthew Wilcox (Oracle)1-2/+2
2024-03-06hugetlb: parallelize 1G hugetlb initializationGang Li1-8/+43
2024-03-06hugetlb: parallelize 2M hugetlb allocation and initializationGang Li1-17/+56
2024-03-06hugetlb: pass *next_nid_to_alloc directly to for_each_node_mask_to_allocGang Li1-10/+12
2024-03-06hugetlb: split hugetlb_hstate_alloc_pagesGang Li1-44/+43
2024-03-06hugetlb: code clean for hugetlb_hstate_alloc_pagesGang Li1-17/+29
2024-03-04hugetlb: allow faults to be handled under the VMA lockVishal Moola (Oracle)1-6/+0
2024-03-04hugetlb: use vmf_anon_prepare() instead of anon_vma_prepare()Vishal Moola (Oracle)1-9/+9
2024-03-04hugetlb: pass struct vm_fault through to hugetlb_handle_userfault()Vishal Moola (Oracle)1-29/+9
2024-03-04hugetlb: move vm_fault declaration to the top of hugetlb_fault()Vishal Moola (Oracle)1-13/+19
2024-02-22mm/hugetlb: move page order check inside hugetlb_cma_reserve()Anshuman Khandual1-0/+7
2024-02-22mm: hugetlb: improve the handling of hugetlb allocation failure for freed or ...Baolin Wang1-16/+16
2024-02-22mm/hugetlb: restore the reservation if neededBreno Leitao1-0/+25
2024-01-09Merge tag 'mm-stable-2024-01-08-15-31' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-13/+12
2024-01-08mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDERKirill A. Shutemov1-2/+2
2024-01-08Merge tag 'vfs-6.8.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs...Linus Torvalds1-1/+1
2023-12-29mm/rmap: introduce and use hugetlb_try_dup_anon_rmap()David Hildenbrand1-2/+1
2023-12-29mm/rmap: introduce and use hugetlb_add_file_rmap()David Hildenbrand1-3/+3
2023-12-29mm/rmap: introduce and use hugetlb_remove_rmap()David Hildenbrand1-2/+2
2023-12-29mm/rmap: rename hugepage_add* to hugetlb_add*David Hildenbrand1-4/+4
2023-12-06hugetlb: fix null-ptr-deref in hugetlb_vma_lock_writeMike Kravetz1-0/+7
2023-11-21fs: Rename mapping private membersMatthew Wilcox (Oracle)1-1/+1
2023-10-25mempolicy: mmap_lock is not needed while migrating foliosHugh Dickins1-18/+20
2023-10-25hugetlb_vmemmap: use folio argument for hugetlb_vmemmap_* functionsUsama Arif1-7/+7
2023-10-25hugetlb: perform vmemmap restoration on a list of pagesMike Kravetz1-28/+71
2023-10-25hugetlb: perform vmemmap optimization on a list of pagesMike Kravetz1-8/+35
2023-10-25hugetlb: restructure pool allocationsMike Kravetz1-39/+141
2023-10-25hugetlb: optimize update_and_free_pages_bulk to avoid lock cyclesMike Kravetz1-0/+39
2023-10-18hugetlb: memcg: account hugetlb-backed memory in memory controllerNhat Pham1-7/+28
2023-10-18mm, hugetlb: remove HUGETLB_CGROUP_MIN_ORDERFrank van der Linden1-1/+1
2023-10-18mm/rmap: convert page_move_anon_rmap() to folio_move_anon_rmap()David Hildenbrand1-1/+1
2023-10-18mm/rmap: move SetPageAnonExclusive() out of page_move_anon_rmap()David Hildenbrand1-1/+3
2023-10-18fs/proc/task_mmu: implement IOCTL to get and optionally clear info about PTEsMuhammad Usama Anjum1-2/+3
2023-10-18userfaultfd: UFFD_FEATURE_WP_ASYNCPeter Xu1-13/+19
2023-10-18hugetlb: check for hugetlb folio before vmemmap_restoreMike Kravetz1-9/+15
2023-10-18Merge mm-hotfixes-stable into mm-stable to pick up depended-upon changes.Andrew Morton1-19/+63
2023-10-18hugetlbfs: close race between MADV_DONTNEED and page faultRik van Riel1-12/+22
2023-10-18hugetlbfs: extend hugetlb_vma_lock to private VMAsRik van Riel1-4/+37
2023-10-18hugetlbfs: clear resv_map pointer if mmap failsRik van Riel1-3/+4
2023-10-16mm/hugetlb: replace page_ref_freeze() with folio_ref_freeze() in hugetlb_foli...Sidhartha Kumar1-1/+1
2023-10-16mm/filemap: remove hugetlb special casing in filemap.cSidhartha Kumar1-26/+6
2023-10-04hugetlb: convert remove_pool_huge_page() to remove_pool_hugetlb_folio()Matthew Wilcox (Oracle)1-14/+15
2023-10-04hugetlb: remove a few calls to page_folio()Matthew Wilcox (Oracle)1-15/+11
2023-10-04hugetlb: use a folio in free_hpage_workfn()Matthew Wilcox (Oracle)1-6/+6
2023-10-04mm: hugetlb: skip initialization of gigantic tail struct pages if freed by HVOUsama Arif1-9/+59
2023-10-04mm/hugetlb: use nth_page() in place of direct struct page manipulationZi Yan1-1/+1
2023-10-04mm/hugetlb: fix nodes huge page allocation when there are surplus pagesXueshi Hu1-1/+3
2023-10-04hugetlb: set hugetlb page flag before optimizing vmemmapMike Kravetz1-9/+22
2023-09-29mm: hugetlb: add huge page size param to set_huge_pte_at()Ryan Roberts1-19/+24
2023-08-24hugetlb: add documentation for vma_kernel_pagesize()Matthew Wilcox (Oracle)1-3/+8
2023-08-24hugetlb: clear flags in tail pages that will be freed individuallyMike Kravetz1-10/+1
2023-08-21mm: remove HUGETLB_PAGE_DTORMatthew Wilcox (Oracle)1-43/+6
2023-08-21mm: convert free_huge_page() to free_huge_folio()Matthew Wilcox (Oracle)1-25/+23
2023-08-21merge mm-hotfixes-stable into mm-stable to pick up depended-upon changesAndrew Morton1-24/+51
2023-08-21mm: replace mmap with vma write lock assertions when operating on a vmaSuren Baghdasaryan1-1/+1
2023-08-21mm/hugetlb.c: use helper macro K()ZhangPeng1-1/+1
2023-08-21mm: hugetlb: use flush_hugetlb_tlb_range() in move_hugetlb_page_tables()Kefeng Wang1-2/+2
2023-08-18mm: move FAULT_FLAG_VMA_LOCK check from handle_mm_fault()Matthew Wilcox (Oracle)1-0/+6
2023-08-18mmu_notifiers: rename invalidate_range notifierAlistair Popple1-3/+4
2023-08-18mmu_notifiers: don't invalidate secondary TLBs as part of mmu_notifier_invali...Alistair Popple1-1/+0
2023-08-18mm/hugetlb: get rid of page_hstate()Sidhartha Kumar1-3/+3
2023-08-18mm: userfaultfd: support UFFDIO_POISON for hugetlbfsAxel Rasmussen1-0/+19
2023-08-18mm: make PTE_MARKER_SWAPIN_ERROR more generalAxel Rasmussen1-11/+21
2023-08-18mm/gup: retire follow_hugetlb_page()Peter Xu1-224/+0
2023-08-18mm/hugetlb: add page_mask for hugetlb_follow_page_mask()Peter Xu1-1/+4
2023-08-18mm/hugetlb: prepare hugetlb_follow_page_mask() for FOLL_PINPeter Xu1-11/+22
2023-08-18mm/hugetlb: handle FOLL_DUMP well in follow_page_mask()Peter Xu1-0/+9
2023-08-04hugetlb: do not clear hugetlb dtor until allocating vmemmapMike Kravetz1-24/+51
2023-07-08mm/hugetlb.c: fix a bug within a BUG(): inconsistent pte comparisonJohn Hubbard1-1/+6
2023-06-23hugetlb: revert use of page_cache_next_miss()Mike Kravetz1-6/+6
2023-06-19mm: ptep_get() conversionRyan Roberts1-1/+1
2023-06-19mm/hugetlb: fix pgtable lock on pmd sharingPeter Xu1-3/+2
2023-06-19mm/folio: avoid special handling for order value 0 in folio_set_orderTarun Sahu1-6/+3
2023-06-19mm/hugetlb: use a folio in hugetlb_fault()ZhangPeng1-10/+10
2023-06-19mm/hugetlb: use a folio in hugetlb_wp()ZhangPeng1-16/+16
2023-06-19mm/hugetlb: use a folio in copy_hugetlb_page_range()ZhangPeng1-11/+11
2023-06-09mm/gup: remove vmas array from internal GUP functionsLorenzo Stoakes1-14/+10
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-56/+80
2023-04-27Merge tag 'sysctl-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-3/+48
2023-04-21mm/hugetlb: fix uffd-wp bit lost when unsharing happensPeter Xu1-2/+5
2023-04-21mm/hugetlb: fix uffd-wp during fork()Peter Xu1-9/+15
2023-04-18mm: hwpoison: support recovery from HugePage copy-on-write faultsLiu Shixin1-3/+14
2023-04-18mm: convert copy_user_huge_page() to copy_user_large_folio()ZhangPeng1-6/+5
2023-04-18userfaultfd: convert mfill_atomic_hugetlb() to use a folioZhangPeng1-13/+13
2023-04-18userfaultfd: convert copy_huge_page_from_user() to copy_folio_from_user()ZhangPeng1-3/+2
2023-04-18hugetlb: remove PageHeadHuge()Matthew Wilcox (Oracle)1-7/+11
2023-04-16sync mm-stable with mm-hotfixes-stable to pick up depended-upon upstream changesAndrew Morton1-2/+12
2023-04-05mm: userfaultfd: combine 'mode' and 'wp_copy' argumentsAxel Rasmussen1-6/+6
2023-04-05mm: userfaultfd: don't pass around both mm and vmaAxel Rasmussen1-2/+2
2023-04-05mm: userfaultfd: rename functions for clarity + consistencyAxel Rasmussen1-10/+10