aboutsummaryrefslogtreecommitdiffstats
path: root/mm/huge_memory.c
AgeCommit message (Expand)AuthorFilesLines
6 daysMerge tag 'mm-stable-2025-12-03-21-26' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-470/+738
9 daysMerge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-12/+21
2025-11-24mm: softdirty: add pgtable_supports_soft_dirty()Chunyan Zhang1-6/+7
2025-11-24memcg: remove __lruvec_stat_mod_folioShakeel Butt1-2/+2
2025-11-24mm/huge_memory.c: introduce folio_split_unmappedBalbir Singh1-146/+202
2025-11-24mm: thp: reparent the split queue during memcg offlineQi Zheng1-0/+44
2025-11-24mm: thp: use folio_batch to handle THP splitting in deferred_split_scan()Muchun Song1-46/+41
2025-11-24mm: thp: introduce folio_split_queue_lock and its variantsMuchun Song1-35/+84
2025-11-24mm: thp: replace folio_memcg() with folio_memcg_charged()Muchun Song1-1/+1
2025-11-24mm: remove remaining is_swap_pmd() users and is_swap_pmd()Lorenzo Stoakes1-2/+3
2025-11-24mm: introduce pmd_is_huge() and use where appropriateLorenzo Stoakes1-1/+2
2025-11-24mm: replace pmd_to_swp_entry() with softleaf_from_pmd()Lorenzo Stoakes1-49/+49
2025-11-24mm/huge_memory: refactor change_huge_pmd() non-present logicLorenzo Stoakes1-33/+39
2025-11-24mm/huge_memory: refactor copy_huge_pmd() non-present logicLorenzo Stoakes1-50/+59
2025-11-24mm: avoid unnecessary use of is_swap_pmd()Lorenzo Stoakes1-1/+3
2025-11-24mm/huge_memory: merge uniform_split_supported() and non_uniform_split_support...Wei Yang1-41/+30
2025-11-24mm/huge_memory: introduce enum split_type for clarityWei Yang1-15/+15
2025-11-24mm/huge_memory: fix kernel-doc comments for folio_split() and relatedZi Yan1-24/+28
2025-11-24mm/huge_memory: only get folio_order() once during __folio_split()Wei Yang1-9/+9
2025-11-24mm/khugepaged: unify pmd folio installation with map_anon_folio_pmd()Wei Yang1-4/+10
2025-11-24mm/huge_memory: add pmd folio to ds_queue in do_huge_zero_wp_pmd()Wei Yang1-1/+1
2025-11-24mm/migrate_device: add THP splitting during migrationBalbir Singh1-21/+25
2025-11-24mm/memory/fault: add THP fault handling for zone device private pagesBalbir Singh1-0/+38
2025-11-24mm/huge_memory: implement device-private THP splittingBalbir Singh1-12/+75
2025-11-24mm/rmap: extend rmap and migration support device-private entriesBalbir Singh1-1/+22
2025-11-24mm/huge_memory: add device-private THP support to PMD operationsBalbir Singh1-9/+47
2025-11-24Merge branch 'mm-hotfixes-stable' into mm-stable in order to mergeAndrew Morton1-12/+10
2025-11-24mm/huge_memory: fix NULL pointer deference when splitting folioWei Yang1-12/+10
2025-11-19mm: add spurious fault fixing support for huge pmdHuang Ying1-12/+21
2025-11-16treewide: include linux/pgalloc.h instead of asm/pgalloc.hHarry Yoo1-1/+1
2025-11-16mm/huge_memory: optimize old_order derivation during folio splittingWei Yang1-5/+8
2025-11-16mm/huge_memory: optimize and simplify folio stat update after splitWei Yang1-14/+4
2025-11-16mm/huge_memory: update folio stat after successful splitWei Yang1-33/+11
2025-11-16mm/huge_memory: avoid reinvoking folio_test_anon()Wei Yang1-3/+4
2025-11-16mm: huge_memory: use folio_can_map_prot_numa() for pmd folioKefeng Wang1-14/+3
2025-11-16mm/userfaultfd: don't lock anon_vma when performing UFFDIO_MOVELokesh Gidra1-21/+1
2025-11-16mm: consistently use current->mm in mm_get_unmapped_area()Ryan Roberts1-2/+2
2025-11-15mm/huge_memory: fix folio split check for anon folios in swapcacheZi Yan1-2/+4
2025-11-09mm/huge_memory: initialise the tags of the huge zero folioCatalin Marinas1-1/+2
2025-11-09mm/huge_memory: preserve PG_has_hwpoisoned if a folio is split to >0 orderZi Yan1-3/+20
2025-11-09mm/huge_memory: do not change split_huge_page*() target order silentlyZi Yan1-8/+1
2025-10-15mm: prevent poison consumption when splitting THPQiuxu Zhuo1-0/+3
2025-10-07mm/thp: fix MTE tag mismatch when replacing zero-filled subpagesLance Yang1-12/+3
2025-09-21mm: skip mlocked THPs that are underused early in deferred_split_scan()Lance Yang1-0/+7
2025-09-21mm, swap: use the swap table for the swap cache and switch APIKairui Song1-7/+6
2025-09-21mm, swap: wrap swap cache replacement with a helperKairui Song1-3/+1
2025-09-13mm/huge_memory: remove enforce_sysfs from __thp_vma_allowable_ordersUsama Arif1-4/+3
2025-09-13mm/huge_memory: add new_order and offset to split_huge_pages*() pr_debugZi Yan1-4/+4
2025-09-13mm: introduce memdesc_flags_tMatthew Wilcox (Oracle)1-2/+2
2025-09-13mm/huge_memory: respect MADV_COLLAPSE with PR_THP_DISABLE_EXCEPT_ADVISEDDavid Hildenbrand1-2/+3
2025-09-13mm/huge_memory: convert "tva_flags" to "enum tva_type"David Hildenbrand1-4/+4
2025-09-13mm: convert core mm to mm_flags_*() accessorsLorenzo Stoakes1-4/+4
2025-09-13mm: add persistent huge zero folioPankaj Raghav1-10/+30
2025-09-13mm: rename MMF_HUGE_ZERO_PAGE to MMF_HUGE_ZERO_FOLIOPankaj Raghav1-3/+3
2025-09-13mm: rename huge_zero_page to huge_zero_folioPankaj Raghav1-17/+17
2025-09-13mm/huge_memory: mark PMD mappings of the huge zero folio specialDavid Hildenbrand1-2/+6
2025-09-13mm/huge_memory: support huge zero folio in vmf_insert_folio_pmd()David Hildenbrand1-3/+5
2025-09-13mm/huge_memory: move more common code into insert_pud()David Hildenbrand1-23/+13
2025-09-13mm/huge_memory: move more common code into insert_pmd()David Hildenbrand1-48/+24
2025-09-13mm: replace (20 - PAGE_SHIFT) with common macros for pages<->MB conversionYe Liu1-1/+1
2025-07-24mm/huge_memory: refactor after-split (page) cache codeZi Yan1-16/+28
2025-07-24mm/huge_memory: get frozen folio refcount with folio_expected_ref_count()Zi Yan1-7/+5
2025-07-24mm/huge_memory: convert VM_BUG* to VM_WARN* in __folio_splitZi Yan1-3/+7
2025-07-24mm/huge_memory: deduplicate code in __folio_split()Zi Yan1-38/+35
2025-07-24mm/huge_memory: remove after_split label in __split_unmapped_folio()Zi Yan1-6/+6
2025-07-24mm/huge_memory: move unrelated code out of __split_unmapped_folio()Zi Yan1-137/+133
2025-07-09mm: remove callers of pfn_t functionalityAlistair Popple1-10/+11
2025-07-09mm: remove redundant pXd_devmap callsAlistair Popple1-14/+9
2025-07-09mm/huge_memory: remove pXd_devmap usage from insert_pXd_pfn()Alistair Popple1-10/+2
2025-07-09mm/gup: remove pXX_devmap usage from get_user_pages()Alistair Popple1-40/+0
2025-07-09mm: update core kernel code to use vm_flags_t consistentlyLorenzo Stoakes1-1/+1
2025-07-09mm: huge_memory: fix the check for allowed huge orders in shmemBaolin Wang1-1/+1
2025-07-09mm/huge_memory: don't mark refcounted folios special in vmf_insert_folio_pud()David Hildenbrand1-23/+29
2025-07-09mm/huge_memory: don't mark refcounted folios special in vmf_insert_folio_pmd()David Hildenbrand1-19/+40
2025-07-09mm/huge_memory: don't ignore queried cachemode in vmf_insert_pfn_pud()David Hildenbrand1-4/+3
2025-05-22mm: convert track_pfn_insert() to pfnmap_setup_cachemode*()David Hildenbrand1-2/+3
2025-05-12mm/huge_memory: remove useless folio pointers passingGavin Guo1-8/+8
2025-05-12mm/huge_memory: adjust try_to_migrate_one() and split_huge_pmd_locked()Gavin Guo1-19/+2
2025-05-11mm: convert free_page_and_swap_cache() to free_folio_and_swap_cache()Fan Ni1-1/+1
2025-05-11mm: huge_memory: add folio_mark_accessed() when zapping file THPBaolin Wang1-0/+8
2025-05-11mm: add folio_mk_pmd()Matthew Wilcox (Oracle)1-6/+5
2025-05-07mm/huge_memory: fix dereferencing invalid pmd migration entryGavin Guo1-3/+8
2025-03-21mm: separate folio_split_memcg_refs() from split_page_memcg()Matthew Wilcox (Oracle)1-12/+4
2025-03-17mm: convert lru_add_page_tail() to lru_add_split_folio()Matthew Wilcox (Oracle)1-9/+9
2025-03-17mm/truncate: use folio_split() in truncate operationZi Yan1-3/+3
2025-03-17mm/huge_memory: add folio_split() to debugfs testing interfaceZi Yan1-13/+34
2025-03-17mm/huge_memory: remove the old, unused __split_huge_page()Zi Yan1-215/+0
2025-03-17mm/huge_memory: add buddy allocator like (non-uniform) folio_split()Zi Yan1-42/+128
2025-03-17mm/huge_memory: move folio split common code to __folio_split()Zi Yan1-50/+62
2025-03-17mm/huge_memory: add two new (not yet used) functions for folio_split()Zi Yan1-1/+353
2025-03-17mm: remove redundant return in set_huge_zero_folio()Dev Jain1-2/+0
2025-03-17mm: convert folio_likely_mapped_shared() to folio_maybe_mapped_shared()David Hildenbrand1-1/+1
2025-03-17mm/rmap: pass dst_vma to folio_dup_file_rmap_pte() and friendsDavid Hildenbrand1-1/+1
2025-03-17mm: let _folio_nr_pages overlay memcg_data in first tail pageDavid Hildenbrand1-0/+8
2025-03-17fs/dax: properly refcount fs dax pagesAlistair Popple1-2/+4
2025-03-17mm/huge_memory: add vmf_insert_folio_pmd()Alistair Popple1-12/+53
2025-03-17mm/huge_memory: add vmf_insert_folio_pud()Alistair Popple1-12/+87
2025-03-16mm: avoid splitting pmd for lazyfree pmd-mapped THP in try_to_unmapBarry Song1-7/+17
2025-03-16mm: completely abstract unnecessary adj_start calculationLorenzo Stoakes1-13/+6
2025-03-16mm/huge_memory: allow split shmem large folio to any lower orderZi Yan1-7/+1
2025-03-16mm: memcontrol: move memsw charge callbacks to v1Johannes Weiner1-1/+1
2025-03-16mm/huge_memory: drop beyond-EOF folios with the right number of refsZi Yan1-1/+1
2025-01-25mm/huge_memory: convert has_hwpoisoned into a pure folio flagDavid Hildenbrand1-1/+1
2025-01-25mm/huge_memory.c: rename shadowed localAndrew Morton1-4/+5
2025-01-13mm: add per-order mTHP swap-in fallback/fallback_charge countersWenchao Hao1-0/+6
2025-01-13mm: migrate: remove unused argument vma from migrate_misplaced_folio()Donet Tom1-1/+1
2025-01-12mm: clear uffd-wp PTE/PMD state on mremap()Ryan Roberts1-0/+12
2024-12-18mm: huge_memory: handle strsep not finding delimiterLeo Stone1-1/+1
2024-12-18mm: convert partially_mapped set/clear operations to be atomicUsama Arif1-4/+4
2024-12-18mm: use clear_user_(high)page() for arch with special user folio handlingZi Yan1-4/+5
2024-11-23Merge tag 'mm-stable-2024-11-18-19-27' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-77/+150
2024-11-12mm/thp: fix deferred split queue not partially_mapped: fixHugh Dickins1-1/+3
2024-11-11mm: huge_memory: use strscpy() instead of strcpy()Maíra Canal1-2/+2
2024-11-11mm: move ``get_order_from_str()`` to internal.hMaíra Canal1-23/+15
2024-11-11mm: add per-order mTHP swpin countersBarry Song1-0/+3
2024-11-11mm: swap: count successful large folio zswap stores in hugepage zswpout statsKanchana P Sridhar1-0/+3
2024-11-07mm: remove references to page->index in huge_memory.cMatthew Wilcox (Oracle)1-9/+9
2024-11-06mm: huge_memory: move file_thp_enabled() into huge_memory.cKefeng Wang1-0/+15
2024-11-06mm: avoid zeroing user movable page twice with init_on_alloc=1Zi Yan1-1/+7
2024-11-06mm: remove unused hugepage for vma_alloc_folio()Kefeng Wang1-1/+1
2024-11-06mm: allocate THP on hugezeropage wp-faultDev Jain1-1/+40
2024-11-06mm: abstract THP allocationDev Jain1-41/+57
2024-11-05mm: move mm flags to mm_types.hNanyong Sun1-1/+0
2024-11-05mm/thp: fix deferred split unqueue naming and lockingHugh Dickins1-9/+26
2024-11-05mm/thp: fix deferred split queue not partially_mappedHugh Dickins1-4/+17
2024-10-17mm: huge_memory: add vma_thp_disabled() and thp_disabled_by_hw()Kefeng Wang1-12/+1
2024-10-09mm/huge_memory: check pmd_special() only after pmd_present()David Hildenbrand1-1/+1
2024-09-27[tree-wide] finally take no_llseek outAl Viro1-1/+0
2024-09-21Merge tag 'mm-stable-2024-09-20-02-31' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-118/+471
2024-09-20Merge tag 'vfs-6.12.blocksize' of gitolite.kernel.org:pub/scm/linux/kernel/gi...Linus Torvalds1-4/+61
2024-09-17mm/fork: accept huge pfnmap entriesPeter Xu1-3/+26
2024-09-17mm: allow THP orders for PFNMAPsPeter Xu1-2/+2
2024-09-17mm: mark special bits for huge pfn mappings when injectPeter Xu1-0/+4
2024-09-17mm: drop is_huge_zero_pud()Peter Xu1-12/+1
2024-09-17mm/huge_memory: ensure huge_zero_folio won't have large_rmappable flag setMiaohe Lin1-0/+2
2024-09-09mm/codetag: fix pgalloc_tag_split()Yu Zhao1-1/+1
2024-09-09mm: thp: simplify split_huge_pages_pid()Nanyong Sun1-6/+1
2024-09-09mm,tmpfs: consider end of file write in shmem_is_hugeRik van Riel1-1/+1
2024-09-09mm: add sysfs entry to disable splitting underused THPsUsama Arif1-0/+26
2024-09-09mm: split underused THPsUsama Arif1-2/+58
2024-09-09mm: introduce a pageflag for partially mapped foliosUsama Arif1-11/+30
2024-09-09mm: remap unused subpages to shared zeropage when splitting isolated thpYu Zhao1-4/+4
2024-09-09mm: count the number of partially mapped anonymous THPs per sizeBarry Song1-0/+6
2024-09-09mm: count the number of anonymous THPs per sizeBarry Song1-3/+10
2024-09-09mm: tidy up shmem mTHP controls and statsRyan Roberts1-28/+112
2024-09-03x86: remove PG_uncachedMatthew Wilcox (Oracle)1-1/+3
2024-09-03mm: remove PageUnevictableMatthew Wilcox (Oracle)1-8/+8
2024-09-02mm: split a folio in minimum folio order chunksLuis Chamberlain1-4/+61
2024-09-01mm: override mTHP "enabled" defaults at kernel cmdlineRyan Roberts1-1/+97
2024-09-01mm/mprotect: fix dax pud handlingsPeter Xu1-0/+52
2024-09-01mm/x86: implement arch_check_zapped_pud()Peter Xu1-1/+3
2024-09-01mm/migrate: move common code to numa_migrate_check (was numa_migrate_prep)Zi Yan1-18/+11
2024-09-01mm/huge_memory: convert split_huge_pages_pid() from follow_page() to folio_walkDavid Hildenbrand1-11/+16
2024-09-01memory tiering: introduce folio_use_access_time() checkZi Yan1-4/+2
2024-09-01memory tiering: read last_cpupid correctly in do_huge_pmd_numa_page()Zi Yan1-1/+2
2024-09-01mm: shmem: move shmem_huge_global_enabled() into shmem_allowable_huge_orders()Baolin Wang1-9/+3
2024-09-01mm: shmem: rename shmem_is_huge() to shmem_huge_global_enabled()Baolin Wang1-2/+3
2024-08-15mm/numa: no task_numa_fault() call if PMD is changedZi Yan1-16/+13
2024-07-26mm/huge_memory: avoid PMD-size page cache if neededGavin Shan1-2/+10
2024-07-26mm: huge_memory: use !CONFIG_64BIT to relax huge page alignment on 32 bit mac...Yang Shi1-1/+1
2024-07-12mm: shmem: rename mTHP shmem countersRyan Roberts1-6/+6
2024-07-12mm: thp: support "THPeligible" semantics for mTHP with anonymous shmemBang Li1-4/+9
2024-07-12mm: fix khugepaged activation policyRyan Roberts1-0/+7
2024-07-12mm: add per-order mTHP split countersLance Yang1-2/+10
2024-07-06Merge branch 'mm-hotfixes-stable' into mm-stable to pick up "mm: fixAndrew Morton1-1/+1
2024-07-06mm: gup: stop abusing try_grab_folioYang Shi1-1/+1
2024-07-04mm: refactor folio_undo_large_rmappable()Kefeng Wang1-12/+1
2024-07-03mm/migrate: move NUMA hinting fault folio isolation + checks under PTLDavid Hildenbrand1-3/+5
2024-07-03mm/migrate: make migrate_misplaced_folio() return 0 on successDavid Hildenbrand1-3/+2
2024-07-03mm: memory: convert clear_huge_page() to folio_zero_user()Kefeng Wang1-2/+2
2024-07-03mm: extend rmap flags arguments for folio_add_new_anon_rmapBarry Song1-1/+1
2024-07-03mm/huge_memory.c: fix used-uninitializedAndrew Morton1-2/+1
2024-07-03mm/vmscan: avoid split lazyfree THP during shrink_folio_list()Lance Yang1-0/+66
2024-07-03mm/rmap: integrate PMD-mapped folio splitting into pagewalk loopLance Yang1-20/+22
2024-07-03mm: introduce pmd|pte_needs_soft_dirty_wp helpers for softdirty write-protectBarry Song1-1/+1
2024-07-03mm: shmem: add mTHP counters for anonymous shmemBaolin Wang1-0/+6
2024-07-03mm: shmem: add multi-size THP sysfs interface for anonymous shmemBaolin Wang1-8/+4
2024-07-03mm/swap: reduce swap cache search spaceKairui Song1-1/+1
2024-06-15mm: huge_memory: fix misused mapping_large_folio_support() for anon foliosRan Xiaokai1-11/+17
2024-06-05mm: drop the 'anon_' prefix for swap-out mTHP countersBaolin Wang1-4/+4
2024-05-07thp: remove HPAGE_PMD_ORDER minimum assertionMatthew Wilcox (Oracle)1-5/+0
2024-05-07mm: fix race between __split_huge_pmd_locked() and GUP-fastRyan Roberts1-23/+26
2024-05-05mm: delay the check for a NULL anon_vmaMatthew Wilcox (Oracle)1-2/+4
2024-05-05mm: simplify thp_vma_allowable_orderMatthew Wilcox1-2/+5
2024-05-05mm/huge_memory: improve split_huge_page_to_list_to_order() return value docum...David Hildenbrand1-3/+11
2024-05-05userfaultfd: remove WRITE_ONCE when setting folio->index during UFFDIO_MOVESuren Baghdasaryan1-1/+1
2024-05-05mm: add per-order mTHP anon_swpout and anon_swpout_fallback countersBarry Song1-0/+4
2024-05-05mm: add per-order mTHP anon_fault_alloc and anon_fault_fallback countersBarry Song1-0/+52
2024-05-05mm/huge_memory: use folio_mapcount() in zap_huge_pmd() sanity checkDavid Hildenbrand1-1/+1
2024-04-25mm: swap: remove CLUSTER_FLAG_HUGE from swap_cluster_info:flagsRyan Roberts1-3/+0
2024-04-25mm: huge_memory: add the missing folio_test_pmd_mappable() for THP split stat...Baolin Wang1-2/+5
2024-04-25thp: add thp_get_unmapped_area_vmflags()Rick Edgecombe1-7/+16
2024-04-25mm: switch mm->get_unmapped_area() to a flagRick Edgecombe1-5/+4
2024-04-25mm/gup: handle huge pmd for follow_pmd_mask()Peter Xu1-84/+2
2024-04-25mm/gup: handle huge pud for follow_pud_mask()Peter Xu1-45/+2
2024-04-25mm: rename mm_put_huge_zero_page to mm_put_huge_zero_folioMatthew Wilcox (Oracle)1-1/+1
2024-04-25mm: convert do_huge_pmd_anonymous_page to huge_zero_folioMatthew Wilcox (Oracle)1-11/+12
2024-04-25mm: convert huge_zero_page to huge_zero_folioMatthew Wilcox (Oracle)1-14/+14
2024-04-25mm: add pmd_folio()Matthew Wilcox (Oracle)1-3/+3
2024-04-25mm: add is_huge_zero_folio()Matthew Wilcox (Oracle)1-3/+3