First  |  Prev |  Next  |  Last
Pages: 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161
memblock updates
Hi folks ! Here's my current branch. This time build tested on sparc(64), arm, powerpc and sh. I don't have a microblaze compiler at hand. Not much difference from the previous one. Off the top of my head: - Added the memblock_is_region_reserved() fix at the beginning (I'll send that to Linus separately ... 6 Aug 2010 01:44
[PATCH 10/43] memblock/sparc: Use new accessors
CC: David S. Miller <davem(a)davemloft.net> Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- arch/sparc/mm/init_64.c | 30 ++++++++++++------------------ 1 files changed, 12 insertions(+), 18 deletions(-) diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c index 16d8bee..dd68025 ... 6 Aug 2010 01:44
[PATCH 31/43] memblock: Add arch function to control coalescing of memblock memory regions
Some archs such as ARM want to avoid coalescing accross things such as the lowmem/highmem boundary or similar. This provides the option to control it via an arch callback for which a weak default is provided which always allows coalescing. Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- in... 6 Aug 2010 01:44
[PATCH 08/43] memblock/microblaze: Use new accessors
CC: Michal Simek <monstr(a)monstr.eu> Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- arch/microblaze/mm/init.c | 20 +++++++++----------- 1 files changed, 9 insertions(+), 11 deletions(-) diff --git a/arch/microblaze/mm/init.c b/arch/microblaze/mm/init.c index afd6494..32a702b 100644 ---... 6 Aug 2010 01:44
[PATCH 13/43] memblock: Remove obsolete accessors
Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- include/linux/memblock.h | 23 ----------------------- 1 files changed, 0 insertions(+), 23 deletions(-) diff --git a/include/linux/memblock.h b/include/linux/memblock.h index c914112..7d70fdd 100644 --- a/include/linux/memblock.h +++ b/in... 6 Aug 2010 01:44
[PATCH 02/43] memblock: Rename memblock_region to memblock_type and memblock_property to memblock_region
Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- arch/arm/mm/init.c | 2 +- arch/arm/plat-omap/fb.c | 2 +- arch/microblaze/mm/init.c | 4 +- arch/powerpc/mm/hash_utils_64.c | 2 +- arch/powerpc/mm/mem.c ... 6 Aug 2010 01:44
[PATCH 04/43] memblock: Implement memblock_is_memory and memblock_is_region_memory
To make it fast, we steal ARM's binary search for memblock_is_memory() and we use that to also the replace existing implementation of memblock_is_reserved(). Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- include/linux/memblock.h | 2 ++ mm/memblock.c | 42 ++++++++++++++++... 6 Aug 2010 01:44
[PATCH 23/43] memblock: Move memblock arrays to static storage in memblock.c and make their size a variable
This is in preparation for having resizable arrays. Note that we still allocate one more than needed, this is unchanged from the previous implementation. Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- include/linux/memblock.h | 7 ++++--- mm/memblock.c | 10 +++++++++- ... 6 Aug 2010 01:44
[PATCH 30/43] memblock: Add array resizing support
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 some differences in the details. To work this relies on... 6 Aug 2010 01:44
[PATCH 20/43] memblock: Change u64 to phys_addr_t
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 | 48 +++++++++--------- mm/memblock.c | 118 +++++++++++++++++++++++---------------------- 2 files changed, 8... 6 Aug 2010 01:44
First  |  Prev |  Next  |  Last
Pages: 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161