First  |  Prev |  Next  |  Last
Pages: 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162
[PATCH 18/43] memblock: Introduce default allocation limit and use it to replace explicit ones
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_base() to allocate really anywhere. It is -no-longer- c... 6 Aug 2010 01:44
[PATCH 06/43] memblock/arm: Use memblock_region_is_memory() for omap fb
Instead of the deprecated memblock_find() Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- arch/arm/plat-omap/fb.c | 6 +----- drivers/video/omap2/vram.c | 8 ++------ 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/arch/arm/plat-omap/fb.c b/arch/arm/plat-omap/fb.c... 6 Aug 2010 01:44
[PATCH 17/43] memblock: Expose MEMBLOCK_ALLOC_ANYWHERE
Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- arch/powerpc/mm/hash_utils_64.c | 2 +- include/linux/memblock.h | 1 + mm/memblock.c | 2 -- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/ha... 6 Aug 2010 01:44
[PATCH 14/43] memblock: Remove memblock_find()
Nobody uses it anymore. It's semantics were ... weird Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- include/linux/memblock.h | 1 - mm/memblock.c | 32 -------------------------------- 2 files changed, 0 insertions(+), 33 deletions(-) diff --git a/include/linux/memblock... 6 Aug 2010 01:44
[PATCH 05/43] memblock/arm: pfn_valid uses memblock_is_memory()
The implementation is pretty much similar. There is a -small- added overhead by having another function call and the address shift. If that becomes a concern, I suppose we could actually have memblock itself expose a memblock_pfn_valid() which then ARM can use directly with an appropriate #define... Signed-off... 6 Aug 2010 01:44
[PATCH 19/43] memblock: Remove rmo_size, burry it in arch/powerpc where it belongs
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 exception vectors (which is bolted in the TLB) which pretty muc... 6 Aug 2010 01:44
[PATCH 07/43] memblock: Introduce for_each_memblock() and new accessors
Walk memblock's using for_each_memblock() and use memblock_region_base/end_pfn() for getting to PFNs. Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- include/linux/memblock.h | 52 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 52 insertions(+), 0 deletions(-) diff --g... 6 Aug 2010 01:44
lib: vsprintf: added a put_dec() test and benchmark tool
On Friday 06 August 2010 00:38, Michal Nazarewicz wrote: This commit adds a test application for the put_dec() and family of functions that are used by the previous two commits. Signed-off-by: Michal Nazarewicz <mina86(a)mina86.com> +put-dec-test: put-dec-test.c + exec $(CC) $(CFLAGS) -o $@ $< (1)... 6 Aug 2010 17:06
[PATCH 39/43] memblock: Export MEMBLOCK_ERROR
From: Yinghai Lu <yinghai(a)kernel.org> will used by x86 memblock_x86_find_in_range_node and nobootmem replacement Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- include/linux/memblock.h | 3 ++- mm/memblock.c | 2 -- 2 file... 6 Aug 2010 01:44
[PATCH 35/43] memblock: Make memblock_alloc_try_nid() fallback to MEMBLOCK_ALLOC_ANYWHERE
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 memblock_alloc_try_nid(). So we fix it by explicitely using ME... 6 Aug 2010 01:44
First  |  Prev |  Next  |  Last
Pages: 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162