aboutsummaryrefslogtreecommitdiffstats
path: root/mm/internal.h
AgeCommit message (Expand)AuthorFilesLines
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
2023-12-29mm: remove one last reference to page_add_*_rmap()David Hildenbrand1-1/+1
2023-12-29mm/rmap: rename COMPOUND_MAPPED to ENTIRELY_MAPPEDDavid Hildenbrand1-3/+3
2023-12-29mm: convert page_try_share_anon_rmap() to folio_try_share_anon_rmap_[pte|pmd]()David Hildenbrand1-2/+2
2023-12-29mm/rmap: remove page_remove_rmap()David Hildenbrand1-1/+1
2023-12-12mm: use vma_pages() for vma objectsChen Haonan1-1/+1
2023-12-12maple_tree: separate ma_state node from statusLiam R. Howlett1-4/+4
2023-12-12maple_tree: move debug check to __mas_set_range()Liam R. Howlett1-2/+0
2023-12-10mm: remove invalidate_inode_page()Matthew Wilcox (Oracle)1-1/+0
2023-12-10mm: make mapping_evict_folio() the preferred way to evict clean foliosMatthew Wilcox (Oracle)1-0/+1
2023-12-10fork: use __mt_dup() to duplicate maple tree in dup_mmap()Peng Zhang1-11/+0
2023-10-25mm: add page_rmappable_folio() wrapperHugh Dickins1-0/+9
2023-10-25mm: fix multiple typos in multiple filesMuhammad Muzammil1-1/+1
2023-10-18mm: abstract VMA merge and extend into vma_merge_extend() helperLorenzo Stoakes1-5/+3
2023-10-18mm: make vma_merge() and split_vma() internalLorenzo Stoakes1-0/+9
2023-10-18mm: add printf attribute to shrinker_debugfs_name_allocLucy Mielke1-2/+2
2023-10-18mm: use folio_xor_flags_has_waiters() in folio_end_writeback()Matthew Wilcox (Oracle)1-1/+1
2023-10-18mm: make __end_folio_writeback() return voidMatthew Wilcox (Oracle)1-1/+1
2023-10-18mm/gup: explicitly define and check internal GUP flags, disallow FOLL_TOUCHLorenzo Stoakes1-0/+3
2023-10-16mm: memory: make numa_migrate_prep() to take a folioKefeng Wang1-1/+1
2023-10-04mm: handle large folio when large folio in VM_LOCKED VMA rangeYin Fengwei1-10/+13
2023-10-04mm: add functions folio_in_range() and folio_within_vma()Yin Fengwei1-0/+50
2023-10-04mm: hugetlb: skip initialization of gigantic tail struct pages if freed by HVOUsama Arif1-0/+3
2023-10-04mm: shrinker: add infrastructure for dynamically allocating shrinkerQi Zheng1-0/+22
2023-10-04mm: vmscan: move shrinker-related code into a separate fileQi Zheng1-0/+2
2023-10-04mm: move some shrinker-related function declarations to mm/internal.hQi Zheng1-0/+26
2023-08-31Merge tag 'x86_shstk_for_6.6-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+2
2023-08-21mm: free up a word in the first tail pageMatthew Wilcox (Oracle)1-1/+1
2023-08-21mm: add large_rmappable page flagMatthew Wilcox (Oracle)1-1/+0
2023-08-21mm: convert free_transhuge_folio() to folio_undo_large_rmappable()Matthew Wilcox (Oracle)1-0/+2
2023-08-21merge mm-hotfixes-stable into mm-stable to pick up depended-upon changesAndrew Morton1-0/+17
2023-08-21mm: allow fault_dirty_shared_page() to be called under the VMA lockMatthew Wilcox (Oracle)1-1/+1
2023-08-21mm: disable kernelcore=mirror when no mirror memoryMa Wupeng1-0/+1
2023-08-21mm/gup: handle cont-PTE hugetlb pages correctly in gup_must_unshare() via GUP...David Hildenbrand1-0/+10
2023-08-21smaps: use vm_normal_page_pmd() instead of follow_trans_huge_pmd()David Hildenbrand1-0/+7
2023-08-18mm: set up vma iterator for vma_iter_prealloc() callsLiam R. Howlett1-11/+7
2023-08-18mm: use vma_iter_clear_gfp() in nommuLiam R. Howlett1-0/+12
2023-08-18maple_tree: re-introduce entry to mas_preallocate() argumentsLiam R. Howlett1-1/+1
2023-08-18mm: remove re-walk from mmap_region()Liam R. Howlett1-0/+8
2023-08-18mm: change do_vmi_align_munmap() tracking of VMAs to removeLiam R. Howlett1-1/+1
2023-08-18mm, netfs, fscache: stop read optimisation when folio removed from pagecacheDavid Howells1-1/+4
2023-08-18mm: merge folio_has_private()/filemap_release_folio() call pairsDavid Howells1-0/+8
2023-08-18mm: make show_free_areas() staticKefeng Wang1-0/+6
2023-07-11mm/mmap: Add shadow stack pages to memory accountingRick Edgecombe1-2/+2
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-39/+48
2023-06-23mm: rename invalidate_mapping_pagevec to mapping_try_invalidateMatthew Wilcox (Oracle)1-2/+2
2023-06-19mm/folio: replace set_compound_order with folio_set_orderTarun Sahu1-16/+16
2023-06-19mm: remove set_compound_page_dtor()Sidhartha Kumar1-1/+1
2023-06-19mm/folio: avoid special handling for order value 0 in folio_set_orderTarun Sahu1-6/+2
2023-06-09mm/mlock: rename mlock_future_check() to mlock_future_ok()Andrew Morton1-1/+1
2023-06-09mm/mmap: refactor mlock_future_check()Lorenzo Stoakes1-2/+2
2023-06-09mm: update vma_iter_store() to use MAS_WARN_ON()Liam R. Howlett1-11/+10
2023-06-09mm: update validate_mm() to use vma iteratorLiam R. Howlett1-1/+2
2023-06-09maple_tree: add format option to mt_dump()Liam R. Howlett1-2/+2
2023-06-09mm: page_alloc: move is_check_pages_enabled() into page_alloc.cKefeng Wang1-5/+0
2023-06-09mm: page_alloc: move sysctls into it own filsKefeng Wang1-0/+11
2023-06-09mm: page_alloc: move set_zone_contiguous() into mm_init.cKefeng Wang1-0/+7
2023-05-18x86/mm: Add early_memremap_pgprot_adjust() prototypeArnd Bergmann1-6/+0
2023-04-21mm: correct arg in reclaim_pages()/reclaim_clean_pages_from_list()Kefeng Wang1-1/+2
2023-04-18mm: apply __must_check to vmap_pages_range_noflush()Alexander Potapenko1-5/+5
2023-04-18mm: move free_area_empty() to mm/internal.hMike Rapoport (IBM)1-0/+5
2023-04-05mm: conditionally write-lock VMA in free_pgtablesSuren Baghdasaryan1-1/+1
2023-04-05mm: move vmalloc_init() declaration to mm/internal.hMike Rapoport (IBM)1-0/+5
2023-04-05mm: move mem_init_print_info() to mm_init.cMike Rapoport (IBM)1-0/+1
2023-04-05mm: move init_mem_debugging_and_hardening() to mm/mm_init.cMike Rapoport (IBM)1-0/+8
2023-04-05mm: move most of core MM initialization to mm/mm_init.cMike Rapoport (IBM)1-1/+37
2023-03-28mm, printk: introduce new format %pGt for page_typeHyeonggon Yoo1-0/+1
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-44/+232
2023-02-20splice: Add a func to do a splice from a buffered file without ITER_PIPEDavid Howells1-0/+6
2023-02-20mm: change to return bool for isolate_lru_page()Baolin Wang1-1/+1
2023-02-20mm: change to return bool for folio_isolate_lru()Baolin Wang1-1/+1
2023-02-09mm/gup: move private gup FOLL_ flags to internal.hJason Gunthorpe1-0/+15
2023-02-09mm/gup: move gup_must_unshare() to mm/internal.hJason Gunthorpe1-0/+65
2023-02-09mm/gup: move try_grab_page() to mm/internal.hJason Gunthorpe1-0/+1
2023-02-09mm/mmap: refactor locking out of __vma_adjust()Liam R. Howlett1-0/+14
2023-02-09mm: expand vma iterator interfaceLiam R. Howlett1-0/+64
2023-02-02mm, compaction: rename compact_control->rescan to finish_pageblockMel Gorman1-1/+5
2023-02-02mm: remove munlock_vma_page()Matthew Wilcox (Oracle)1-8/+0
2023-02-02mm: remove mlock_vma_page()Matthew Wilcox (Oracle)1-9/+1
2023-02-02mm: remove page_evictable()Matthew Wilcox (Oracle)1-11/+0
2023-02-02mm: discard __GFP_ATOMICNeilBrown1-1/+1
2023-02-02mm/page_alloc: explicitly define how __GFP_HIGH non-blocking allocations acce...Mel Gorman1-2/+5
2023-02-02mm/page_alloc: explicitly define what alloc flags deplete min reservesMel Gorman1-0/+3
2023-02-02mm/page_alloc: explicitly record high-order atomic allocations in alloc_flagsMel Gorman1-0/+1
2023-02-02mm/page_alloc: rename ALLOC_HIGH to ALLOC_MIN_RESERVEMel Gorman1-1/+3
2023-02-02mm: mlock: update the interface to use foliosLorenzo Stoakes1-16/+22
2023-02-02mm: convert head_subpages_mapcount() into folio_nr_pages_mapped()Matthew Wilcox (Oracle)1-0/+18
2023-01-18mm: move folio_set_compound_order() to mm/internal.hSidhartha Kumar1-0/+19
2022-11-08mm/hwpoison: introduce per-memory_block hwpoison counterNaoya Horiguchi1-8/+0
2022-11-08filemap: find_get_entries() now updates start offsetVishal Moola (Oracle)1-1/+1