Re: [Patch v2 1/3] take the segment adding out of locate_mem_hole functions

2014-09-10 Thread Vivek Goyal
On Tue, Sep 09, 2014 at 07:36:18PM +0800, Baoquan He wrote: > In locate_mem_hole functions, a memory hole is located and added as > kexec_segment. But from the name of locate_mem_hole, it should only > take responsibility of searching a available memory hole to contain > data of a specified size. >

Re: [Patch v2 1/3] take the segment adding out of locate_mem_hole functions

2014-09-10 Thread Baoquan He
Sorry, CC this patchset to Andrew. On 09/09/14 at 07:36pm, Baoquan He wrote: > In locate_mem_hole functions, a memory hole is located and added as > kexec_segment. But from the name of locate_mem_hole, it should only > take responsibility of searching a available memory hole to contain > data of a

[Patch v2 1/3] take the segment adding out of locate_mem_hole functions

2014-09-09 Thread Baoquan He
In locate_mem_hole functions, a memory hole is located and added as kexec_segment. But from the name of locate_mem_hole, it should only take responsibility of searching a available memory hole to contain data of a specified size. So in this patch add a new field 'mem' into kexec_buf, then take tha