aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
AgeCommit message (Expand)AuthorFilesLines
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
2024-03-05net: introduce page_frag_cache_drain()Yunsheng Lin1-0/+10
2024-03-05page_frag: unify gfp bits for order 3 page allocationYunsheng Lin1-2/+2
2024-03-05mm/page_alloc: modify page_frag_alloc_align() to accept align as an argumentYunsheng Lin1-4/+4
2024-03-04mm: add alloc_contig_migrate_range allocation statisticsRichard Chang1-5/+27
2024-03-04mm: remove free_unref_page_list()Matthew Wilcox (Oracle)1-18/+0
2024-03-04mm: handle large folios in free_unref_folios()Matthew Wilcox (Oracle)1-8/+17
2024-03-04mm: add free_unref_folios()Matthew Wilcox (Oracle)1-23/+36
2024-03-04mm: convert free_unref_page_list() to use foliosMatthew Wilcox (Oracle)1-18/+20
2024-03-04mm: page_owner: add support for splitting to any order in split page_ownerZi Yan1-2/+2
2024-03-04mm: memcg: make memcg huge page split support any order splitZi Yan1-2/+2
2024-03-04mm/page_owner: use order instead of nr in split_page_owner()Zi Yan1-2/+2
2024-03-04mm/memcg: use order instead of nr in split_page_memcg()Zi Yan1-2/+2
2024-03-04mm/page_alloc: make check_new_page() return boolHao Ge1-3/+3
2024-03-04mm, vmscan: prevent infinite loop for costly GFP_NOIO | __GFP_RETRY_MAYFAIL a...Vlastimil Babka1-4/+6
2024-02-23mm/page_alloc: make bad_range() return boolHao Ge1-6/+6
2024-02-23mm/compaction: add support for >0 order folio memory compaction.Zi Yan1-1/+1
2024-02-23mm/page_alloc: remove unused fpi_flags in free_pages_prepare()Zi Yan1-5/+5
2024-02-22mm and cache_info: remove unnecessary CPU cache info updateHuang Ying1-21/+18
2024-01-11Merge tag 'net-next-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-0/+7
2024-01-08mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDERKirill A. Shutemov1-12/+12
2024-01-08mm, treewide: introduce NR_PAGE_ORDERSKirill A. Shutemov1-7/+6
2023-12-29mm, kasan: use KASAN_TAG_KERNEL instead of 0xffAndrey Konovalov1-1/+1
2023-12-20mm: page_alloc: simplify __free_pages_ok()Yajun Deng1-8/+1
2023-12-10mm: page_alloc: unreserve highatomic page blocks before oomCharan Teja Kalla1-8/+8
2023-12-10mm: page_alloc: enforce minimum zone size to do high atomic reservesCharan Teja Kalla1-1/+4
2023-12-10mm: page_alloc: correct high atomic reserve calculationsCharan Teja Kalla1-2/+3
2023-12-10mm/page_alloc: dedupe some memcg uncharging logicBrendan Jackman1-8/+4
2023-11-26mm/page_pool: catch page_pool memory leaksJesper Dangaard Brouer1-0/+7
2023-10-25mm: add page_rmappable_folio() wrapperHugh Dickins1-6/+2
2023-10-25mm: page_alloc: check the order of compound page even when the order is zeroHyesoo Yu1-3/+3
2023-10-25mm: page_alloc: skip memoryless nodes entirelyQi Zheng1-2/+5
2023-10-25mm, pcp: reduce detecting time of consecutive high order page freeingHuang Ying1-12/+15
2023-10-25mm, pcp: decrease PCP high if free pages < high watermarkHuang Ying1-2/+31
2023-10-25mm: tune PCP high automaticallyHuang Ying1-25/+94
2023-10-25mm: add framework for PCP high auto-tuningHuang Ying1-25/+46
2023-10-25mm, page_alloc: scale the number of pages that are batch allocatedHuang Ying1-10/+43
2023-10-25mm: restrict the pcp batch scale factor to avoid too long latencyHuang Ying1-1/+1
2023-10-25mm, pcp: reduce lock contention for draining high-order pagesHuang Ying1-1/+37
2023-10-25mm, pcp: avoid to drain PCP when process exitHuang Ying1-3/+8
2023-10-18mm/page_alloc: remove unnecessary next_page in break_down_buddy_pagesKemeng Shi1-4/+2
2023-10-18mm/page_alloc: remove unnecessary check in break_down_buddy_pagesKemeng Shi1-4/+2
2023-10-06mm/page_alloc: correct start page when guard page debug is enabledKemeng Shi1-1/+1
2023-09-19mm: page_alloc: fix CMA and HIGHATOMIC landing on the wrong buddy listJohannes Weiner1-6/+6
2023-09-02mm: page_alloc: remove stale CMA guard codeJohannes Weiner1-17/+4
2023-08-21mm: add large_rmappable page flagMatthew Wilcox (Oracle)1-6/+1
2023-08-21mm: remove HUGETLB_PAGE_DTORMatthew Wilcox (Oracle)1-1/+1
2023-08-21mm: remove free_compound_page() and the compound_page_dtors arrayMatthew Wilcox (Oracle)1-19/+5
2023-08-21mm: convert prep_transhuge_page() to folio_prep_large_rmappable()Matthew Wilcox (Oracle)1-3/+4
2023-08-21mm: convert free_transhuge_folio() to folio_undo_large_rmappable()Matthew Wilcox (Oracle)1-3/+6
2023-08-21mm: convert free_huge_page() to free_huge_folio()Matthew Wilcox (Oracle)1-1/+1
2023-08-21mm: call free_huge_page() directlyMatthew Wilcox (Oracle)1-3/+5
2023-08-21mm/page_alloc: use get_pfnblock_migratetype to avoid extra page_to_pfnKemeng Shi1-2/+2
2023-08-21mm/page_alloc: remove unnecessary inner __get_pfnblock_flags_maskKemeng Shi1-19/+11
2023-08-21mm: page_alloc: remove unused parameter from reserve_highatomic_pageblock()ZhangPeng1-3/+2
2023-08-21mm/page_alloc: remove unnecessary parameter batch of nr_pcp_freeKemeng Shi1-5/+3
2023-08-21mm/page_alloc: remove track of active PCP lists range in bulk freeKemeng Shi1-12/+3
2023-08-21mm/page_alloc: remove unneeded variable baseMiaohe Lin1-3/+1
2023-08-21mm/page_alloc: avoid unneeded alike_pages calculationMiaohe Lin1-6/+5
2023-08-18mm: page_alloc: avoid false page outside zone error infoMiaohe Lin1-3/+2
2023-08-18mm/page_alloc: use write_seqlock_irqsave() instead write_seqlock() + local_ir...Sebastian Andrzej Siewior1-9/+6
2023-08-18mm/page_alloc: fix min_free_kbytes calculation regarding ZONE_MOVABLEliuq1-6/+6
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-749/+124
2023-06-23mm: page_alloc: use the correct type of list for free pagesBaolin Wang1-1/+1
2023-06-19mm: page_alloc: make compound_page_dtors staticMiaohe Lin1-1/+1
2023-06-09mm: page_alloc: remove unneeded header filesMiaohe Lin1-4/+0
2023-06-09mm/page_alloc: don't wake kswapd from rmqueue() unless __GFP_KSWAPD_RECLAIM i...Tetsuo Handa1-1/+2
2023-06-09mm: compaction: simplify should_compact_retry()Johannes Weiner1-38/+19
2023-06-09mm: compaction: remove compaction result helpersJohannes Weiner1-13/+17
2023-06-09mm: page_alloc: set sysctl_lowmem_reserve_ratio storage-class-specifier to st...Tom Rix1-1/+1
2023-06-09mm: page_alloc: move is_check_pages_enabled() into page_alloc.cKefeng Wang1-1/+6
2023-06-09mm: page_alloc: move sysctls into it own filsKefeng Wang1-14/+89
2023-06-09mm: page_alloc: move pm_* function into powerKefeng Wang1-38/+0
2023-06-09mm: page_alloc: move mark_free_page() into snapshot.cKefeng Wang1-55/+0
2023-06-09mm: page_alloc: split out DEBUG_PAGEALLOCKefeng Wang1-69/+0
2023-06-09mm: page_alloc: split out FAIL_PAGE_ALLOCKefeng Wang1-74/+0
2023-06-09mm: page_alloc: remove alloc_contig_dump_pages() stubKefeng Wang1-7/+0
2023-06-09mm: page_alloc: squash page_is_consistent()Kefeng Wang1-8/+1
2023-06-09mm: page_alloc: collect mem statistic into show_mem.cKefeng Wang1-402/+0
2023-06-09mm: page_alloc: move set_zone_contiguous() into mm_init.cKefeng Wang1-27/+0
2023-06-09mm: page_alloc: move init_on_alloc/free() into mm_init.cKefeng Wang1-5/+0
2023-06-09mm: page_alloc: move mirrored_kernelcore into mm_init.cKefeng Wang1-3/+0
2023-06-09mm/page_alloc: drop the unnecessary pfn_valid() for start pfnBaolin Wang1-1/+1
2023-06-06mm: Add support for unaccepted memoryKirill A. Shutemov1-0/+173
2023-05-04Merge tag 'mm-stable-2023-05-03-16-22' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+9
2023-05-02mm/page_alloc: add some comments to explain the possible hole in __pageblock_...Baolin Wang1-0/+9
2023-04-29Merge tag 'cgroup-for-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-2/+2
2023-04-18mm, page_alloc: use check_pages_enabled static key to check tail pagesVlastimil Babka1-5/+5
2023-04-18sync mm-stable with mm-hotfixes-stable to pick up depended-upon upstream changesAndrew Morton1-0/+19
2023-04-18mm: page_alloc: skip regions with hugetlbfs pages when allocating 1G pagesMel Gorman1-0/+3
2023-04-18mm/page_alloc: fix potential deadlock on zonelist_update_seq seqlockTetsuo Handa1-0/+16
2023-04-05mm: move mem_init_print_info() to mm_init.cMike Rapoport (IBM)1-53/+0
2023-04-05mm: move init_mem_debugging_and_hardening() to mm/mm_init.cMike Rapoport (IBM)1-95/+0
2023-04-05mm/page_alloc: rename page_alloc_init() to page_alloc_init_cpuhp()Mike Rapoport (IBM)1-1/+1
2023-04-05mm: handle hashdist initialization in mm/mm_init.cMike Rapoport (IBM)1-18/+0
2023-04-05mm: move most of core MM initialization to mm/mm_init.cMike Rapoport (IBM)1-2333/+11
2023-04-05mm/page_alloc: add helper for checking if check_pages_enabledMike Rapoport (IBM)1-3/+8
2023-04-05mm: move get_page_from_free_area() to mm/page_alloc.cMike Rapoport (IBM)1-0/+7
2023-04-05mm, treewide: redefine MAX_ORDER sanelyKirill A. Shutemov1-19/+19
2023-03-28mm: prefer xxx_page() alloc/free functions for order-0 pagesLorenzo Stoakes1-1/+1
2023-03-28kasan: remove PG_skip_kasan_poison flagPeter Collingbourne1-51/+30
2023-03-28mm, page_alloc: reduce page alloc/free sanity checksVlastimil Babka1-135/+52
2023-03-28mm: reduce lock contention of pcp buffer refillAlexander Halbuer1-4/+18
2023-03-23cpuset: Clean up cpuset_node_allowedHaifeng Xu1-2/+2
2023-03-23Revert "kasan: drop skip_kasan_poison variable in free_pages_prepare"Peter Collingbourne1-1/+2
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-95/+138
2023-02-16mm: memcontrol: rename memcg_kmem_enabled()Roman Gushchin1-4/+4
2023-02-16mm: page_alloc: call panic() when memoryless node allocation failsQi Zheng1-5/+3
2023-02-12Fix page corruption caused by racy check in __free_pagesDavid Chen1-1/+4
2023-02-09mm/page_alloc: reduce fallbacks to (MIGRATE_PCPTYPES - 1)Yajun Deng1-8/+5
2023-02-02kasan: reset page tags properly with samplingAndrey Konovalov1-5/+6
2023-02-02mm/page_alloc: use deferred_pages_enabled() wherever applicableAnshuman Khandual1-2/+2
2023-02-02mm/page_ext: init page_ext early if there are no deferred struct pagesPasha Tatashin1-1/+5
2023-02-02mm: discard __GFP_ATOMICNeilBrown1-10/+3
2023-02-02mm/page_alloc: explicitly define how __GFP_HIGH non-blocking allocations acce...Mel Gorman1-20/+24
2023-02-02mm/page_alloc: explicitly define what alloc flags deplete min reservesMel Gorman1-12/+22
2023-02-02mm/page_alloc: explicitly record high-order atomic allocations in alloc_flagsMel Gorman1-6/+23
2023-02-02mm/page_alloc: treat RT tasks similar to __GFP_HIGHMel Gorman1-1/+1
2023-02-02mm/page_alloc: rename ALLOC_HIGH to ALLOC_MIN_RESERVEMel Gorman1-4/+4
2023-02-02mm: mlock: update the interface to use foliosLorenzo Stoakes1-1/+1
2023-02-02mm: convert destroy_large_folio() to use folio_dtorMatthew Wilcox (Oracle)1-1/+1
2023-02-02page_alloc: use folio fields directlyMatthew Wilcox (Oracle)1-6/+6
2023-02-02mm: remove folio_pincount_ptr() and head_compound_pincount()Matthew Wilcox (Oracle)1-3/+6
2023-01-18mm/page_alloc: invert logic for early page initialisation checksMike Rapoport (IBM)1-8/+8
2023-01-18mm: multi-gen LRU: per-node lru_gen_folio listsYu Zhao1-0/+1
2023-01-18kasan: allow sampling page_alloc allocations for HW_TAGSAndrey Konovalov1-14/+29
2022-12-11mm/page_alloc: update comments in __free_pages_ok()Deyan Wang1-0/+5
2022-11-30mm/page_alloc: simplify locking during free_unref_page_listMel Gorman1-16/+9
2022-11-30mm/page_alloc: leave IRQs enabled for per-cpu page allocationsMel Gorman1-70/+54
2022-11-30mm/page_alloc: always remove pages from temporary listMel Gorman1-0/+2
2022-11-30mm,thp,rmap: subpages_mapcount COMPOUND_MAPPED if PMD-mappedHugh Dickins1-1/+1
2022-11-30mm,thp,rmap: simplify compound page mapcount handlingHugh Dickins1-11/+16
2022-11-22mm: fix unexpected changes to {failslab|fail_page_alloc}.attrQi Zheng1-2/+5
2022-10-28mm: prep_compound_tail() clear page->privateHugh Dickins1-0/+1
2022-10-20mm/page_alloc: reduce potential fragmentation in make_alloc_exact()Liam R. Howlett1-8/+12
2022-10-14Merge tag 'mm-stable-2022-10-13' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-2/+10
2022-10-12mm/page_alloc: fix incorrect PGFREE and PGALLOC for high-order pageYafang Shao1-2/+2
2022-10-12mm: free device private pages have zero refcountAlistair Popple1-0/+8
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-91/+105
2022-10-09Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-1/+5
2022-10-03mm/page_alloc: update comments for rmqueue()Ran Xiaokai1-1/+2
2022-10-03mm/page_alloc: fix obsolete comment in deferred_pfn_valid()Miaohe Lin1-5/+1
2022-10-03mm/page_alloc: use costly_order in WARN_ON_ONCE_GFP()Miaohe Lin1-1/+1
2022-10-03mm/page_alloc: init local variable buddy_pfnMiaohe Lin1-1/+1
2022-10-03mm/page_alloc: use helper macro SZ_1{K,M}Miaohe Lin1-5/+5
2022-10-03mm/page_alloc: make boot_nodestats staticMiaohe Lin1-1/+1
2022-10-03mm/page_alloc: use local variable zone_idx directlyMiaohe Lin1-1/+1
2022-10-03mm/page_alloc: add missing is_migrate_isolate() check in set_page_guard()Miaohe Lin1-1/+2
2022-10-03mm/page_alloc: fix freeing static percpu memoryMiaohe Lin1-2/+4
2022-10-03mm/page_alloc: add __init annotations to init_mem_debugging_and_hardening()Miaohe Lin1-1/+1
2022-10-03mm/page_alloc: remove obsolete comment in zone_statistics()Miaohe Lin1-2/+0
2022-10-03mm: remove obsolete macro NR_PCP_ORDER_MASK and NR_PCP_ORDER_WIDTHMiaohe Lin1-1/+0
2022-10-03mm/page_alloc: make zone_pcp_update() staticMiaohe Lin1-11/+11
2022-10-03mm/page_alloc: ensure kswapd doesn't accidentally go to sleepMiaohe Lin1-1/+2
2022-10-03security: kmsan: fix interoperability with auto-initializationAlexander Potapenko1-0/+4
2022-10-03init: kmsan: call KMSAN initialization routinesAlexander Potapenko1-0/+4
2022-10-03mm: kmsan: maintain KMSAN metadata for page operationsAlexander Potapenko1-0/+11
2022-10-03mm/page_alloc.c: document bulkfree_pcp_prepare() return valueAndrew Morton1-0/+1
2022-10-03mm/page_alloc.c: rename check_free_page() to free_page_is_bad()Andrew Morton1-10/+10
2022-10-03mm: add pageblock_aligned() macroKefeng Wang1-10/+7
2022-10-03mm: reuse pageblock_start/end_pfn() macroKefeng Wang1-7/+6
2022-09-26mm: reduce noise in show_mem for lowmem allocationsMichal Hocko1-2/+19
2022-09-26Merge branch 'mm-hotfixes-stable' into mm-stableAndrew Morton1-10/+55
2022-09-26mm: prevent page_frag_alloc() from corrupting the memoryMaurizio Lombardi1-0/+12
2022-09-11mm: remove BUG_ON() in __isolate_free_page()Kefeng Wang1-11/+3
2022-09-11mm/page_alloc.c: delete a redundant parameter of rmqueue_pcplistzezuo1-3/+2
2022-09-11mm: fix null-ptr-deref in kswapd_is_running()Kefeng Wang1-0/+1
2022-09-11page_ext: introduce boot parameter 'early_page_ext'Li Zhe1-0/+2
2022-09-11mm: kill find_min_pfn_with_active_regions()Kefeng Wang1-12/+1
2022-09-11mm/page_alloc: only search higher order when fallbackAbel Wu1-1/+1
2022-09-11page_alloc: remove inactive initializationLi kunyu1-1/+1
2022-09-11mm/page_alloc: fix race condition between build_all_zonelists and page alloca...Mel Gorman1-10/+43
2022-08-24mm: add NR_SECONDARY_PAGETABLE to count secondary page table uses.Yosry Ahmed1-1/+5
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-175/+264
2022-08-03Merge tag 'efi-next-for-v5.20' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+1
2022-08-01Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-9/+10
2022-07-29mm/page_alloc: correct the wrong cpuset file path in commentMark-PK Tsai1-1/+1
2022-07-29page_alloc: fix invalid watermark check on a negative valueJaewon Kim1-4/+8
2022-07-17mm/page_alloc: use try_cmpxchg in set_pfnblock_flags_maskUros Bizjak1-7/+3
2022-07-17mm, hugetlb: skip irrelevant nodes in show_free_areas()Gang Li1-2/+6
2022-07-17mm/page_alloc: replace local_lock with normal spinlockMel Gorman1-45/+95
2022-07-17mm/page_alloc: remotely drain per-cpu listsNicolas Saenz Julienne1-54/+4
2022-07-17mm/page_alloc: protect PCP lists with a spinlockMel Gorman1-21/+98
2022-07-17mm/page_alloc: remove mistaken page == NULL check in rmqueueMel Gorman1-3/+1
2022-07-17mm/page_alloc: split out buddy removal code from rmqueue into separate helperMel Gorman1-34/+47
2022-07-17mm/page_alloc: use only one PCP list for THP-sized allocationsMel Gorman1-2/+2
2022-07-17mm/page_alloc: add page->buddy_list and page->pcp_listMel Gorman1-12/+12
2022-07-07mm: kasan: Skip page unpoisoning only if __GFP_SKIP_KASAN_UNPOISONCatalin Marinas1-7/+5
2022-07-07mm: kasan: Skip unpoisoning of user pagesCatalin Marinas1-2/+5
2022-07-03mm/page_alloc: make the annotations of available memory more accurateYang Yang1-3/+3
2022-07-03mm: convert destroy_compound_page() to destroy_large_folio()Matthew Wilcox (Oracle)1-0/+8
2022-07-03mm: introduce clear_highpage_kasan_taggedAndrey Konovalov1-6/+2
2022-07-03mm: rename kernel_init_free_pages to kernel_init_pagesAndrey Konovalov1-3/+3
2022-06-16mm/page_alloc: use might_alloc()Daniel Vetter1-4/+1
2022-06-15memblock: Disable mirror feature if kernelcore is not specifiedMa Wupeng1-1/+1
2022-05-27Merge tag 'mm-stable-2022-05-27' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-6/+26
2022-05-27Merge tag 'mm-hotfixes-stable-2022-05-27' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-2/+2
2022-05-27mm: fix is_pinnable_page against a cma pageMinchan Kim1-2/+6