Re: [PATCH 06/11] memblock: Improve memblock to support allocation from lower address.

2013-09-03 Thread Tang Chen
On 09/04/2013 08:24 AM, Toshi Kani wrote: .. +phys_addr_t __init_memblock +__memblock_find_range(phys_addr_t start, phys_addr_t end, + phys_addr_t size, phys_addr_t align, int nid) This func should be static as it must be an internal func. .. +phys_addr_t

Re: [PATCH 06/11] memblock: Improve memblock to support allocation from lower address.

2013-09-03 Thread Toshi Kani
On Tue, 2013-08-27 at 17:37 +0800, Tang Chen wrote: > This patch modifies the memblock_find_in_range_node() to support two > different allocation orders. After this patch, memblock will check > memblock.current_order, and decide in which order to allocate memory. > > Signed-off-by: Tang Chen >

Re: [PATCH 06/11] memblock: Improve memblock to support allocation from lower address.

2013-09-03 Thread Toshi Kani
On Tue, 2013-08-27 at 17:37 +0800, Tang Chen wrote: This patch modifies the memblock_find_in_range_node() to support two different allocation orders. After this patch, memblock will check memblock.current_order, and decide in which order to allocate memory. Signed-off-by: Tang Chen

Re: [PATCH 06/11] memblock: Improve memblock to support allocation from lower address.

2013-09-03 Thread Tang Chen
On 09/04/2013 08:24 AM, Toshi Kani wrote: .. +phys_addr_t __init_memblock +__memblock_find_range(phys_addr_t start, phys_addr_t end, + phys_addr_t size, phys_addr_t align, int nid) This func should be static as it must be an internal func. .. +phys_addr_t

[PATCH 06/11] memblock: Improve memblock to support allocation from lower address.

2013-08-27 Thread Tang Chen
This patch modifies the memblock_find_in_range_node() to support two different allocation orders. After this patch, memblock will check memblock.current_order, and decide in which order to allocate memory. Signed-off-by: Tang Chen Reviewed-by: Zhang Yanfei --- mm/memblock.c | 90

[PATCH 06/11] memblock: Improve memblock to support allocation from lower address.

2013-08-27 Thread Tang Chen
This patch modifies the memblock_find_in_range_node() to support two different allocation orders. After this patch, memblock will check memblock.current_order, and decide in which order to allocate memory. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com Reviewed-by: Zhang Yanfei