On 15.12.16 11:01:04, Yisheng Xie wrote: > > I sent a V2 patch that uses pfn_present(). This only initilizes > > sections with memory. > hmm, maybe I do not quite catch what your mean, but I do not think > pfn_present is right for this case. > > IMO, The valid_section() means the section with mem_map, not section with > memory.
Right, the section may be uninitialized with the present flag only. valid_section() is better, this is also the pfn_valid() default implementation. Will rework. Thanks. -Robert

