aboutsummaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
AgeCommit message (Expand)AuthorFilesLines
14 daysmm/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
2023-04-05mm, treewide: redefine MAX_ORDER sanelyKirill A. Shutemov1-2/+2
2023-04-05mm: return an ERR_PTR from __filemap_get_folioChristoph Hellwig1-2/+4
2023-04-05mm/hugetlb: fix uffd wr-protection for CoW optimization pathPeter Xu1-2/+12
2023-03-20mm: hugetlb: move hugeltb sysctls to its own fileKefeng Wang1-3/+48
2023-02-20mm: hugetlb: change to return bool for isolate_hugetlb()Baolin Wang1-5/+8
2023-02-13mm/hugetlb: convert hugetlb_wp() to take in a folioSidhartha Kumar1-16/+16
2023-02-13mm/hugetlb: convert hugetlb_add_to_page_cache to take in a folioSidhartha Kumar1-5/+4
2023-02-13mm/hugetlb: convert restore_reserve_on_error to take in a folioSidhartha Kumar1-11/+10
2023-02-13mm/hugetlb: convert hugetlb fault paths to use alloc_hugetlb_folio()Sidhartha Kumar1-100/+101
2023-02-13mm/hugetlb: convert putback_active_hugepage to take in a folioSidhartha Kumar1-4/+4
2023-02-13mm/hugetlb: convert hugetlbfs_pagecache_present() to foliosSidhartha Kumar1-9/+7
2023-02-13mm/hugetlb: convert hugetlb_install_page to foliosSidhartha Kumar1-7/+7
2023-02-13mm/hugetlb: convert demote_free_huge_page to foliosSidhartha Kumar1-18/+17
2023-02-13mm/hugetlb: convert restore_reserve_on_error() to foliosSidhartha Kumar1-13/+14
2023-02-13mm/hugetlb: convert alloc_migrate_huge_page to foliosSidhartha Kumar1-9/+9
2023-02-13mm/hugetlb: increase use of folios in alloc_huge_page()Sidhartha Kumar1-17/+16
2023-02-13mm/hugetlb: convert alloc_surplus_huge_page() to foliosSidhartha Kumar1-13/+14
2023-02-13mm/hugetlb: convert dequeue_hugetlb_page functions to foliosSidhartha Kumar1-26/+30
2023-02-13mm/hugetlb: convert __update_and_free_page() to foliosSidhartha Kumar1-6/+6
2023-02-13mm/hugetlb: convert isolate_hugetlb to foliosSidhartha Kumar1-8/+8
2023-02-09mm: replace VM_LOCKED_CLEAR_MASK with VM_LOCKED_MASKSuren Baghdasaryan1-2/+2
2023-02-02mm/hugetlb: convert get_hwpoison_huge_page() to foliosSidhartha Kumar1-5/+5
2023-02-02mm/memory-failure: convert hugetlb_clear_page_hwpoison to foliosSidhartha Kumar1-1/+1
2023-02-02hugetlb: remove uses of compound_dtor and compound_nrMatthew Wilcox (Oracle)1-5/+7
2023-02-02hugetlb: remove uses of folio_mapcount_ptrMatthew Wilcox (Oracle)1-2/+2
2023-02-02mm: convert head_subpages_mapcount() into folio_nr_pages_mapped()Matthew Wilcox (Oracle)1-2/+2
2023-02-02mm: remove folio_pincount_ptr() and head_compound_pincount()Matthew Wilcox (Oracle)1-2/+2
2023-02-02mm/mmu_notifier: remove unused mmu_notifier_range_update_to_read_only exportAlistair Popple1-6/+6
2023-01-18mm/uffd: detect pgtable allocation failuresPeter Xu1-2/+4
2023-01-18mm/mprotect: use long for page accountings and retvalPeter Xu1-2/+2
2023-01-18hugetlb: initialize variable to avoid compiler warningMike Kravetz1-1/+1
2023-01-18mm/hugetlb: introduce hugetlb_walk()Peter Xu1-18/+13
2023-01-18mm/hugetlb: make follow_hugetlb_page() safe to pmd unsharePeter Xu1-0/+7
2023-01-18mm/hugetlb: make hugetlb_follow_page_mask() safe to pmd unsharePeter Xu1-1/+4
2023-01-18mm/hugetlb: move swap entry handling into vma lock when faultedPeter Xu1-21/+16
2023-01-18mm/hugetlb: don't wait for migration entry during follow pagePeter Xu1-11/+0
2023-01-18hugetlb: update vma flag check for hugetlb vma lockMike Kravetz1-2/+1
2023-01-18mm/uffd: always wr-protect pte in pte|pmd_mkuffd_wp()Peter Xu1-2/+2
2023-01-18mm: move folio_set_compound_order() to mm/internal.hSidhartha Kumar1-3/+3
2023-01-18mm: fix a few rare cases of using swapin error pte markerPeter Xu1-0/+3
2023-01-11mm: update mmap_sem comments to refer to mmap_lockLorenzo Stoakes1-2/+2
2023-01-11mm/hugetlb: pre-allocate pgtable pages for uffd wr-protectsPeter Xu1-2/+11
2023-01-11hugetlb: unshare some PMDs when splitting VMAsJames Houghton1-9/+35
2023-01-11mm/hugetlb: fix uffd-wp handling for migration entries in hugetlb_change_prot...David Hildenbrand1-8/+9
2023-01-11mm/hugetlb: fix PTE marker handling in hugetlb_change_protection()David Hildenbrand1-14/+7
2022-12-21hugetlb: really allocate vma lock for all sharable vmasMike Kravetz1-185/+148
2022-12-15Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-1/+4
2022-12-13Merge tag 'mm-stable-2022-12-13' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-406/+342
2022-12-13Merge tag 'for-6.2/block-2022-12-08' of git://git.kernel.dk/linuxLinus Torvalds1-10/+13
2022-12-12mm/hugetlb: set head flag before setting compound_order in __prep_compound_gi...Sidhartha Kumar1-2/+2
2022-12-11mm/hugetlb: change hugetlb allocation functions to return a folioSidhartha Kumar1-70/+64
2022-12-11mm/hugetlb: convert hugetlb prep functions to foliosSidhartha Kumar1-33/+30
2022-12-11mm/hugetlb: convert free_gigantic_page() to foliosSidhartha Kumar1-12/+17
2022-12-11mm/hugetlb: convert enqueue_huge_page() to foliosSidhartha Kumar1-11/+11
2022-12-11mm/hugetlb: convert add_hugetlb_page() to folios and add hugetlb_cma_folio()Sidhartha Kumar1-21/+21
2022-12-11mm/hugetlb: convert update_and_free_page() to foliosSidhartha Kumar1-14/+16
2022-12-11mm/hugetlb: convert remove_hugetlb_page() to foliosSidhartha Kumar1-23/+25
2022-12-11mm/hugetlb: convert dissolve_free_huge_page() to foliosSidhartha Kumar1-10/+10
2022-12-11mm/hugetlb: convert destroy_compound_gigantic_page() to foliosSidhartha Kumar1-22/+21
2022-12-11mm: add folio dtor and order setter functionsSidhartha Kumar1-3/+1
2022-11-30mm/gup: reliable R/O long-term pinning in COW mappingsDavid Hildenbrand1-3/+4
2022-11-30mm: add early FAULT_FLAG_UNSHARE consistency checksDavid Hildenbrand1-5/+0
2022-11-30hugetlb: remove duplicate mmu notificationsMike Kravetz1-9/+9
2022-11-30mm,thp,rmap: simplify compound page mapcount handlingHugh Dickins1-0/+2
2022-11-30mm/hugetlb: convert move_hugetlb_state() to foliosSidhartha Kumar1-10/+12
2022-11-30mm/hugetlb_cgroup: convert hugetlb_cgroup_uncharge_page() to foliosSidhartha Kumar1-6/+9
2022-11-30mm/hugetlb: convert free_huge_page to foliosSidhartha Kumar1-13/+14
2022-11-30mm/hugetlb: convert isolate_or_dissolve_huge_page to foliosSidhartha Kumar1-7/+6
2022-11-30mm/hugetlb_cgroup: convert hugetlb_cgroup_migrate to foliosSidhartha Kumar1-1/+1
2022-11-30mm/hugetlb_cgroup: convert set_hugetlb_cgroup*() to foliosSidhartha Kumar1-14/+19
2022-11-30mm/hugetlb_cgroup: convert hugetlb_cgroup_from_page() to foliosSidhartha Kumar1-2/+3
2022-11-30Merge branch 'mm-hotfixes-stable' into mm-stableAndrew Morton1-12/+23
2022-11-30hugetlb: don't delete vma_lock in hugetlb MADV_DONTNEED processingMike Kravetz1-11/+16
2022-11-22hugetlb: fix __prep_compound_gigantic_page page flag settingMike Kravetz1-1/+3
2022-11-09mm: introduce FOLL_PCI_P2PDMA to gate getting PCI P2PDMA pagesLogan Gunthorpe1-2/+4
2022-11-09mm: allow multiple error returns in try_grab_page()Logan Gunthorpe1-8/+9
2022-11-09mm/gup: Add FOLL_INTERRUPTIBLEPeter Xu1-1/+4
2022-11-08mm,hwpoison,hugetlb,memory_hotplug: hotremove memory section with hwpoisoned ...Naoya Horiguchi1-4/+5
2022-11-08Revert "mm/uffd: fix warning without PTE_MARKER_UFFD_WP compiled in"Peter Xu1-4/+0
2022-11-08mm/hugetlb: unify clearing of RestoreReserve for private pagesPeter Xu1-10/+4
2022-11-08hugetlb: simplify hugetlb handling in follow_page_maskMike Kravetz1-116/+56
2022-11-08hugetlbfs: don't delete error page from pagecacheJames Houghton1-0/+4
2022-10-20hugetlb: fix memory leak associated with vma_lock structureMike Kravetz1-8/+27
2022-10-20mm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pagesRik van Riel1-1/+1
2022-10-14Merge tag 'mm-stable-2022-10-13' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-12/+60
2022-10-12mm/hugetlb: use hugetlb_pte_stable in migration race checkPeter Xu1-4/+3
2022-10-12mm/hugetlb: fix race condition of uffd missing/minor handlingPeter Xu1-7/+52
2022-10-12mm/uffd: fix warning without PTE_MARKER_UFFD_WP compiled inPeter Xu1-0/+4
2022-10-12mm/hugetlb.c: make __hugetlb_vma_unlock_write_put() staticAndrew Morton1-1/+1
2022-10-12Merge tag 'mm-hotfixes-stable-2022-10-11' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-14/+13
2022-10-11mm/hugetlb: fix races when looking up a CONT-PTE/PMD size hugetlb pageBaolin Wang1-14/+13
2022-10-07hugetlb: allocate vma lock for all sharable vmasMike Kravetz1-35/+15
2022-10-07hugetlb: take hugetlb vma_lock when clearing vma_lock->vma pointerMike Kravetz1-10/+32
2022-10-07hugetlb: fix vma lock handling during split vma and range unmappingMike Kravetz1-16/+27
2022-10-03mm/hugetlb: add available_huge_pages() funcXin Hao1-5/+9
2022-10-03mm: hugetlb: fix UAF in hugetlb_handle_userfaultLiu Shixin1-20/+17
2022-10-03hugetlb: freeze allocated pages before creating hugetlb pagesMike Kravetz1-64/+38
2022-10-03hugetlb: clean up code checking for fault/truncation racesMike Kravetz1-21/+3
2022-10-03hugetlb: use new vma_lock for pmd sharing synchronizationMike Kravetz1-9/+93
2022-10-03hugetlb: add vma based lock for pmd sharingMike Kravetz1-17/+190
2022-10-03hugetlb: rename vma_shareable() and refactor codeMike Kravetz1-6/+13
2022-10-03hugetlb: rename remove_huge_page to hugetlb_delete_from_page_cacheMike Kravetz1-4/+4
2022-10-03hugetlbfs: revert use i_mmap_rwsem for more pmd sharing synchronizationMike Kravetz1-65/+12
2022-10-03hugetlbfs: revert use i_mmap_rwsem to address page fault/truncate raceMike Kravetz1-11/+11