First  |  Prev |  Next  |  Last
Pages: 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714
[PATCH 42/49] x86, memblock: Add memblock_x86_free_memory_in_range()
It will return free memory size in specified range. We can not use memory_size - reserved_size here, because some reserved area may not be in the scope of memblock.memory.region. Use memblock.memory.region subtracting memblock.reserved.region to get free range array. then count size of all free ranges. -v2: ... 6 Jul 2010 20:02
[PATCH 16/49] memblock: Define MEMBLOCK_ERROR internally instead of using ~(phys_addr_t)0
From: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- mm/memblock.c | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/mm/memblock.c b/mm/memblock.c index 6577da6..079d0de 100644 --- a/mm/memblock.c +++ b... 6 Jul 2010 20:02
[PATCH 25/49] memblock: Make memblock_alloc_try_nid() fallback to MEMBLOCK_ALLOC_ANYWHERE
From: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> memblock_alloc_nid() used to fallback to allocating anywhere by using memblock_alloc() as a fallback. However, some of my previous patches limit memblock_alloc() to the region covered by MEMBLOCK_ALLOC_ACCESSIBLE which is not quite what we want for memblo... 6 Jul 2010 20:02
[PATCH 05/49] memblock: Remove nid_range argument, arch provides memblock_nid_range() instead
From: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- arch/sparc/mm/init_64.c | 16 ++++++---------- include/linux/memblock.h | 7 +++++-- mm/memblock.c | 13 ++++++++----- 3 files changed, 19 insertions(+), 17 deletions(... 6 Jul 2010 20:02
[PATCH 24/49] memblock: Separate memblock_alloc_nid() and memblock_alloc_try_nid()
From: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> The former is now strict, it will fail if it cannot honor the allocation within the node, while the later implements the previous semantic which falls back to allocating anywhere. Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- arch... 6 Jul 2010 20:02
[PATCH 35/49] bootmem, x86: Add weak version of reserve_bootmem_generic
It will be used memblock_x86_to_bootmem converting It is an wrapper for reserve_bootmem, and x86 64bit is using special one. Also clean up that version for x86_64. We don't need to take care of numa path for that, bootmem can handle it how Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- arch/x86/mm/init... 6 Jul 2010 20:02
[PATCH 18/49] memblock: split memblock_find_base() out of __memblock_alloc_base()
From: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> This will be used by the array resize code and might prove useful to some arch code as well at which point it can be made non-static. Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- mm/memblock.c | 43 +++++++++++++++++++++++++++---... 6 Jul 2010 20:02
[PATCH 29/49] memblock: Print new doubled array location info
so will have more idea where it is, use memblock_debug to controll it -v2: use memblock_dbg instead of " if (memblock_debug) " Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- mm/memblock.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/mm/memblock.c b/mm/memblock.c ind... 6 Jul 2010 20:02
[PATCH 08/49] memblock: Introduce default allocation limit and use it to replace explicit ones
From: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> This introduce memblock.current_limit which is used to limit allocations from memblock_alloc() or memblock_alloc_base(..., MEMBLOCK_ALLOC_ACCESSIBLE). The old MEMBLOCK_ALLOC_ANYWHERE changes value from 0 to ~(u64)0 and can still be used with memblock_alloc... 6 Jul 2010 20:02
[PATCH 20/49] memblock: Add array resizing support
From: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> When one of the array gets full, we resize it. After much thinking and a few iterations of that code, I went back to on-demand resizing using the (new) internal memblock_find_base() function, which is pretty much what Yinghai initially proposed, though there... 6 Jul 2010 20:02
First  |  Prev |  Next  |  Last
Pages: 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714