First  |  Prev |  Next  |  Last
Pages: 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523
[PATCH 25/49] memblock: Separate memblock_alloc_nid() and memblock_alloc_try_nid()
From: Benjamin Herrenschmidt <benh(a)> 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)> --- arch... 19 Jul 2010 20:10
[PATCH 41/49] x86, memblock: Add memblock_x86_find_in_range_node()
It can be used to find NODE_DATA for numa. Need to make sure early_node_map[] is filled before it is called, otherwise it will fallback to memblock_find_in_range(), with node range. Signed-off-by: Yinghai Lu <yinghai(a)> --- arch/x86/include/asm/memblock.h | 1 + arch/x86/mm/memblock.c | ... 19 Jul 2010 20:10
[PATCH] ds2782_battery: Rename get_current and get_voltage operations
commit 9b9ade6b612e562c4a5bd02ef38cc32e10f3f9ba "ds2782_battery: Add support for ds2786 battery gas gauge" introduced an operation named get_current. Since get_current() is defined as a macro on some architectures this driver no longer compiles on those architectures. Rename get_current to get_current_now to avo... 19 Jul 2010 20:10
[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: ... 19 Jul 2010 20:10
[PATCH 19/49] memblock: split memblock_find_base() out of __memblock_alloc_base()
From: Benjamin Herrenschmidt <benh(a)> 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... 19 Jul 2010 20:10
[PATCH 04/49] memblock: No reason to include asm/memblock.h late
From: Benjamin Herrenschmidt <benh(a)> Signed-off-by: Benjamin Herrenschmidt <benh(a)> --- include/linux/memblock.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/memblock.h b/include/linux/memblock.h index 86e7daf..4b69313 100644 -... 19 Jul 2010 20:10
[PATCH 2/4] x86: Add IRQ_TIME_ACCOUNTING, finer accounting of irq time to task
s390/powerpc/ia64 have support for CONFIG_VIRT_CPU_ACCOUNTING which does the fine granularity accounting of user, system, hardirq, softirq times. Adding that option on archs like x86 may be challenging however, given the state of TSC reliability on various platforms and also the overhead it may add in syscall entry... 19 Jul 2010 20:10
[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)> --- arch/x86/mm/init... 19 Jul 2010 20:10
[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)> --- mm/memblock.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/mm/memblock.c b/mm/memblock.c index... 19 Jul 2010 20:10
[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... 19 Jul 2010 20:10
First  |  Prev |  Next  |  Last
Pages: 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523