Re: [PATCH] mm/memblock: use memblock_insert_region() for the empty array

2015-12-09 Thread Tyler Baker
On 4 December 2015 at 23:23, Alexander Kuleshov wrote: > We have the special case for an empty array in the memblock_add_range() > function. In the same time we have almost the same functional in the > memblock_insert_region() function. Let's use the memblock_insert_region() > instead of direct in

Re: [PATCH] mm/memblock: use memblock_insert_region() for the empty array

2015-12-09 Thread Dan Williams
On Fri, Dec 4, 2015 at 11:23 PM, Alexander Kuleshov wrote: > We have the special case for an empty array in the memblock_add_range() > function. In the same time we have almost the same functional in the > memblock_insert_region() function. Let's use the memblock_insert_region() > instead of direc

[PATCH] mm/memblock: use memblock_insert_region() for the empty array

2015-12-04 Thread Alexander Kuleshov
We have the special case for an empty array in the memblock_add_range() function. In the same time we have almost the same functional in the memblock_insert_region() function. Let's use the memblock_insert_region() instead of direct initialization. Signed-off-by: Alexander Kuleshov --- mm/memblo