aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memblock.c
AgeCommit message (Expand)AuthorFilesLines
2018-03-28Revert "mm: page_alloc: skip over regions of invalid pfns where possible"Daniel Vacek1-28/+0
2018-03-15mm/memblock.c: hardcode the end_pfn being -1Daniel Vacek1-5/+5
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
2015-06-30memblock: introduce a for_each_reserved_mem_region iteratorRobin Holt1-0/+32
2015-06-24mm/memblock: allocate boot time data structures from mirrored memoryTony Luck1-11/+67
2015-06-24mm/memblock: add extra "flags" to memblock to allow selection of memory based...Tony Luck1-20/+35
2015-04-15mm/memblock.c: add debug output for memblock_add()Alexander Kuleshov1-2/+16
2015-04-14mm/memblock.c: rename local variable of memblock_type to `type'Baoquan He1-2/+2
2014-12-13mm/memblock.c: refactor functions to set/clear MEMBLOCK_HOTPLUGTony Luck1-23/+20
2014-09-10mem-hotplug: let memblock skip the hotpluggable memory regions in __next_mem_...Xishi Qiu1-0/+4
2014-08-29memblock, memhotplug: fix wrong type in memblock_find_in_range_node().Tang Chen1-2/+1
2014-06-06mm/memblock.c: call kmemleak directly from memblock_(alloc|free)Catalin Marinas1-2/+8
2014-06-04mm/memblock.c: use PFN_DOWNFabian Frederick1-3/+2
2014-06-04memblock: introduce memblock_alloc_range()Akinobu Mita1-4/+17
2014-05-20mm/memblock: add physical memory listPhilipp Hachtmann1-0/+12
2014-05-20mm/memblock: Do some refactoring, enhance APIPhilipp Hachtmann1-71/+122
2014-04-07mm/memblock.c: use PFN_PHYS()Fabian Frederick1-2/+2
2014-04-07memblock: use for_each_memblock()Emil Medve1-13/+11
2014-03-12ARM: 7993/1: mm/memblock: add memblock_get_current_limitLaura Abbott1-0/+5
2014-01-29memblock: add limit checking to memblock_virt_allocYinghai Lu1-0/+3
2014-01-27memblock: don't silently align size in memblock_virt_alloc()Yinghai Lu1-6/+0
2014-01-23mm/nobootmem: free_all_bootmem againPhilipp Hachtmann1-15/+2
2014-01-23mm: free memblock.memory in free_all_bootmemPhilipp Hachtmann1-0/+16
2014-01-21mm/memblock: use WARN_ONCE when MAX_NUMNODES passed as input parameterGrygorii Strashko1-13/+8
2014-01-21mm/memblock: add memblock memory allocation apisSantosh Shilimkar1-2/+207
2014-01-21mm/memblock: switch to use NUMA_NO_NODE instead of MAX_NUMNODESGrygorii Strashko1-9/+19
2014-01-21mm/memblock: reorder parameters of memblock_find_in_range_nodeGrygorii Strashko1-8/+8
2014-01-21mm/memblock: drop WARN and use SMP_CACHE_BYTES as a default alignmentGrygorii Strashko1-2/+2
2014-01-21mm/memblock: debug: don't free reserved array if !ARCH_DISCARD_MEMBLOCKGrygorii Strashko1-0/+13
2014-01-21memblock, mem_hotplug: make memblock skip hotpluggable regions if neededTang Chen1-0/+12
2014-01-21memblock: make memblock_set_node() support different memblock_typeTang Chen1-3/+3
2014-01-21memblock, mem_hotplug: introduce MEMBLOCK_HOTPLUG flag to mark hotpluggable r...Tang Chen1-0/+53
2014-01-21memblock, numa: introduce flags field into memblockTang Chen1-15/+38
2014-01-21mm/memblock: debug: correct displaying of upper memory boundaryGrygorii Strashko1-2/+2
2013-11-13mm/memblock.c: introduce bottom-up allocation modeTang Chen1-3/+80
2013-11-13mm/memblock.c: factor out of top-down allocationTang Chen1-13/+34
2013-09-11memblock, numa: binary search node idYinghai Lu1-0/+18
2013-07-09mm/memblock.c: fix wrong comment in __next_free_mem_range()Tang Chen1-1/+1
2013-04-29memblock: fix missing comment of memblock_insert_region()Tang Chen1-4/+5
2013-04-29memblock: add assertion for zero allocation alignmentVineet Gupta1-0/+3
2013-03-02x86, ACPI, mm: Revert movablemem_map supportYinghai Lu1-50/+0
2013-02-23mm/memblock.c: use CONFIG_HAVE_MEMBLOCK_NODE_MAP to protect movablecore_map i...Tang Chen1-0/+34
2013-02-23page_alloc: bootmem limit with movablecore_mapTang Chen1-1/+17
2013-01-29memblock: Add memblock_mem_size()Yinghai Lu1-0/+17
2013-01-11mm: memblock: fix wrong memmove size in memblock_merge_regions()Lin Feng1-1/+2
2012-10-24x86, mm: Trim memory in memblock to be page alignedYinghai Lu1-0/+24
2012-10-09mm: avoid section mismatch warning for memblock_type_nameRaghavendra D Prabhu1-1/+2
2012-10-09mm/memblock: use existing interface to set nidWanpeng Li1-1/+1
2012-09-05mm/memblock: Use NULL instead of 0 for pointersSachin Kamat1-1/+1
2012-07-31mm/memblock.c:memblock_double_array(): cosmetic cleanupsAndrew Morton1-17/+18
2012-07-11memblock: free allocated memblock_reserved_regions laterYinghai Lu1-28/+23
2012-06-20mm/memblock: fix overlapping allocation when doubling reserved arrayGreg Pearson1-4/+32
2012-06-20mm: fix kernel-doc warningsWanpeng Li1-6/+6
2012-06-08memblock: Document memblock_is_region_{memory,reserved}()Stephen Boyd1-0/+20
2012-05-29mm/memblock: fix memory leak on extending regionsGavin Shan1-13/+24
2012-05-29mm/memblock: cleanup on duplicate VA/PA conversionGavin Shan1-2/+3
2012-04-20memblock: memblock should be able to handle zero length operationsTejun Heo1-1/+6
2012-03-01memblock: Fix size aligning of memblock_alloc_base_nid()Tejun Heo1-3/+3
2012-01-16memblock: Fix alloc failure due to dumb underflow protection in memblock_find...Tejun Heo1-2/+5
2011-12-08memblock: Reimplement memblock allocation using reverse free area iteratorTejun Heo1-146/+127
2011-12-08memblock: Kill early_node_map[]Tejun Heo1-1/+1
2011-12-08memblock: Implement memblock_add_node()Tejun Heo1-7/+13
2011-12-08memblock: s/memblock_analyze()/memblock_allow_resize()/ and update usersTejun Heo1-3/+2
2011-12-08memblock: Track total size of regions automaticallyTejun Heo1-14/+13
2011-12-08memblock: Reimplement memblock_enforce_memory_limit() using __memblock_remove()Tejun Heo1-29/+13
2011-12-08memblock: Make memblock functions handle overflowing range @sizeTejun Heo1-3/+12
2011-12-08memblock: Reimplement __memblock_remove() using memblock_isolate_range()Tejun Heo1-47/+9
2011-12-08memblock: Separate out memblock_isolate_range() from memblock_set_node()Tejun Heo1-39/+78
2011-12-08memblock: Kill memblock_init()Tejun Heo1-34/+14
2011-12-08memblock: Kill sentinel entries at the end of static region arraysTejun Heo1-12/+2
2011-12-08memblock: Add __memblock_dump_all()Tejun Heo1-4/+1
2011-12-08memblock: Use memblock_reserve() in memblock internal functionsTejun Heo1-6/+3
2011-12-08memblock: Make memblock_{add|remove|free|reserve}() return int and update pro...Tejun Heo1-9/+9
2011-11-28Merge branch 'master' into x86/memblockTejun Heo1-5/+12
2011-10-31mm/memblock.c: quiet sparse noiseH Hartley Sweeten1-1/+2
2011-10-31mm/memblock.c: small function definition fixesJonghwan Choi1-1/+1
2011-10-31memblock: add memblock_start_of_DRAM()Sam Ravnborg1-0/+6
2011-07-25mm/memblock.c: avoid abuse of RED_INACTIVEAndrew Morton1-4/+4
2011-07-14memblock: Cast phys_addr_t to unsigned long long for printf useH. Peter Anvin1-2/+6
2011-07-14memblock, x86: Replace memblock_x86_reserve/free_range() with generic onesTejun Heo1-0/+5
2011-07-14memblock, x86: Make ARCH_DISCARD_MEMBLOCK a config optionTejun Heo1-1/+1
2011-07-14memblock: Implement for_each_free_mem_range()Tejun Heo1-0/+76
2011-07-14memblock: Add optional region->nidTejun Heo1-18/+124
2011-07-14memblock: Reimplement memblock_add_region()Tejun Heo1-85/+110
2011-07-14memblock: Remove memblock_memory_can_coalesce()Tejun Heo1-29/+0
2011-07-14memblock: Separate out memblock_find_in_range_node()Tejun Heo1-25/+32
2011-07-14memblock: Make memblock_alloc_[try_]nid() top-downTejun Heo1-18/+11
2011-07-14memblock: Don't allow archs to override memblock_nid_range()Tejun Heo1-1/+1
2011-07-14memblock: Improve generic memblock_nid_range() using for_each_mem_pfn_range()Tejun Heo1-17/+3
2011-07-13memblock: Replace memblock_find_base() with memblock_find_in_range()Tejun Heo1-12/+7
2011-07-13memblock: Kill MEMBLOCK_ERRORTejun Heo1-11/+10
2011-07-13memblock: Use round_up/down() instead of memblock_align_up/down()Tejun Heo1-16/+5
2011-07-13memblock: Use MEMBLOCK_ALLOC_ACCESSIBLE instead of ANYWHERE in memblock_alloc...Tejun Heo1-1/+1
2011-03-22mm/memblock: properly handle overlaps and fix error pathBenjamin Herrenschmidt1-109/+132
2011-02-11memblock: don't adjust size in memblock_find_base()Yinghai Lu1-2/+0
2011-01-20memblock: fix memblock_is_region_memory()Tomi Valkeinen1-4/+4
2010-10-11memblock: Annotate memblock functions with __init_memblockYinghai Lu1-2/+2
2010-10-11memblock: Allow memblock_init to be called earlyJeremy Fitzhardinge1-0/+6
2010-10-05memblock: Fix wraparound in find_region()Yinghai Lu1-1/+6
2010-09-15memblock: Fix section mismatch warningsYinghai Lu1-7/+7
2010-08-27memblock: Add memblock_free/reserve_reserved_regions()Yinghai Lu1-0/+24
2010-08-05memblock: Add memblock_find_in_range()Yinghai Lu1-0/+8
2010-08-05memblock: Option for the architecture to put memblock into the .init sectionYinghai Lu1-24/+24
2010-08-05memblock: Make MEMBLOCK_ERROR be 0Benjamin Herrenschmidt1-0/+6
2010-08-05memblock: Export MEMBLOCK_ERRORYinghai Lu1-2/+0
2010-08-05memblock: Improve debug output when resizing the reserve arrayYinghai Lu1-3/+4
2010-08-05memblock: Expose some memblock bits for use by x86Yinghai Lu1-1/+2
2010-08-05memblock: Add debugfs files to dump the arrays contentBenjamin Herrenschmidt1-0/+51
2010-08-05memblock: Make memblock_alloc_try_nid() fallback to MEMBLOCK_ALLOC_ANYWHEREBenjamin Herrenschmidt1-1/+1
2010-08-05memblock: Separate memblock_alloc_nid() and memblock_alloc_try_nid()Benjamin Herrenschmidt1-0/+14
2010-08-05memblock: NUMA allocate can now use early_pfn_mapBenjamin Herrenschmidt1-1/+27
2010-08-05memblock: Add "start" argument to memblock_find_base()Benjamin Herrenschmidt1-11/+16
2010-08-05memblock: Add arch function to control coalescing of memblock memory regionsBenjamin Herrenschmidt1-1/+18
2010-08-05memblock: Add array resizing supportBenjamin Herrenschmidt1-2/+102
2010-08-05memblock: Move functions around into a more sensible orderBenjamin Herrenschmidt1-142/+159
2010-08-05memblock: split memblock_find_base() out of __memblock_alloc_base()Benjamin Herrenschmidt1-20/+38
2010-08-05memblock: Move memblock_init() to the bottom of the fileBenjamin Herrenschmidt1-27/+27
2010-08-05memblock: Define MEMBLOCK_ERROR internally instead of using ~(phys_addr_t)0Benjamin Herrenschmidt1-5/+7
2010-08-05memblock: Make memblock_find_region() out of memblock_alloc_region()Benjamin Herrenschmidt1-11/+9
2010-08-05memblock: Add debug markers at the end of the arrayBenjamin Herrenschmidt1-0/+11
2010-08-05memblock: Move memblock arrays to static storage in memblock.c and make their...Benjamin Herrenschmidt1-1/+9
2010-08-05memblock: Remove memblock_type.size and add memblock.memory_size insteadBenjamin Herrenschmidt1-4/+4
2010-08-05memblock: Change u64 to phys_addr_tBenjamin Herrenschmidt1-58/+60
2010-08-05memblock: Remove rmo_size, burry it in arch/powerpc where it belongsBenjamin Herrenschmidt1-8/+0
2010-08-05memblock: Introduce default allocation limit and use it to replace explicit onesBenjamin Herrenschmidt1-8/+11
2010-08-05memblock: Expose MEMBLOCK_ALLOC_ANYWHEREBenjamin Herrenschmidt1-2/+0
2010-08-05memblock: Factor the lowest level alloc functionBenjamin Herrenschmidt1-32/+27
2010-08-05memblock: Remove nid_range argument, arch provides memblock_nid_range() insteadBenjamin Herrenschmidt1-5/+8
2010-08-05memblock: Remove memblock_find()Benjamin Herrenschmidt1-32/+0
2010-08-04memblock: Implement memblock_is_memory and memblock_is_region_memoryBenjamin Herrenschmidt1-8/+34
2010-08-04memblock: Rename memblock_region to memblock_type and memblock_property to me...Benjamin Herrenschmidt1-85/+83
2010-08-04memblock: Fix memblock_is_region_reserved() to return a booleanBenjamin Herrenschmidt1-1/+1
2010-07-14lmb: rename to memblockYinghai Lu1-0/+541