On 12/14/2016 at 05:13 PM, Liu ping fan wrote: > [...] >>> No. This patch just place a mark on these offline cpu. The next patch >>> for capture kernel will recognize this case, and ignore this kind of >>> pt_note by the code: >>> real_sz = 0; // although the size of this kind of PT_NOTE is not zero, >>> but it contains nothing useful, so just ignore it >>> phdr_ptr->p_memsz = real_sz >> If there is any other vmcore functional issue besides throwing "Warning: Zero PT_NOTE entries found"? >> > Not at present when I debugged. Well, agree that we should fix it given that it produces many unnecessary warnings on some machines. > I just think we can not suppose the behaviour of different archs, so > just mark out the dummy pt_note. If some archs want to use these notes > memory, > they will just overwrite the dummy. For cpu crash_notes, it should be arch-independent, and related to elf format. > > Thx, > Pingfan > > _______________________________________________ > kexec mailing list > kexec at lists.infradead.org > http://lists.infradead.org/mailman/listinfo/kexec