On Tuesday 09 May 2017 07:59 AM, Atsushi Kumagai wrote:
+ temp_seg.file_size = temp_seg.phys_end + - temp_seg.phys_start; (*pt_loads)[i].virt_end = kvstart - 1; (*pt_loads)[i].phys_end = start - 1; + (*pt_loads)[i].file_size -= temp_seg.file_size;I think we should additionally subtract (end - start), right ? This code seems to leave Crash Kernel region for the former half of PT_LOAD.
yes, you are right. Will send v2. Thanks for review. ~Pratyush _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec
