First  |  Prev |  Next  |  Last
Pages: 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624
[PATCH -v24 00/50] Use memblock with x86
New memblock could be used to replace early_res in x86. Suggested by: David, Ben, and Thomas -v18: change memblock_find_area to memblock_find_in_range kill __memblock_find_area and use memblock_find_area directly remove memblock_add_memory change memblock_reserve_area to memblock_reserve_rang... 13 Jul 2010 04:21
[PATCH 20/50] 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. Also add comment as to why aligning size is important [ Yinghai Lu ]: it should return MEMBLOCK_ERROR when it fail to fi... 13 Jul 2010 04:21
[PATCH 26/50] 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... 13 Jul 2010 04:21
[PATCH 28/50] memblock: Add debugfs files to dump the arrays content
From: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- mm/memblock.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/mm/memblock.c b/mm/memblock.c index 424ca11..b5... 13 Jul 2010 04:21
[PATCH 22/50] 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... 13 Jul 2010 04:21
[PATCH 12/50] memblock: Change u64 to phys_addr_t
From: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> Let's not waste space and cycles on archs that don't support >32-bit physical address space. Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- include/linux/memblock.h | 44 +++++++++--------- mm/memblock.c | 114 +++++++... 13 Jul 2010 04:21
[PATCH 19/50] memblock: Move memblock_init() to the bottom of the file
From: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> It's a real PITA to have to search for it in the middle Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- mm/memblock.c | 54 +++++++++++++++++++++++++++--------------------------- 1 files changed, 27 insertions(+), 27 deletions(-) ... 13 Jul 2010 04:21
[PATCH 49/50] x86, memblock: Use memblock_memory_size()/memblock_free_memory_size() to get correct dma_reserve
memblock_memory_size() will return memory size in memblock.memory.region. memblock_free_memory_size() will return free memory size in memblock.memory.region. So We can get exact reseved size in specified range. Set the size right after initmem_init(), because later bootmem API will get area above 16M. (except s... 13 Jul 2010 04:21
[PATCH 11/50] memblock: Remove rmo_size, burry it in arch/powerpc where it belongs
From: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> The RMA (RMO is a misnomer) is a concept specific to ppc64 (in fact server ppc64 though I hijack it on embedded ppc64 for similar purposes) and represents the area of memory that can be accessed in real mode (aka with MMU off), or on embedded, from the excep... 13 Jul 2010 04:21
[PATCH 04/50] memblock: Rename memblock_region to memblock_type and memblock_property to memblock_region
From: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- arch/microblaze/mm/init.c | 4 +- arch/powerpc/mm/hash_utils_64.c | 2 +- arch/powerpc/mm/mem.c | 26 +++--- arch/powerpc/platforms/emb... 13 Jul 2010 04:21
First  |  Prev |  Next  |  Last
Pages: 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624