First  |  Prev |  Next  |  Last
Pages: 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716
[PATCH 21/49] memblock: Add arch function to control coalescing of memblock memory regions
From: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> 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: ... 6 Jul 2010 18:55
[PATCH 13/49] memblock: Move memblock arrays to static storage in memblock.c and make their size a variable
From: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> 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 | ... 6 Jul 2010 18:55
[PATCH 38/49] x86, memblock: Add get_free_all_memory_range()
get_free_all_memory_range is for CONFIG_NO_BOOTMEM=y, and will be called by free_all_memory_core_early(). It will use early_node_map aka active ranges subtract memblock.reserved to get all free range, and those ranges will convert to slab pages. -v4: increase range size Signed-off-by: Yinghai Lu <yinghai(a)ker... 6 Jul 2010 18:55
[PATCH 06/49] memblock: Factor the lowest level alloc function
From: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- mm/memblock.c | 59 ++++++++++++++++++++++++++------------------------------ 1 files changed, 27 insertions(+), 32 deletions(-) diff --git a/mm/memblock.c b/mm/memblock.c index 83643... 6 Jul 2010 18:55
[PATCH 36/49] x86, memblock: Add memblock_x86_to_bootmem()
memblock_x86_to_bootmem() will reserve memblock.reserved.region in bootmem after bootmem is set up. We can use it to with all arches that support memblock later. Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- arch/x86/include/asm/memblock.h | 1 + arch/x86/mm/memblock.c | 30 +++++++++++++++... 6 Jul 2010 18:55
[PATCH 48/49] 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... 6 Jul 2010 18:55
[PATCH 27/49] memblock: memblock_find_base() should return MEMBLOCK_ERROR on failing path
all callees assume it return MEMBLOCK_ERROR when it fail to find a range Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- mm/memblock.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/memblock.c b/mm/memblock.c index c71b847..8ed7901 100644 --- a/mm/memblock.c +++ b/mm/membloc... 6 Jul 2010 18:55
[PATCH 30/49] memblock: Export MEMBLOCK_ERROR again
will used by x86 memblock_x86_find_in_range_node and nobootmem replacement -v2: use 0 instead -1ULL, Suggesed by Linus, so we don't need cast them later to unsigned long Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- include/linux/memblock.h | 1 + mm/memblock.c | 2 -- 2 files changed, ... 6 Jul 2010 18:55
[PATCH 31/49] memblock: Prepare to include linux/memblock.h in core file
Need to add protection in linux/memblock.h, to prepare to include it in mm/page_alloc.c and mm/bootmem.c etc. Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- include/linux/memblock.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/linux/memblock.h b/include/linux/membloc... 6 Jul 2010 18:55
[PATCH 49/49] x86: remove old bootmem code
Requested by Ingo, Thomas and HPA. it mean 2.6.34 and 2.6.35 have them bootmem and nobootmem for x86. and later for x86 will only have nobootmem Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- arch/x86/Kconfig | 10 +------- arch/x86/kernel/setup.c | 4 --- arch/x86/mm/init_32.c | 56 ----... 6 Jul 2010 18:55
First  |  Prev |  Next  |  Last
Pages: 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716