On Thu, Nov 05, 2026 at 11:45:39AM +0800, Jinjie Ruan wrote: > 在 2026/11/4 22:56, Mike Rapoport 写道: > > >> Patches 8-10 pass the kbuf fields to crash_prepare_headers() to > >> simplfy code. > >> > >> Patch 11 frees the elf core header from the generic post-load cleanup. > >> > >> Patches 12-15 add kexec_load_other_segments() and convert the three > >> architectures, and arch_kexec_setup_other_segments() builds > >> the architecture specific boot parameters (a DTB or a command line). > > > > I think the refactoring should go before the identical fixes in arch/ > > code. > > However, this will cause trouble for the fix patch in the stable round.
That's right, but since actual fixes anyway require changes to kexec core, I think it's better to refactor first. The core than will take care of proper freeing in the most cases. And since CMA support in kexec is quite new I think the entire set can be backported to stable then. I'm planning to have a closer look at the refactoring Really Soon :) > -- > Best regards, > Jinjie > -- Sincerely yours, Mike.
