aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
AgeCommit message (Expand)AuthorFilesLines
6 daysmm/huge_memory: Fix initialization of huge zero folioLinus Torvalds1-7/+2
2025-10-02Merge tag 'mm-stable-2025-10-01-19-00' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-51/+106
2025-09-29mm: Introduce alloc_frozen_pages_nolock()Alexei Starovoitov1-21/+28
2025-09-29mm: Allow GFP_ACCOUNT to be used in alloc_pages_nolock().Alexei Starovoitov1-4/+6
2025-09-23mm: page_alloc: avoid kswapd thrashing due to NUMA restrictionsJohannes Weiner1-0/+24
2025-09-21mm: remove page->orderMatthew Wilcox (Oracle)1-2/+2
2025-09-21alloc_tag: avoid warnings when freeing non-compound "tail" pagesSuren Baghdasaryan1-1/+8
2025-09-21mm: re-enable kswapd when memory pressure subsides or demotion is toggledChanwon Park1-7/+22
2025-09-21mm/page_alloc: check the correct buddy if it is a starting blockWei Yang1-17/+8
2025-09-21mm/page_alloc: add kernel-docs for free_pages()Vishal Moola (Oracle)1-0/+9
2025-09-21mm/page_alloc: reject unreasonable folio/compound page sizes in alloc_contig_...David Hildenbrand1-1/+9
2025-09-13mm/page_alloc: find_large_buddy() from start_pfn aligned orderWei Yang1-1/+7
2025-09-13mm/pageblock-flags: remove PB_migratetype_bits/PB_migrate_endWei Yang1-2/+2
2025-09-13mm/page_alloc: use xxx_pageblock_isolate() for better readingWei Yang1-4/+3
2025-09-13mm/page_alloc: harmonize should_compact_retry() typeBrendan Jackman1-1/+1
2025-09-13mm: remove is_migrate_highatomic()Brendan Jackman1-1/+1
2025-09-13mm: introduce memdesc_flags_tMatthew Wilcox (Oracle)1-6/+6
2025-09-13mm/page_alloc: remove redundant pcp->free_count initialization in per_cpu_pag...Ye Liu1-1/+0
2025-09-13mm/page_alloc: simplify lowmem_reserve max calculationYe Liu1-6/+3
2025-09-13mm/page_alloc: only set ALLOC_HIGHATOMIC for __GPF_HIGH allocationsThadeu Lima de Souza Cascardo1-1/+1
2025-07-26mm/page_alloc: remove trace_mm_alloc_contig_migrate_range_info()Zi Yan1-29/+3
2025-07-13mm/page-alloc: remove PageMappingFlags()David Hildenbrand1-4/+3
2025-07-13mm: rename __PageMovable() to page_has_movable_ops()David Hildenbrand1-1/+1
2025-07-13mm/page_alloc: let page freeing clear any set page typeDavid Hildenbrand1-0/+4
2025-07-13mm/page_isolation: remove migratetype parameter from more functionsZi Yan1-13/+14
2025-07-13mm/page_isolation: remove migratetype from undo_isolate_page_range()Zi Yan1-1/+1
2025-07-13mm/page_isolation: remove migratetype from move_freepages_block_isolate()Zi Yan1-17/+63
2025-07-13mm/page_alloc: add support for initializing pageblock as isolatedZi Yan1-0/+26
2025-07-13mm/page_isolation: make page isolation a standalone bitZi Yan1-3/+24
2025-07-13mm/page_alloc: pageblock flags functions clean upZi Yan1-39/+132
2025-07-09mm: restore documentation for __free_pages()Matthew Wilcox (Oracle)1-19/+19
2025-05-31Merge tag 'mm-stable-2025-05-31-14-50' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-36/+26
2025-05-28Merge tag 'net-next-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-6/+2
2025-05-27mm: pcp: increase pcp->free_count threshold to trigger free_highNikhil Dhama1-1/+1
2025-05-22mm: rename try_alloc_pages() to alloc_pages_nolock()Alexei Starovoitov1-7/+8
2025-05-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-68/+20
2025-05-20mm/page_alloc.c: avoid infinite retries caused by cpuset raceTianyang Zhang1-0/+8
2025-05-12cpuset: rename cpuset_node_allowed to cpuset_current_node_allowedGregory Price1-2/+2
2025-05-11mm: page_alloc: tighten up find_suitable_fallback()Johannes Weiner1-18/+13
2025-05-11mm/page_alloc: simplify free_page_is_bad by removing free_page_is_bad_reportYe Liu1-7/+1
2025-05-11mm: page_alloc: remove redundant READ_ONCESongtang Liu1-1/+1
2025-05-11mm/page_alloc: fix race condition in unaccepted memory handlingKirill A. Shutemov1-47/+0
2025-05-11mm/page_alloc: ensure try_alloc_pages() plays well with unaccepted memoryKirill A. Shutemov1-13/+15
2025-05-11mm/codetag: move tag retrieval back upfront in __free_pages()David Wang1-9/+6
2025-04-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-14/+26
2025-04-17mm: vmscan: restore high-cpu watermark safety in kswapdJohannes Weiner1-12/+0
2025-04-17mm/page_alloc: fix deadlock on cpu_hotplug_lock in __accept_page()Kirill A. Shutemov1-2/+26
2025-04-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-40/+88
2025-04-14page_pool: Move pp_magic check into helper functionsToke Høiland-Jørgensen1-6/+2
2025-04-11mm: page_alloc: speed up fallbacks in rmqueue_bulk()Johannes Weiner1-34/+79
2025-04-11mm/page_alloc: avoid second trylock of zone->lockAlexei Starovoitov1-6/+9
2025-04-03Merge tag 'mm-stable-2025-04-02-22-07' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-3/+3
2025-04-02mm/page_alloc: Fix try_alloc_pagesAlexei Starovoitov1-0/+3
2025-04-01mm/page_alloc: replace flag check with PageHWPoison() in check_new_page_bad()Ye Liu1-1/+1
2025-04-01mm: page_alloc: fix defrag_mode's retry & OOM pathJohannes Weiner1-2/+2
2025-04-01Merge tag 'mm-stable-2025-03-30-16-52' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-304/+444
2025-03-30Merge tag 'bpf_try_alloc_pages' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-15/+188
2025-03-21mm/page_alloc: remove unnecessary __maybe_unused in order_to_pindex()Liu Ye1-1/+1
2025-03-21mm: simplify split_page_memcg()Matthew Wilcox (Oracle)1-2/+2
2025-03-17mm: page_alloc: defrag_mode kswapd/kcompactd watermarksJohannes Weiner1-6/+23
2025-03-17mm: page_alloc: defrag_mode kswapd/kcompactd assistanceJohannes Weiner1-4/+10
2025-03-17mm: page_alloc: defrag_modeJohannes Weiner1-2/+25
2025-03-17mm: page_alloc: trace type pollution from compaction capturingJohannes Weiner1-0/+4
2025-03-17mm/page_alloc: add trace event for totalreserve_pages calculationMartin Liu1-0/+1
2025-03-17mm/page_alloc: add trace event for per-zone lowmem reserve setupMartin Liu1-0/+2
2025-03-17mm/page_alloc: add trace event for per-zone watermark setupMartin Liu1-0/+1
2025-03-17mm: stop maintaining the per-page mapcount of large folios (CONFIG_NO_PAGE_MA...David Hildenbrand1-1/+2
2025-03-17mm/rmap: basic MM owner tracking for large folios (!hugetlb)David Hildenbrand1-0/+10
2025-03-17mm: move _entire_mapcount in folio to page[2] on 32bitDavid Hildenbrand1-4/+8
2025-03-17mm: move _pincount in folio to page[2] on 32bitDavid Hildenbrand1-3/+11
2025-03-17mm: move hugetlb specific things in folio to page[3]David Hildenbrand1-0/+5
2025-03-17mm: let _folio_nr_pages overlay memcg_data in first tail pageDavid Hildenbrand1-1/+5
2025-03-17mm/page_alloc: clarify should_claim_block() commentaryBrendan Jackman1-20/+26
2025-03-17mm/page_alloc: clarify terminology in migratetype fallback codeBrendan Jackman1-36/+36
2025-03-16mm/page_alloc: warn on nr_reserved_highatomic underflowBrendan Jackman1-2/+3
2025-03-16mm: page_alloc: group fallback functions togetherJohannes Weiner1-197/+197
2025-03-16mm: page_alloc: remove remnants of unlocked migratetype updatesJohannes Weiner1-34/+16
2025-03-16mm: page_alloc: don't steal single pages from biggest buddyJohannes Weiner1-46/+34
2025-03-16alloc_tag: uninline code gated by mem_alloc_profiling_key in page allocatorSuren Baghdasaryan1-0/+78
2025-03-16mm: avoid extra mem_alloc_profiling_enabled() checksSuren Baghdasaryan1-2/+1
2025-03-16mm/page_alloc: fix memory accept before watermarks gets initializedKirill A. Shutemov1-2/+12
2025-03-05mm/page_alloc: fix uninitialized variableHao Zhang1-0/+1
2025-03-05Revert "mm/page_alloc.c: don't show protection in zone's ->lowmem_reserve[] f...Gabriel Krisman Bertazi1-2/+1
2025-02-27mm, bpf: Use memcg in try_alloc_pages().Alexei Starovoitov1-1/+7
2025-02-27mm, bpf: Introduce free_pages_nolock()Alexei Starovoitov1-12/+81
2025-02-27mm, bpf: Introduce try_alloc_pages() for opportunistic page allocationAlexei Starovoitov1-3/+101
2025-01-28treewide: const qualify ctl_tables where applicableJoel Granados1-1/+1
2025-01-26Merge tag 'mm-stable-2025-01-26-14-59' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-68/+111
2025-01-25mm/page_alloc: remove the incorrect and misleading commentYuntao Wang1-7/+0
2025-01-25mm: alloc_pages_bulk_noprof: drop page_list argumentLuiz Capitulino1-27/+12
2025-01-25mm: replace free hugepage folios after migrationyangge1-1/+11
2025-01-15mm: page_alloc: fix missed updates of lowmem_reserve in adjust_managed_page_c...zihan zhou1-0/+3
2025-01-13mm/page_alloc: don't use __GFP_HARDWALL when migrating pages via alloc_contig*()David Hildenbrand1-3/+3
2025-01-13mm/page_alloc: forward the gfp flags from alloc_contig_range() to post_alloc_...David Hildenbrand1-4/+5
2025-01-13mm/page_alloc: sort out the alloc_contig_range() gfp flags messDavid Hildenbrand1-4/+44
2025-01-13mm/page_alloc: make __alloc_contig_migrate_range() staticDavid Hildenbrand1-3/+2
2025-01-13mm/page_isolation: don't pass gfp flags to start_isolate_page_range()David Hildenbrand1-1/+1
2025-01-13mm/memory_hotplug: move debug_pagealloc_map_pages() into online_pages_range()David Hildenbrand1-6/+0
2025-01-13mm/page_alloc: add some detailed comments in can_steal_fallbackgaoxiang171-0/+8
2025-01-13mm/page_alloc: add __alloc_frozen_pages()Matthew Wilcox (Oracle)1-4/+14
2025-01-13mm/page_alloc: move set_page_refcounted() to end of __alloc_pages()Matthew Wilcox (Oracle)1-6/+4
2025-01-13mm/page_alloc: move set_page_refcounted() to callers of __alloc_pages_slowpath()Matthew Wilcox (Oracle)1-21/+9
2025-01-13mm/page_alloc: move set_page_refcounted() to callers of __alloc_pages_direct_...Matthew Wilcox (Oracle)1-2/+3
2025-01-13mm/page_alloc: move set_page_refcounted() to callers of __alloc_pages_direct_...Matthew Wilcox (Oracle)1-3/+6
2025-01-13mm/page_alloc: move set_page_refcounted() to callers of __alloc_pages_may_oom()Matthew Wilcox (Oracle)1-6/+4
2025-01-13mm/page_alloc: move set_page_refcounted() to callers of __alloc_pages_cpuset_...Matthew Wilcox (Oracle)1-4/+5
2025-01-13mm/page_alloc: move set_page_refcounted() to callers of get_page_from_freelist()Matthew Wilcox (Oracle)1-8/+17
2025-01-13mm/page_alloc: move set_page_refcounted() to callers of prep_new_page()Matthew Wilcox (Oracle)1-2/+6
2025-01-13mm/page_alloc: move set_page_refcounted() to callers of post_alloc_hook()Matthew Wilcox (Oracle)1-1/+2
2025-01-13mm/page_alloc: export free_frozen_pages() instead of free_unref_page()Matthew Wilcox (Oracle)1-9/+9
2025-01-13mm/page_alloc: cache page_zone() result in free_unref_page()Matthew Wilcox (Oracle)1-2/+2
2024-12-18mm/page_alloc: don't call pfn_to_page() on possibly non-existent PFN in split...David Hildenbrand1-2/+4
2024-11-23Merge tag 'mm-stable-2024-11-18-19-27' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2024-11-21Merge tag 'net-next-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-136/+0
2024-11-14mm: fix NULL pointer dereference in alloc_pages_bulk_noprofJinjiang Tu1-1/+2
2024-11-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-7/+24
2024-11-11mm: page_alloc: move mlocked flag clearance into free_pages_prepare()Roman Gushchin1-0/+15
2024-11-11mm: move the page fragment allocator from page_alloc into its own fileYunsheng Lin1-136/+0
2024-11-11Merge branch 'mm-hotfixes-stable' into mm-stableAndrew Morton1-3/+7
2024-11-07mm/page_alloc: keep track of free highatomicYu Zhao1-3/+7
2024-11-06mm/page_alloc: use str_off_on() helper in build_all_zonelists()Thorsten Blum1-1/+1
2024-11-05mm/thp: fix deferred split unqueue naming and lockingHugh Dickins1-1/+0
2024-11-05mm/thp: fix deferred split queue not partially_mappedHugh Dickins1-3/+2
2024-10-28mm/page_alloc: let GFP_ATOMIC order-0 allocs access highatomic reservesMatt Fleming1-5/+5
2024-09-21Merge tag 'mm-stable-2024-09-20-02-31' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-130/+219
2024-09-19Merge tag 'sched-core-2024-09-19' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2024-09-09mm/codetag: fix pgalloc_tag_split()Yu Zhao1-2/+2
2024-09-09mm/page_alloc: fix build with CONFIG_UNACCEPTED_MEMORY=nAndrew Morton1-11/+5
2024-09-09mm: page_alloc: fix missed updates of PGFREE in free_unref_{page/folios}Yosry Ahmed1-6/+4
2024-09-09mm: page_alloc: simpify page del and expandHuan Yang1-10/+25
2024-09-09mm: introduce a pageflag for partially mapped foliosUsama Arif1-2/+3
2024-09-09mm: warn about illegal __GFP_NOFAIL usage in a more appropriate location and ...Barry Song1-25/+25
2024-09-09mm: count the number of anonymous THPs per sizeBarry Song1-1/+4
2024-09-03mm:page_alloc: fix the NULL ac->nodemask in __alloc_pages_slowpath()Zhongkun He1-0/+5
2024-09-03mm/contig_alloc: support __GFP_COMPYu Zhao1-31/+80
2024-09-01mm: accept to promo watermarkKirill A. Shutemov1-2/+2
2024-09-01mm: add a helper to accept pageKirill A. Shutemov1-12/+35
2024-09-01mm: rework accept memory helpersKirill A. Shutemov1-16/+3
2024-09-01mm: introduce PageUnaccepted() page typeKirill A. Shutemov1-0/+2
2024-09-01mm: accept memory in __alloc_pages_bulk()Kirill A. Shutemov1-0/+11
2024-09-01mm: reduce deferred struct page init ifdefferyKirill A. Shutemov1-4/+5
2024-09-01mm: improve code consistency with zonelist_* helper functionsWei Yang1-11/+11
2024-09-01codetag: debug: mark codetags for poisoned page as emptyHao Ge1-0/+7
2024-08-15alloc_tag: introduce clear_page_tag_ref() helper functionSuren Baghdasaryan1-8/+1
2024-08-15mm: fix endless reclaim on machines with unaccepted memoryKirill A. Shutemov1-22/+20
2024-08-15mm: don't account memmap per-nodePasha Tatashin1-1/+0
2024-08-07sched/rt: Rename realtime_{prio, task}() to rt_or_dl_{prio, task}()Qais Yousef1-1/+1
2024-08-07sched/rt: Clean up usage of rt_task()Qais Yousef1-1/+1
2024-07-26mm/page_alloc: fix pcp->count race between drain_pages_zone() vs __rmqueue_pc...Li Zhijian1-7/+11
2024-07-26alloc_tag: outline and export free_reserved_page()Suren Baghdasaryan1-0/+17
2024-07-24sysctl: treewide: constify the ctl_table argument of proc_handlersJoel Granados1-7/+7
2024-07-17mm, page_alloc: put should_fail_alloc_page() back behing CONFIG_FAIL_PAGE_ALLOCVlastimil Babka1-6/+0
2024-07-12mm/page_alloc: put __free_pages_core() in __meminit sectionWei Yang1-1/+1
2024-07-10mm/page_alloc: remove prefetchw() on freeing page to buddy systemWei Yang1-11/+2
2024-07-04mm: refactor folio_undo_large_rmappable()Kefeng Wang1-2/+1
2024-07-03mm/page_alloc: reword the comment of buddy_merge_likely()Wei Yang1-3/+3
2024-07-03mm/page_alloc: fix a typo in comment about GFP flagWei Yang1-1/+1
2024-07-03mm/memory_hotplug: skip adjust_managed_page_count() for PageOffline() pages w...David Hildenbrand1-2/+10
2024-07-03mm/memory_hotplug: initialize memmap of !ZONE_DEVICE with PageOffline() inste...David Hildenbrand1-9/+23
2024-07-03mm: pass meminit_context to __free_pages_core()David Hildenbrand1-2/+15
2024-07-03mm/page_alloc: clear PageBuddy using __ClearPageBuddy() for bad pagesDavid Hildenbrand1-2/+4
2024-07-03mm: report per-page metadata informationSourav Panda1-0/+1
2024-07-03mm/highmem: reimplement totalhigh_pages() by walking zonesDavid Hildenbrand1-4/+0
2024-06-24mm/page_alloc: Separate THP PCP into movable and non-movable categoriesyangge1-2/+7
2024-06-15Revert "mm: init_mlocked_on_free_v3"David Hildenbrand1-1/+1
2024-06-05mm: page_alloc: fix highatomic typing in multi-block buddiesJohannes Weiner1-16/+34
2024-05-05mm: page_alloc: allowing mTHP compaction to capture the freed page directlyBaolin Wang1-2/+4
2024-05-05mm/page_alloc: use folio_mapped() in __alloc_contig_migrate_range()David Hildenbrand1-2/+6
2024-05-05mm: track mapcount of large folios in single valueDavid Hildenbrand1-0/+4
2024-04-25mm: inline destroy_large_folio() into __folio_put_large()Matthew Wilcox (Oracle)1-14/+0
2024-04-25mm: combine free_the_page() and free_unref_page()Matthew Wilcox (Oracle)1-14/+11
2024-04-25mm: page_alloc: use the correct THP order for THP PCPBaolin Wang1-3/+3
2024-04-25memory: remove the now superfluous sentinel element from ctl_table arrayJoel Granados1-1/+0
2024-04-25mm: init_mlocked_on_free_v3York Jasper Niebuhr1-1/+1
2024-04-25mm/page_alloc.c: change the array-length to MIGRATE_PCPTYPESBaoquan He1-1/+1
2024-04-25mm/page_alloc.c: don't show protection in zone's ->lowmem_reserve[] for empty...Baoquan He1-2/+3
2024-04-25mm/page_alloc.c: remove unneeded codes in !NUMA version of build_zonelists()Baoquan He1-24/+0
2024-04-25mm: make is_free_buddy_page() take a const argumentMatthew Wilcox (Oracle)1-4/+4
2024-04-25mm: record the migration reason for struct migration_target_controlBaolin Wang1-0/+1
2024-04-25mm: page_alloc: batch vmstat updates in expand()Johannes Weiner1-1/+4
2024-04-25mm: page_alloc: change move_freepages() to __move_freepages_block()Vlastimil Babka1-23/+20
2024-04-25mm: page_alloc: consolidate free page accountingJohannes Weiner1-84/+108
2024-04-25mm: page_isolation: prepare for hygienic freelistsJohannes Weiner1-84/+120
2024-04-25mm: page_alloc: set migratetype inside move_freepages()Zi Yan1-14/+13
2024-04-25mm: page_alloc: close migratetype race between freeing and stealingJohannes Weiner1-33/+19
2024-04-25mm: page_alloc: fix freelist movement during block conversionJohannes Weiner1-69/+105
2024-04-25mm: page_alloc: fix move_freepages_block() range errorJohannes Weiner1-2/+8
2024-04-25mm: page_alloc: move free pages when converting block during isolationJohannes Weiner1-1/+4
2024-04-25mm: page_alloc: fix up block types when merging compatible blocksJohannes Weiner1-4/+11
2024-04-25mm: page_alloc: optimize free_unref_folios()Johannes Weiner1-9/+23
2024-04-25mm: page_alloc: remove pcppage migratetype cachingJohannes Weiner1-52/+14
2024-04-25mm: always initialise folio->_deferred_listMatthew Wilcox (Oracle)1-4/+5
2024-04-25mm: fix non-compound multi-order memory accounting in __free_pagesSuren Baghdasaryan1-1/+4
2024-04-25mm: create new codetag references during page splittingSuren Baghdasaryan1-0/+2
2024-04-25mm: enable page allocation taggingSuren Baghdasaryan1-26/+26
2024-04-25lib: introduce support for page allocation taggingSuren Baghdasaryan1-0/+4
2024-04-25mm: page_alloc: control latency caused by zone PCP drainingLucas Stach1-4/+7
2024-03-14Merge tag 'mm-stable-2024-03-13-20-04' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-81/+106
2024-03-12Merge tag 'net-next-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-6/+16
2024-03-06mm: page_alloc: use div64_ul() instead of do_div()Thorsten Blum1-1/+1