aboutsummaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
AgeCommit message (Expand)AuthorFilesLines
2 daysMerge branch 'mm-stable' of https://git.kernel.org/pub/scm/linux/kernel/git/a...Mark Brown1-3/+4
3 daysmm/hugetlb: fix hugetlb cgroup rsvd charge/uncharge mismatchDeepanshu Kartikey1-3/+4
3 daysmm/memory-failure: fix hugetlb_lock AA deadlock in get_huge_page_for_hwpoisonWupeng Ma1-11/+0
3 daysmm/hugetlb: restore reservation on error in hugetlb folio copy pathsDavid Carlier1-0/+2
3 daysmm/hugetlb: avoid false positive lockdep assertionLorenzo Stoakes1-19/+37
10 daysRevert "mm/hugetlbfs: update hugetlbfs to use mmap_prepare"Lorenzo Stoakes1-42/+29
2026-04-19Merge tag 'mm-stable-2026-04-18-02-14' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+18
2026-04-18mm/hugetlb: fix early boot crash on parameters without '=' separatorThorsten Blum1-0/+3
2026-04-18userfaultfd: introduce vm_uffd_opsMike Rapoport (Microsoft)1-0/+15
2026-04-15Merge tag 'mm-stable-2026-04-13-21-45' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-37/+11
2026-04-13Merge tag 'vfs-7.1-rc1.bh.metadata' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-9/+1
2026-04-05mm: move vma_mmu_pagesize() from hugetlb to vma.cDavid Hildenbrand (Arm)1-11/+0
2026-04-05mm: move vma_kernel_pagesize() from hugetlb to mm.hDavid Hildenbrand (Arm)1-17/+0
2026-04-05mm: reintroduce vma_desc_test() as a singular flag testLorenzo Stoakes (Oracle)1-6/+6
2026-04-05mm: reintroduce vma_flags_test() as a singular flag testLorenzo Stoakes (Oracle)1-1/+1
2026-04-05mm: rename VMA flag helpers to be more readableLorenzo Stoakes (Oracle)1-7/+7
2026-04-05mm: change the interface of prep_compound_tail()Kiryl Shutsemau1-3/+5
2026-03-26hugetlbfs: Stop using i_private_dataJan Kara1-9/+1
2026-03-04mm/hugetlb.c: use __pa() instead of virt_to_phys() in early bootmem alloc codeRitesh Harjani (IBM)1-2/+2
2026-02-21Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentLinus Torvalds1-7/+7
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook1-8/+7
2026-02-18Merge tag 'mm-stable-2026-02-18-19-48' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-11/+11
2026-02-13Merge tag 'mm-hotfixes-stable-2026-02-13-07-14' of git://git.kernel.org/pub/s...Linus Torvalds1-0/+9
2026-02-12mm: update hugetlbfs to use VMA flags on mmap_prepareLorenzo Stoakes1-11/+11
2026-02-12mm/hugetlb: restore failed global reservations to subpoolJoshua Hahn1-0/+9
2026-01-31hugetlb: increase hugepage reservations when using node-specific "hugepages="...Li Zhe1-0/+7
2026-01-31mm: hugetlb: optimize replace_free_hugepage_folios()Kefeng Wang1-10/+49
2026-01-31mm/hugetlb: enforce brace styleJoshua Hahn1-7/+13
2026-01-31mm/hugetlb: remove unnecessary if conditionJoshua Hahn1-7/+4
2026-01-26mm: hugetlb: allocate frozen pages for gigantic allocationKefeng Wang1-55/+20
2026-01-26mm: page_alloc: add alloc_contig_frozen_{range,pages}()Kefeng Wang1-2/+7
2026-01-26Revert "mm/hugetlb: deal with multiple calls to hugetlb_bootmem_alloc"Mike Rapoport (Microsoft)1-12/+0
2026-01-26mm/hugetlb: drop hugetlb_cma_check()Mike Rapoport (Microsoft)1-1/+0
2026-01-20mm/hugetlb: fix excessive IPI broadcasts when unsharing PMD tables using mmu_...David Hildenbrand (Red Hat)1-51/+72
2026-01-20mm/hugetlb: fix two comments related to huge_pmd_unshare()David Hildenbrand (Red Hat)1-16/+8
2026-01-14mm/hugetlb: ignore hugepage kernel args if hugepages are unsupportedSourabh Jain1-0/+16
2025-12-09mm/hugetlb: fix incorrect error return from hugetlb_reserve_pages()Shameer Kolothum1-7/+18
2025-11-24mm: eliminate further swapops predicatesLorenzo Stoakes1-1/+1
2025-11-24mm: remove is_hugetlb_entry_[migration, hwpoisoned]()Lorenzo Stoakes1-54/+37
2025-11-24mm: avoid unnecessary uses of is_swap_pte()Lorenzo Stoakes1-3/+3
2025-11-24mm: introduce leaf entry type and use to simplify leaf entry logicLorenzo Stoakes1-18/+19
2025-11-24mm: correctly handle UFFD PTE markersLorenzo Stoakes1-23/+24
2025-11-20mm/hugetlb: extract sysctl into hugetlb_sysctl.cHui Zhu1-132/+0
2025-11-20mm/hugetlb: extract sysfs into hugetlb_sysfs.cHui Zhu1-585/+11
2025-11-20hugetlb: optimise hugetlb_folio_init_tail_vmemmap()Matthew Wilcox (Oracle)1-2/+2
2025-11-16treewide: include linux/pgalloc.h instead of asm/pgalloc.hHarry Yoo1-1/+1
2025-11-16mm/hugetlbfs: update hugetlbfs to use mmap_prepareLorenzo Stoakes1-32/+45
2025-11-16mm/hugetlb: allow overcommitting gigantic hugepagesUsama Arif1-3/+3
2025-11-16mm/hugetlb: create hstate_is_gigantic_no_runtime helperUsama Arif1-5/+16
2025-11-16mm: fix some typos in mm modulejianyun.gao1-3/+3
2025-10-21hugetlbfs: move lock assertions after early returns in huge_pmd_unshare()Deepanshu Kartikey1-3/+2
2025-10-07mm: hugetlb: avoid soft lockup when mprotect to large memory areaYang Shi1-0/+2
2025-10-02Merge tag 'mm-stable-2025-10-01-19-00' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-75/+94
2025-09-28hugetlb: increase number of reserving hugepages via cmdlineLi Zhe1-1/+8
2025-09-25mm/hugetlb: fix copy_hugetlb_page_range() to use ->pt_share_countJane Chu1-10/+5
2025-09-21mm: hugeltb: check NUMA_NO_NODE in only_alloc_fresh_hugetlb_folio()Kefeng Wang1-4/+3
2025-09-21mm: hugetlb: remove struct hstate from init_new_hugetlb_folio()Kefeng Wang1-4/+4
2025-09-21mm: hugetlb: directly pass order when allocate a hugetlb folioKefeng Wang1-15/+14
2025-09-21mm: hugetlb: convert to account_new_hugetlb_folio()Kefeng Wang1-8/+8
2025-09-21mm: hugetlb: convert to use more alloc_fresh_hugetlb_folio()Kefeng Wang1-32/+14
2025-09-21mm/hugetlb: retry to allocate for early boot hugepage allocationLi RongQing1-4/+22
2025-09-21mm/hugetlb: cleanup hugetlb_folio_init_tail_vmemmap()David Hildenbrand1-8/+12
2025-09-21mm/hugetlb: check for unreasonable folio sizes when registering hstateDavid Hildenbrand1-0/+2
2025-09-21Merge branch 'mm-hotfixes-stable' into mm-stable in order to pick upAndrew Morton1-3/+6
2025-09-13selftests/mm/uffd-stress: make test operate on less hugetlb memoryDev Jain1-0/+5
2025-09-13mm/hugetlb: early exit from hugetlb_pages_alloc_boot() when max_huge_pages=0Li RongQing1-0/+3
2025-09-03mm/hugetlb: add missing hugetlb_lock in __unmap_hugepage_range()Jeongjun Park1-3/+6
2025-07-19mm/page_owner: convert set_page_owner_migrate_reason() to foliosSidhartha Kumar1-1/+1
2025-07-13mm,hugetlb: drop unlikelys from hugetlb_faultOscar Salvador1-2/+2
2025-07-13mm,hugetlb: drop obsolete comment about non-present pte and second faultsOscar Salvador1-7/+1
2025-07-13mm,hugetlb: rename anon_rmap to new_anon_folio and make it booleanOscar Salvador1-10/+9
2025-07-13mm,hugetlb: sort out folio locking in the faulting pathOscar Salvador1-4/+19
2025-07-13mm,hugetlb: change mechanism to detect a COW on private mappingOscar Salvador1-54/+34
2025-07-13mm/hugetlb: use str_plural() in report_hugepages()Thorsten Blum1-1/+2
2025-07-13mm/page_alloc: add support for initializing pageblock as isolatedZi Yan1-2/+2
2025-07-12Merge branch 'mm-hotfixes-stable' into mm-stable to pick up changes whichAndrew Morton1-3/+6
2025-07-09mm/memfd: reserve hugetlb folios before allocationVivek Kasireddy1-5/+0
2025-07-09mm/hugetlb: make hugetlb_reserve_pages() return nr of entries updatedVivek Kasireddy1-6/+13
2025-07-09mm: update core kernel code to use vm_flags_t consistentlyLorenzo Stoakes1-2/+2
2025-07-09mm/hugetlb: convert hugetlb_change_protection() to foliosSidhartha Kumar1-2/+2
2025-07-09mm/hugetlb: don't crash when allocating a folio if there are no resvVivek Kasireddy1-3/+6
2025-06-25mm/hugetlb: remove unnecessary holding of hugetlb_lockGe Yang1-37/+17
2025-06-05mm/hugetlb: fix huge_pmd_unshare() vs GUP-fast raceJann Horn1-0/+7
2025-06-05mm/hugetlb: unshare page tables during VMA split, not beforeJann Horn1-16/+44
2025-06-02Merge tag 'mm-stable-2025-06-01-14-06' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2025-05-31hugetlb: show nr_huge_pages in report_hugepages()Wenjie Xu1-1/+1
2025-05-31Merge tag 'mm-stable-2025-05-31-14-50' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-68/+69
2025-05-27mm/hugetlb: convert use of struct page to folio in __unmap_hugepage_range()Fan Ni1-11/+13
2025-05-27mm/hugetlb: refactor __unmap_hugepage_range() to take folio instead of pageFan Ni1-9/+9
2025-05-27mm/hugetlb: refactor unmap_hugepage_range() to take folio instead of pageFan Ni1-3/+4
2025-05-27mm/hugetlb: pass folio instead of page to unmap_ref_private()Fan Ni1-4/+4
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-12mm/hugetlb: use separate nodemask for bootmem allocationsFrank van der Linden1-2/+28
2025-05-11mm,hugetlb: allocate frozen pages in alloc_buddy_hugetlb_folioOscar Salvador1-16/+1
2025-05-11mm, hugetlb: avoid passing a null nodemask when there is mbind policyOscar Salvador1-16/+6
2025-05-11mm/compaction: use folio in hugetlb pathwayVishal Moola (Oracle)1-2/+1
2025-05-11hugetlb: simplify make_huge_pte()Matthew Wilcox (Oracle)1-10/+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