aboutsummaryrefslogtreecommitdiffstats
path: root/mm/internal.h
AgeCommit message (Expand)AuthorFilesLines
3 daysmm/memcg: remove no longer used swap cgroup arrayKairui Song1-1/+0
3 daysmm, swap: delay and unify memcg lookup and charging for swapinKairui Song1-9/+1
3 daysmm/page_alloc: don't overload migratetype in find_suitable_fallback()Brendan Jackman1-3/+11
2026-04-19Merge tag 'mm-hotfixes-stable-2026-04-19-00-14' of git://git.kernel.org/pub/s...Linus Torvalds1-1/+0
2026-04-18mm: call ->free_folio() directly in folio_unmap_invalidate()Matthew Wilcox (Oracle)1-1/+0
2026-04-18Merge tag 'memblock-v7.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+10
2026-04-05mm: add mmap_action_simple_ioremap()Lorenzo Stoakes (Oracle)1-0/+1
2026-04-05mm: have mmap_action_complete() handle the rmap lock and unmapLorenzo Stoakes (Oracle)1-0/+19
2026-04-05mm: various small mmap_prepare cleanupsLorenzo Stoakes (Oracle)1-15/+17
2026-04-05mm: update vma_supports_mlock() to use new VMA flagsLorenzo Stoakes (Oracle)1-1/+3
2026-04-05mm: convert do_brk_flags() to use vma_flags_tLorenzo Stoakes (Oracle)1-0/+3
2026-04-05mm: change to return bool for the MMU notifier's young flag checkBaolin Wang1-8/+8
2026-04-05mm/sparse: move memory hotplug bits to sparse-vmemmap.cDavid Hildenbrand (Arm)1-0/+4
2026-04-05mm/sparse: move __section_mark_present() to internal.hDavid Hildenbrand (Arm)1-0/+9
2026-04-05mm/sparse: move sparse_init_one_section() to internal.hDavid Hildenbrand (Arm)1-0/+22
2026-04-05mm: prepare to move subsection_map_init() to mm/sparse-vmemmap.cDavid Hildenbrand (Arm)1-0/+12
2026-04-05mm: abstract reading sysctl_max_map_count, and READ_ONCE()Lorenzo Stoakes (Oracle)1-0/+6
2026-04-05mm: khugepaged: export set_recommended_min_free_kbytes()Breno Leitao1-0/+5
2026-04-05mm: prevent droppable mappings from being lockedAnthony Yznaga1-0/+10
2026-04-05mm: support batched checking of the young flag for MGLRUBaolin Wang1-6/+0
2026-04-05mm: add a batched helper to clear the young flag for large foliosBaolin Wang1-5/+11
2026-04-05mm: rename ptep/pmdp_clear_young_notify() to ptep/pmdp_test_and_clear_young_n...Baolin Wang1-4/+4
2026-04-05mm: use inline helper functions instead of ugly macrosBaolin Wang1-0/+52
2026-04-05mm: rename zap_page_range_single_batched() to zap_vma_range_batched()David Hildenbrand (Arm)1-1/+1
2026-04-05mm/oom_kill: factor out zapping of VMA into zap_vma_for_reaping()David Hildenbrand (Arm)1-4/+1
2026-04-05mm/hugetlb: remove fake head pagesKiryl Shutsemau1-0/+9
2026-04-05mm: change the interface of prep_compound_tail()Kiryl Shutsemau1-6/+5
2026-04-05mm/vmalloc: export clear_vm_uninitialized_flag()Pasha Tatashin1-0/+2
2026-04-05mm: centralize+fix comments about compound_mapcount() in new sync_with_folio_...David Hildenbrand (Arm)1-0/+19
2026-04-01memblock: warn when freeing reserved memory before memory map is initializedMike Rapoport (Microsoft)1-0/+10
2026-02-18Merge tag 'mm-stable-2026-02-18-19-48' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-4/+6
2026-02-14Merge tag 'memblock-v7.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+1
2026-02-12mm: update secretmem to use VMA flags on mmap_prepareLorenzo Stoakes1-1/+1
2026-02-12mm: use unmap_desc struct for freeing page tablesLiam R. Howlett1-4/+1
2026-02-12mm/vma: use unmap_desc in exit_mmap() and vms_clear_ptes()Liam R. Howlett1-0/+3
2026-02-12mm/memory: add tree limit to free_pgtables()Liam R. Howlett1-2/+4
2026-02-12Merge tag 'mm-stable-2026-02-11-19-22' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-19/+87
2026-02-11Merge tag 'slab-for-7.0' of git://git.kernel.org/pub/scm/linux/kernel/git/vba...Linus Torvalds1-0/+1
2026-02-06mm: move pte table reclaim code to memory.cDavid Hildenbrand (Red Hat)1-18/+0
2026-01-29slab: remove defer_deactivate_slab()Vlastimil Babka1-0/+1
2026-01-26mm: cma: add cma_alloc_frozen{_compound}()Kefeng Wang1-5/+5
2026-01-26mm: page_alloc: add alloc_contig_frozen_{range,pages}()Kefeng Wang1-0/+13
2026-01-26mm/rmap: separate out fork-only logic on anon_vma_clone()Lorenzo Stoakes1-1/+10
2026-01-26mm/rmap: make anon_vma functions internalLorenzo Stoakes1-0/+58
2026-01-26arch, mm: consolidate initialization of SPARSE memory modelMike Rapoport (Microsoft)1-0/+6
2026-01-20mm: fix minor spelling mistakes in commentsKevin Lourenco1-1/+1
2026-01-20mm: restore per-memcg proactive reclaim with !CONFIG_NUMAYosry Ahmed1-8/+0
2026-01-09memblock: drop redundant 'struct page *' argument from memblock_free_pages()Shengming Hu1-2/+1
2025-12-06Merge tag 'mm-nonmm-stable-2025-12-06-11-14' of git://git.kernel.org/pub/scm/...Linus Torvalds1-0/+6
2025-12-05Merge tag 'mm-stable-2025-12-03-21-26' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-14/+59
2025-11-27mm: shmem: export some functions to internal.hPratyush Yadav1-0/+6
2025-11-24mm: softdirty: add pgtable_supports_soft_dirty()Chunyan Zhang1-1/+1
2025-11-24mm: replace remaining pte_to_swp_entry() with softleaf_from_pte()Lorenzo Stoakes1-2/+5
2025-11-24mm: eliminate is_swap_pte() when softleaf_from_pte() sufficesLorenzo Stoakes1-4/+3
2025-11-24mm: avoid unnecessary uses of is_swap_pte()Lorenzo Stoakes1-4/+2
2025-11-20mm/madvise: allow guard page install/remove under VMA lockLorenzo Stoakes1-0/+3
2025-11-20mm: rename walk_page_range_mm()Lorenzo Stoakes1-1/+1
2025-11-19mm: add spurious fault fixing support for huge pmdHuang Ying1-1/+1
2025-11-16mm: introduce io_remap_pfn_range_[prepare, complete]()Lorenzo Stoakes1-0/+18
2025-11-16mm: add remap_pfn_range_prepare(), remap_pfn_range_complete()Lorenzo Stoakes1-0/+4
2025-11-16mm: mprotect: convert to folio_can_map_prot_numa()Kefeng Wang1-0/+20
2025-11-16kmsan: remove hard-coded GFP_KERNEL flagsUladzislau Rezki (Sony)1-2/+2
2025-10-02Merge tag 'mm-stable-2025-10-01-19-00' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-14/+6
2025-09-29mm: Introduce alloc_frozen_pages_nolock()Alexei Starovoitov1-0/+4
2025-09-22mm: specify separate file and vm_file params in vm_area_descLorenzo Stoakes1-2/+2
2025-09-21mm/hwpoison: decouple hwpoison_filter from mm/memory-failure.cMiaohe Lin1-7/+3
2025-09-21mm: sanity-check maximum folio size in folio_set_order()David Hildenbrand1-0/+1
2025-09-13mm: remove is_migrate_highatomic()Brendan Jackman1-5/+0
2025-08-05Merge tag 'mm-stable-2025-08-03-12-35' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2025-08-02mm: correct type for vmalloc vm_flags fieldsLorenzo Stoakes1-1/+1
2025-07-31Merge tag 'mm-stable-2025-07-30-15-25' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-58/+92
2025-07-24mm: introduce FPB_RESPECT_WRITE for PTE batching infrastructureDev Jain1-3/+8
2025-07-19mm/memcg: make memory.reclaim interface genericDavidlohr Bueso1-0/+10
2025-07-19mm: remove boolean output parameters from folio_pte_batch_ext()David Hildenbrand1-23/+42
2025-07-19mm: split folio_pte_batch() into folio_pte_batch() and folio_pte_batch_flags()David Hildenbrand1-3/+8
2025-07-19mm: smaller folio_pte_batch() improvementsDavid Hildenbrand1-22/+15
2025-07-19mm: convert FPB_IGNORE_* into FPB_RESPECT_*David Hildenbrand1-8/+8
2025-07-13mm: rename PAGE_MAPPING_* to FOLIO_MAPPING_*David Hildenbrand1-1/+1
2025-07-13mm/page_alloc: add support for initializing pageblock as isolatedZi Yan1-1/+2
2025-07-09mm: update core kernel code to use vm_flags_t consistentlyLorenzo Stoakes1-2/+2
2025-07-09Revert "mm: make alloc_demote_folio externally invokable for migration"SeongJae Park1-1/+0
2025-07-09Revert "mm: rename alloc_demote_folio to alloc_migrate_folio"SeongJae Park1-1/+1
2025-07-09mm/pagewalk: split walk_page_range_novma() into kernel/user partsLorenzo Stoakes1-0/+3
2025-07-09mm/readahead: store folio order in struct file_ra_stateRyan Roberts1-2/+1
2025-06-17mm: rename call_mmap/mmap_prepare to vfs_mmap/mmap_prepareLorenzo Stoakes1-1/+1
2025-05-12mm: move dup_mmap() to mmLorenzo Stoakes1-0/+2
2025-05-12memblock: introduce memmap_init_kho_scratch()Mike Rapoport (Microsoft)1-0/+2
2025-05-11mm/madvise: batch tlb flushes for MADV_DONTNEED[_LOCKED]SeongJae Park1-0/+3
2025-05-11mm: page_alloc: tighten up find_suitable_fallback()Johannes Weiner1-1/+1
2025-05-11mm/page_alloc: fix race condition in unaccepted memory handlingKirill A. Shutemov1-1/+0
2025-05-07mm: fix folio_pte_batch() on XEN PVPetr Vaněk1-16/+11
2025-04-17mm/page_alloc: fix deadlock on cpu_hotplug_lock in __accept_page()Kirill A. Shutemov1-0/+1
2025-04-01Merge tag 'mm-stable-2025-03-30-16-52' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-13/+80
2025-03-30Merge tag 'bpf_try_alloc_pages' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+1
2025-03-26Merge tag 'sysctl-6.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+10
2025-03-21mm/mm_init: rename __init_reserved_page_zone to __init_page_from_nidMike Rapoport (Microsoft)1-1/+1
2025-03-17mm: page_alloc: defrag_mode kswapd/kcompactd watermarksJohannes Weiner1-0/+1
2025-03-17arch, mm: make releasing of memory to page allocator more explicitMike Rapoport (Microsoft)1-1/+2
2025-03-17mm: stop maintaining the per-page mapcount of large folios (CONFIG_NO_PAGE_MA...David Hildenbrand1-1/+4
2025-03-17mm/rmap: basic MM owner tracking for large folios (!hugetlb)David Hildenbrand1-0/+5
2025-03-17mm: move _entire_mapcount in folio to page[2] on 32bitDavid Hildenbrand1-2/+3
2025-03-17mm: move _pincount in folio to page[2] on 32bitDavid Hildenbrand1-1/+2
2025-03-17mm: let _folio_nr_pages overlay memcg_data in first tail pageDavid Hildenbrand1-2/+2
2025-03-17mm/mremap: thread state through move page table operationLorenzo Stoakes1-0/+3
2025-03-17mm/mremap: refactor move_page_tables(), abstracting stateLorenzo Stoakes1-4/+39
2025-03-17fs/dax: properly refcount fs dax pagesAlistair Popple1-2/+0
2025-03-17mm/page_alloc: clarify terminology in migratetype fallback codeBrendan Jackman1-1/+1
2025-03-16mm/cma: introduce interface for early reservationsFrank van der Linden1-0/+16
2025-03-16mm/hugetlb: check bootmem pages for zone intersectionsFrank van der Linden1-0/+2
2025-03-16mm: define __init_reserved_page_zone functionFrank van der Linden1-0/+1
2025-03-05mm: memory-failure: update ttu flag inside unmap_poisoned_folioMa Wupeng1-2/+3
2025-02-27mm, bpf: Introduce try_alloc_pages() for opportunistic page allocationAlexei Starovoitov1-0/+1
2025-02-07mm: vmscan: move vmscan sysctls to mm/vmscan.cKaixiong Yu1-0/+10
2025-01-25mm/truncate: add folio_unmap_invalidate() helperJens Axboe1-0/+2
2025-01-13mseal: remove can_do_mseal()Jeff Xu1-16/+0
2025-01-13mm: pgtable: reclaim empty PTE page in madvise(MADV_DONTNEED)Qi Zheng1-0/+19
2025-01-13mm/page_alloc: make __alloc_contig_migrate_range() staticDavid Hildenbrand1-4/+0
2025-01-13mm/mempolicy: add alloc_frozen_pages()Matthew Wilcox (Oracle)1-0/+12
2025-01-13mm/page_alloc: add __alloc_frozen_pages()Matthew Wilcox (Oracle)1-0/+4
2025-01-13mm/page_alloc: move set_page_refcounted() to callers of post_alloc_hook()Matthew Wilcox (Oracle)1-2/+1
2025-01-13mm/page_alloc: export free_frozen_pages() instead of free_unref_page()Matthew Wilcox (Oracle)1-1/+1
2024-12-30mm, madvise: fix potential workingset node list_lru leaksKairui Song1-0/+6
2024-12-18mm: use clear_user_(high)page() for arch with special user folio handlingZi Yan1-6/+0
2024-11-30Merge tag 'kbuild-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-1/+1
2024-11-27Rename .data.once to .data..once to fix resetting WARN*_ONCEMasahiro Yamada1-1/+1
2024-11-11mm: move ``get_order_from_str()`` to internal.hMaíra Canal1-0/+22
2024-11-11mm: pagewalk: add the ability to install PTEsLorenzo Stoakes1-0/+6
2024-11-07mm: mass constification of folio/page pointersMatthew Wilcox (Oracle)1-2/+3
2024-11-07mm: renovate page_address_in_vma()Matthew Wilcox (Oracle)1-2/+2
2024-11-07alloc_tag: populate memory for module tags as neededSuren Baghdasaryan1-0/+6
2024-11-07execmem: add support for cache of large ROX pagesMike Rapoport (Microsoft)1-0/+1
2024-11-06mm: avoid zeroing user movable page twice with init_on_alloc=1Zi Yan1-0/+6
2024-11-06mm: remove PageKsm()Matthew Wilcox (Oracle)1-1/+1
2024-11-05mm: unconditionally close VMAs on errorLorenzo Stoakes1-0/+18
2024-11-05mm: avoid unsafe VMA hook invocation when error arises on mmap hookLorenzo Stoakes1-0/+27
2024-11-05mm/thp: fix deferred split unqueue naming and lockingHugh Dickins1-5/+5
2024-09-21Merge tag 'mm-stable-2024-09-20-02-31' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-180/+36
2024-09-17mm: change vmf_anon_prepare() to __vmf_anon_prepare()Vishal Moola (Oracle)1-1/+10
2024-09-09mm: remove putback_lru_page()Kefeng Wang1-1/+0
2024-09-09mm: remove isolate_lru_page()Kefeng Wang1-1/+0
2024-09-09mm: migrate_device: convert to migrate_device_coherent_folio()Kefeng Wang1-1/+1
2024-09-03mm: memory-failure: add unmap_poisoned_folio()Kefeng Wang1-0/+8
2024-09-03printf: remove %pGt supportMatthew Wilcox (Oracle)1-1/+0
2024-09-03mm: remove can_modify_mm()Pedro Falcato1-14/+0
2024-09-03mseal: replace can_modify_mm_madv with a vma variantPedro Falcato1-2/+0
2024-09-03mm: attempt to batch free swap entries for zap_pte_range()Barry Song1-2/+7
2024-09-01mm: add a helper to accept pageKirill A. Shutemov1-0/+8
2024-09-01mm/migrate: move common code to numa_migrate_check (was numa_migrate_prep)Zi Yan1-2/+3
2024-09-01mm: move internal core VMA manipulation functions to own fileLorenzo Stoakes1-231/+5
2024-09-01mm: move vma_shrink(), vma_expand() to internal headerLorenzo Stoakes1-0/+18
2024-09-01mm: move vma_modify() and helpers to internal headerLorenzo Stoakes1-0/+61
2024-07-06Merge branch 'mm-hotfixes-stable' into mm-stable to pick up "mm: fixAndrew Morton1-2/+2
2024-07-06mm: gup: stop abusing try_grab_folioYang Shi1-2/+2
2024-07-04mm: refactor folio_undo_large_rmappable()Kefeng Wang1-1/+16
2024-07-03mm: pass meminit_context to __free_pages_core()David Hildenbrand1-1/+2
2024-07-03mm: rename alloc_demote_folio to alloc_migrate_folioHonggyu Kim1-1/+1
2024-07-03mm: make alloc_demote_folio externally invokable for migrationHonggyu Kim1-0/+1
2024-07-03mm/memory-failure: move some function declarations into internal.hMiaohe Lin1-0/+10
2024-07-03mm: introduce pmd|pte_needs_soft_dirty_wp helpers for softdirty write-protectBarry Song1-0/+10
2024-07-03mm: introduce pte_move_swp_offset() helper which can move offset bidirectionallyBarry Song1-4/+21
2024-07-03mm: batch unlink_file_vma calls in free_pgd_rangeMateusz Guzik1-0/+9
2024-06-24/proc/pid/smaps: add mseal info for vmaJeff Xu1-5/+0
2024-06-15Revert "mm: init_mlocked_on_free_v3"David Hildenbrand1-1/+0
2024-05-23mseal: add mseal syscallJeff Xu1-0/+37
2024-05-07mm/vmscan: remove ignore_references argument of reclaim_pages()SeongJae Park1-1/+1
2024-05-05mm/memory-failure: convert shake_page() to shake_folio()Matthew Wilcox (Oracle)1-0/+1
2024-05-05mm/memory: add any_dirty optional pointer to folio_pte_batch()Lance Yang1-2/+10
2024-05-05mm: track mapcount of large folios in single valueDavid Hildenbrand1-0/+3
2024-04-25mm: convert free_zone_device_page to free_zone_device_folioMatthew Wilcox (Oracle)1-1/+1
2024-04-25mm/treewide: rename CONFIG_HAVE_FAST_GUP to CONFIG_HAVE_GUP_FASTDavid Hildenbrand1-1/+1
2024-04-25mm: madvise: avoid split during MADV_PAGEOUT and MADV_COLDRyan Roberts1-2/+10
2024-04-25mm: swap: free_swap_and_cache_nr() as batched free_swap_and_cache()Ryan Roberts1-0/+64
2024-04-25mm: rename vma_pgoff_address back to vma_addressMatthew Wilcox (Oracle)1-5/+4
2024-04-25mm: remove vma_address()Matthew Wilcox (Oracle)1-15/+8
2024-04-25mm: init_mlocked_on_free_v3York Jasper Niebuhr1-0/+1
2024-04-25mm: allow anon exclusive check over hugetlb tail pagesPeter Xu1-10/+0
2024-04-25mm/gup: handle huge pmd for follow_pmd_mask()Peter Xu1-3/+2
2024-04-25mm/gup: handle huge pud for follow_pud_mask()Peter Xu1-0/+2
2024-04-25mm: make page_mapped() take a const argumentMatthew Wilcox (Oracle)1-3/+4
2024-04-25mm/mmap: convert all mas except mas_detach to vma iteratorYajun Deng1-0/+29
2024-04-25arm64: mm: swap: support THP_SWAP on hardware with MTEBarry Song1-0/+14
2024-04-25mm: record the migration reason for struct migration_target_controlBaolin Wang1-0/+1
2024-04-25mm: page_alloc: consolidate free page accountingJohannes Weiner1-5/+0
2024-04-25mm: page_isolation: prepare for hygienic freelistsJohannes Weiner1-4/+0
2024-04-25mm: remove folio_prep_large_rmappable()Matthew Wilcox (Oracle)1-1/+2
2024-04-25mm: always initialise folio->_deferred_listMatthew Wilcox (Oracle)1-0/+2
2024-04-25mm/mempolicy: use numa_node_id() instead of cpu_to_node()Donet Tom1-1/+1
2024-04-16mm/madvise: make MADV_POPULATE_(READ|WRITE) handle VM_FAULT_RETRY properlyDavid Hildenbrand1-4/+6
2024-03-14Merge tag 'mm-stable-2024-03-13-20-04' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-7/+112
2024-03-06mm: make folio_pte_batch available outside of mm/memory.cBarry Song1-0/+93
2024-03-04mm: add alloc_contig_migrate_range allocation statisticsRichard Chang1-1/+2
2024-03-04mm: remove free_unref_page_list()Matthew Wilcox (Oracle)1-1/+0
2024-03-04mm: add free_unref_folios()Matthew Wilcox (Oracle)1-2/+3
2024-03-04mm: support order-1 folios in the page cacheMatthew Wilcox (Oracle)1-2/+1
2024-03-04mm: madvise: pageout: ignore references rather than clearing youngBarry Song1-1/+1
2024-03-04mm/memory: change vmf_anon_prepare() to be non-staticVishal Moola (Oracle)1-0/+1
2024-02-23mm/compaction: add support for >0 order folio memory compaction.Zi Yan1-1/+3
2024-02-22mm/mmap: introduce vma_set_range()Yajun Deng1-0/+9
2024-02-21mm: move mapping_set_update out of <linux/swap.h>Christoph Hellwig1-0/+4
2024-01-08mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDERKirill A. Shutemov1-1/+1