aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memblock.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-24Merge tag 'cxl-fixes-6.8-rc6' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+3
2024-02-20mm/memblock: add MEMBLOCK_RSRV_NOINIT into flagname[] arrayAnshuman Khandual1-0/+1
2024-02-16x86/numa: Fix the address overlap check in numa_fill_memblks()Alison Schofield1-2/+3
2024-01-28Merge tag 'fixes-2024-01-28' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+3
2024-01-19memblock: fix crash when reserved memory is not added to memoryYajun Deng1-0/+3
2024-01-18Merge tag 'memblock-v6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2024-01-08mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDERKirill A. Shutemov1-3/+4
2023-12-10NUMA: optimize detection of memory with no node id assigned by firmwareLiam Ni1-0/+34
2023-12-08memblock: Return NUMA_NO_NODE instead of -1 to improve code readabilityYuntao Wang1-1/+1
2023-11-08Merge tag 'memblock-v6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2023-10-04memblock: introduce MEMBLOCK_RSRV_NOINIT flagUsama Arif1-5/+28
2023-10-04memblock: pass memblock_type to memblock_setclr_flagUsama Arif1-8/+8
2023-09-28memblock: report failures when memblock_can_resize is not setSong Shuai1-1/+1
2023-08-21mm: disable kernelcore=mirror when no mirror memoryMa Wupeng1-0/+5
2023-07-28Revert "mm,memblock: reset memblock.reserved to system init state to prevent ...Mike Rapoport (IBM)1-4/+0
2023-07-24mm,memblock: reset memblock.reserved to system init state to prevent UAFRik van Riel1-0/+4
2023-06-29Merge tag 'memblock-v6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-5/+29
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-11/+22
2023-06-23mm: pass nid to reserve_bootmem_region()Yajun Deng1-10/+21
2023-06-19mm/memory_hotplug: remove reset_node_managed_pages() in hotadd_init_pgdat()Haifeng Xu1-1/+1
2023-06-06mm: Add support for unaccepted memoryKirill A. Shutemov1-0/+9
2023-06-02memblock: Update nid info in memblock debugfsYuwei Guan1-2/+6
2023-05-24memblock: Add flags and nid info in memblock debugfsYuwei Guan1-2/+22
2023-05-24Fix some coding style errors in memblock.cClaudio Migliorelli1-3/+3
2023-04-18mm: avoid passing 0 to __ffs()Kirill A. Shutemov1-1/+10
2023-04-05mm, treewide: redefine MAX_ORDER sanelyKirill A. Shutemov1-1/+1
2023-02-27Merge tag 'memblock-v6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-14/+27
2023-02-07Revert "mm: Always release pages to the buddy allocator in memblock_free_late...Aaron Thompson1-7/+1
2023-01-31memblock: Avoid useless checks in memblock_merge_regions().Peng Zhang1-12/+25
2023-01-31memblock: Make a boundary tighter in memblock_add_range().Peng Zhang1-2/+2
2023-01-08mm: Always release pages to the buddy allocator in memblock_free_late().Aaron Thompson1-1/+7
2023-01-04memblock: Fix doc for memblock_phys_freeMiaoqian Lin1-1/+1
2022-10-03mm: add pageblock_align() macroKefeng Wang1-2/+2
2022-10-03mm: reuse pageblock_start/end_pfn() macroKefeng Wang1-1/+1
2022-08-09Merge tag 'memblock-v5.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+11
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-12/+16
2022-07-29memblock,arm64: expand the static memblock memory tableZhou Guanghui1-5/+9
2022-06-30memblock: avoid some repeat when add new rangeJinyu Tang1-0/+11
2022-06-16mm: kmemleak: remove kmemleak_not_leak_phys() and the min_count argument to k...Patrick Wang1-7/+7
2022-06-15memblock: Disable mirror feature if kernelcore is not specifiedMa Wupeng1-0/+3
2022-06-15mm: Ratelimited mirrored memory related warning messagesMa Wupeng1-2/+2
2022-03-27Merge tag 'memblock-v5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-3/+2
2022-02-21memblock: __next_mem_pfn_range_in_zone: remove unneeded local variable nidMiaohe Lin1-3/+2
2022-02-20memblock: use kfree() to release kmalloced memblock regionsMiaohe Lin1-2/+8
2021-11-10Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm6...Linus Torvalds1-3/+6
2021-11-08arm64: Track no early_pgtable_alloc() for kmemleakQian Cai1-3/+6
2021-11-06memblock: add MEMBLOCK_DRIVER_MANAGED to mimic IORESOURCE_SYSRAM_DRIVER_MANAGEDDavid Hildenbrand1-0/+4
2021-11-06memblock: allow to specify flags with memblock_add_node()David Hildenbrand1-4/+5
2021-11-06memblock: use memblock_free for freeing virtual pointersMike Rapoport1-3/+3
2021-11-06memblock: rename memblock_free to memblock_phys_freeMike Rapoport1-4/+4
2021-11-06memblock: stop aliasing __memblock_free_late with memblock_free_lateMike Rapoport1-4/+4
2021-10-21memblock: exclude MEMBLOCK_NOMAP regions from kmemleakMike Rapoport1-0/+3
2021-10-21Revert "memblock: exclude NOMAP regions from kmemleak"Mike Rapoport1-6/+1
2021-10-18memblock: check memory total_sizePeng Fan1-1/+1
2021-10-13memblock: exclude NOMAP regions from kmemleakMike Rapoport1-1/+6
2021-09-14memblock: introduce saner 'memblock_free_ptr()' interfaceLinus Torvalds1-1/+15
2021-09-03Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-17/+5
2021-09-03memblock: make memblock_find_in_range method privateMike Rapoport1-1/+1
2021-09-03memblock: stop poisoning raw allocationsMike Rapoport1-16/+4
2021-08-11memblock: Check memory add/cap orderingGeert Uytterhoeven1-0/+5
2021-08-11memblock: Add missing debug code to memblock_add_node()Geert Uytterhoeven1-0/+5
2021-07-23memblock: make for_each_mem_range() traverse MEMBLOCK_HOTPLUG regionsMike Rapoport1-1/+2
2021-07-04Merge tag 'memblock-v5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-12/+14
2021-06-30memblock: update initialization of reserved pagesMike Rapoport1-2/+26
2021-06-30memblock: ensure there is no overflow in memblock_overlaps_region()Mike Rapoport1-1/+2
2021-06-30memblock: align freed memory map on pageblock boundaries with SPARSEMEMMike Rapoport1-3/+4
2021-06-30memblock: free_unused_memmap: use pageblock units instead of MAX_ORDERMike Rapoport1-8/+8
2021-06-29mm: replace CONFIG_NEED_MULTIPLE_NODES with CONFIG_NUMAMike Rapoport1-4/+4
2021-02-22Merge tag 'memblock-v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-5/+1
2021-02-05memblock: do not start bottom-up allocations with kernel_endRoman Gushchin1-43/+6
2021-01-21mm/memblock: Fix typo in comment of memblock_phys_alloc_try_nid()Levi Yun1-1/+1
2021-01-14mm: memblock: remove return value of memblock_free_all()Daeseok Youn1-5/+1
2020-12-16Merge tag 'memblock-v5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+3
2020-12-15mm: fix some spelling mistakes in commentsHaitao Shi1-1/+1
2020-12-15arm, arm64: move free_unused_memmap() to generic mmMike Rapoport1-0/+80
2020-11-16mm: memblock: add more debug logsFaiyaz Mohammed1-0/+3
2020-10-15memblock: get rid of a :c:type leftoverMauro Carvalho Chehab1-2/+2
2020-10-15docs: get rid of :c:type explicit declarations for structsMauro Carvalho Chehab1-2/+2
2020-10-13memblock: use separate iterators for memory and reserved regionsMike Rapoport1-2/+2
2020-10-13memblock: implement for_each_reserved_mem_region() using __next_mem_region()Mike Rapoport1-36/+20
2020-10-13memblock: remove unused memblock_mem_size()Mike Rapoport1-15/+0
2020-10-13arch, mm: replace for_each_memblock() with for_each_mem_pfn_range()Mike Rapoport1-4/+2
2020-10-13memblock: make memblock_debug and related functionality privateMike Rapoport1-2/+14
2020-10-13memblock: make for_each_memblock_type() iterator privateMike Rapoport1-0/+5
2020-07-10mm/memblock: expose only miminal interface to add/walk physmemDavid Hildenbrand1-28/+29
2020-06-04mm/memblock: fix a typo in comment "implict"->"implicit"Ethon Paul1-1/+1
2020-06-03mm: remove CONFIG_HAVE_MEMBLOCK_NODE_MAP optionMike Rapoport1-6/+5
2020-06-03mm: memblock: replace dereferences of memblock_region.nid with API callsMike Rapoport1-3/+5
2020-04-10mm: cma: NUMA node interfaceAslan Bakirov1-1/+1
2020-04-02mm/memblock.c: remove redundant assignment to variable max_addrColin Ian King1-1/+1
2020-01-31memblock: Use __func__ in remaining memblock_dbg() call sitesAnshuman Khandual1-4/+4
2020-01-31mm/memblock: define memblock_physmem_add()Anshuman Khandual1-1/+13
2019-12-01mm: support memblock alloc on the exact node for sparse_buffer_init()Yunfeng Ye1-11/+54
2019-12-01mm/memblock: correct doc for functionCao jin1-1/+1
2019-12-01mm/memblock.c: cleanup docCao jin1-24/+20
2019-10-19mm: memblock: do not enforce current limit for memblock_phys* familyMike Rapoport1-3/+3
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-14mm: memblock: make keeping memblock memory opt-in rather than opt-outMike Rapoport1-3/+3
2019-05-14mm: implement new zone specific memblock iteratorAlexander Duyck1-0/+64
2019-05-07Merge tag 'printk-for-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-6/+6
2019-04-09treewide: Switch printk users from %pf and %pF to %ps and %pS, respectivelySakari Ailus1-7/+7
2019-03-12mm: memblock: update comments and kernel-docMike Rapoport1-17/+43
2019-03-12memblock: split checks whether a region should be skipped to a helper functionMike Rapoport1-28/+25
2019-03-12memblock: remove memblock_{set,clear}_region_flagsMike Rapoport1-3/+6
2019-03-12memblock: drop memblock_alloc_*_nopanic() variantsMike Rapoport1-35/+0
2019-03-12memblock: memblock_alloc_try_nid: don't panicMike Rapoport1-10/+5
2019-03-12memblock: make memblock_find_in_range_node() and choose_memblock_flags() staticMike Rapoport1-2/+2
2019-03-12memblock: refactor internal allocation functionsMike Rapoport1-94/+77
2019-03-12memblock: drop memblock_alloc_base()Mike Rapoport1-14/+0
2019-03-12memblock: drop __memblock_alloc_base()Mike Rapoport1-7/+2
2019-03-12memblock: memblock_phys_alloc(): don't panicMike Rapoport1-5/+0
2019-03-12memblock: memblock_phys_alloc_try_nid(): don't panicMike Rapoport1-1/+3
2019-03-12memblock: emphasize that memblock_alloc_range() returns a physical addressMike Rapoport1-4/+5
2019-03-12memblock: drop memblock_alloc_base_nid()Mike Rapoport1-11/+4
2019-03-05mm: no need to check return value of debugfs_create functionsGreg Kroah-Hartman1-2/+1
2019-02-16arm64, mm, efi: Account for GICv3 LPI tables in static memblock reserve tableArd Biesheuvel1-2/+9
2018-12-28mm/memblock.c: skip kmemleak for kasan_init()Qian Cai1-8/+11
2018-12-28memblock: replace usage of __memblock_free_early() with memblock_free()Mike Rapoport1-14/+8
2018-12-28mm/page_alloc.c: deduplicate __memblock_free_early() and memblock_free()Wentao Wang1-6/+1
2018-12-28mm: convert totalram_pages and totalhigh_pages variables to atomicArun KS1-2/+2
2018-12-28mm: convert zone->managed_pages to atomic variableArun KS1-1/+1
2018-12-14memblock: annotate memblock_is_reserved() with __init_memblockYueyi Li1-1/+1
2018-11-18mm/memblock.c: fix a typo in __next_mem_pfn_range() commentsChen Chang1-1/+1
2018-10-31mm/memblock.c: warn if zero alignment was requestedMike Rapoport1-0/+11
2018-10-31memblock: stop using implicit alignment to SMP_CACHE_BYTESMike Rapoport1-8/+0
2018-10-31mm: remove include/linux/bootmem.hMike Rapoport1-1/+0
2018-10-31memblock: replace BOOTMEM_ALLOC_* with MEMBLOCK variantsMike Rapoport1-4/+4
2018-10-31mm: remove nobootmemMike Rapoport1-0/+104
2018-10-31memblock: rename __free_pages_bootmem to memblock_free_pagesMike Rapoport1-1/+1
2018-10-31memblock: rename free_all_bootmem to memblock_free_allMike Rapoport1-1/+1
2018-10-31memblock: remove _virt from APIs returning virtual addressMike Rapoport1-13/+13
2018-10-31memblock: rename memblock_alloc{_nid,_try_nid} to memblock_phys_alloc*Mike Rapoport1-4/+4
2018-10-31mm: remove CONFIG_NO_BOOTMEMMike Rapoport1-2/+0
2018-10-26mm: provide kernel parameter to allow disabling page init poisoningAlexander Duyck1-3/+2
2018-08-17mm/memblock.c: replace u64 with phys_addr_t where appropriateMike Rapoport1-23/+23
2018-08-14Merge tag 'docs-4.19' of git://git.lwn.net/linuxLinus Torvalds1-55/+148
2018-08-02docs/mm: memblock: add overview documentationMike Rapoport1-0/+55
2018-08-02docs/mm: memblock: add kernel-doc comments for memblock_add[_node]Mike Rapoport1-2/+25
2018-08-02docs/mm: memblock: update kernel-doc commentsMike Rapoport1-37/+47
2018-08-02mm/memblock: add a name for memblock flags enumerationMike Rapoport1-16/+21
2018-07-21mm/memblock: add missing include <linux/bootmem.h>Mathieu Malaterre1-0/+3
2018-07-14mm/memblock.c: do not complain about top-down allocations for !MEMORY_HOTREMOVEMichal Hocko1-1/+2
2018-06-19revert "mm/memblock: add missing include <linux/bootmem.h>"Andrew Morton1-1/+0
2018-06-15mm: use octal not symbolic permissionsJoe Perches1-3/+6
2018-06-15mm/memblock: add missing include <linux/bootmem.h>Mathieu Malaterre1-0/+1
2018-06-07mm/memblock: print memblock_removeMinchan Kim1-0/+5
2018-06-07mm/memblock: introduce PHYS_ADDR_MAXStefan Agner1-11/+11
2018-04-07Merge tag 'powerpc-4.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-1/+1
2018-04-05mm/memblock.c: cast constant ULLONG_MAX to phys_addr_tStefan Agner1-2/+2
2018-04-05headers: untangle kmemleak.h from mm.hRandy Dunlap1-0/+1
2018-04-05mm: reuse DEFINE_SHOW_ATTRIBUTE() macroAndy Shevchenko1-12/+1
2018-04-05mm: uninitialized struct page poisoning sanity checkingPavel Tatashin1-1/+1
2018-04-05mm: initialize pages on demand during bootPavel Tatashin1-23/+0
2018-03-30mm: make memblock_alloc_base_nid() non-staticNicholas Piggin1-1/+1
2018-03-22Revert "mm: page_alloc: skip over regions of invalid pfns where possible"Daniel Vacek1-28/+0
2018-03-09mm/memblock.c: hardcode the end_pfn being -1Daniel Vacek1-5/+5
2018-02-06mm/memblock: memblock_is_map/region_memory can be booleanYaowei Bai1-3/+3
2017-11-15mm: define memblock_virt_alloc_try_nid_rawPavel Tatashin1-7/+53
2017-11-15mm/memblock.c: make the index explicit argument of for_each_memblock_typeGioh Kim1-4/+4
2017-08-25mm/memblock.c: reversed logic in memblock_discard()Pavel Tatashin1-1/+1
2017-08-18mm: discard memblock data laterPavel Tatashin1-21/+17
2017-07-06mm, memory_hotplug: move movable_node to the hotplug properMichal Hocko1-1/+0
2017-07-06mm, memory_hotplug: drop CONFIG_MOVABLE_NODEMichal Hocko1-2/+0
2017-06-02mm: consider memblock reservations for deferred memory initialization sizingMichal Hocko1-0/+23
2017-04-05memblock: add memblock_cap_memory_range()AKASHI Takahiro1-15/+29
2017-04-05memblock: add memblock_clear_nomap()AKASHI Takahiro1-0/+12
2017-03-09mm/memblock.c: fix memblock_next_valid_pfn()AKASHI Takahiro1-1/+4
2017-02-24memblock: embed memblock type name within struct memblock_typeHeiko Carstens1-24/+11
2017-02-24memblock: also dump physmem list within __memblock_dump_allHeiko Carstens1-0/+3
2017-02-24memblock: let memblock_type_name know about physmem typeHeiko Carstens1-0/+4
2017-02-22mm/memblock.c: remove unnecessary log and clean upMiles Chen1-29/+25
2017-02-22mm/memblock.c: check return value of memblock_reserve() in memblock_virt_allo...Wei Yang1-4/+2
2017-02-22mm/memblock.c: trivial code refine in memblock_is_region_memory()Wei Yang1-2/+1
2017-02-22mm: page_alloc: skip over regions of invalid pfns where possiblePaul Burton1-0/+25
2016-10-11mm: kmemleak: avoid using __va() on addresses that don't have a lowmem mappingCatalin Marinas1-4/+4
2016-10-07mm/memblock.c: expose total reserved memorySrikar Dronamraju1-0/+5
2016-08-04mm/memblock.c: fix NULL dereference errorzijun_hu1-1/+4
2016-08-04mm/memblock: fix a typo in a commentAlexander Kuleshov1-2/+2
2016-07-28mm/memblock.c: fix index adjustment error in __next_mem_range_rev()zijun_hu1-1/+1
2016-07-28mm/memblock.c: add new infrastructure to address the mem limit issueDennis Chen1-5/+52
2016-07-28memblock: include <asm/sections.h> instead of <asm-generic/sections.h>Christoph Hellwig1-1/+1
2016-07-26mm/memblock.c:memblock_add_range(): if nr_new is 0 just returnnimisolo1-0/+3
2016-05-20mm/memblock.c: remove unnecessary always-true comparisonRichard Leitner1-1/+1
2016-05-20mm/memblock.c: move memblock_{add,reserve}_region into memblock_{add,reserve}Alexander Kuleshov1-22/+6
2016-03-17mm: coalesce split stringsJoe Perches1-2/+1
2016-03-15mm/memblock.c: remove unnecessary memblock_type variableAlexander Kuleshov1-6/+2
2016-02-05memblock: don't mark memblock_phys_mem_size() as __initDavid Gibson1-1/+1
2016-01-14mm/memblock: introduce for_each_memblock_type()Alexander Kuleshov1-16/+16
2016-01-14mm/memblock: remove rgnbase and rgnsize variablesAlexander Kuleshov1-6/+3
2016-01-14mm/memblock.c: memblock_is_memory()/reserved() can be booleanYaowei Bai1-2/+2
2015-12-09mm/memblock: add MEMBLOCK_NOMAP attribute to memblock memory tableArd Biesheuvel1-0/+28
2015-11-05mm/memblock: make memblock_remove_range() staticAlexander Kuleshov1-1/+1
2015-09-08mm/memblock.c: fix comment in __next_mem_range()Alexander Kuleshov1-1/+1
2015-09-08mm/memblock.c: fiy typos in commentsAlexander Kuleshov1-4/+4
2015-09-08mm/memblock.c: rename local variable of memblock_type to 'type'Alexander Kuleshov1-5/+5
2015-09-08mem-hotplug: handle node hole when initializing numa_meminfo.Tang Chen1-1/+1
2015-09-08mm/memblock.c: make memblock_overlaps_region() return bool.Tang Chen1-5/+5
2015-09-08mm/memblock.c: WARN_ON when flags differs from overlap regionWei Yang1-0/+1
2015-09-04mm/memblock: WARN_ON when nid differs from overlap regionWei Yang1-0/+3
2015-06-30mm: page_alloc: pass PFN to __free_pages_bootmemMel Gorman1-1/+1