在 2026/11/5 15:52, Mike Rapoport 写道:
> 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.

This way, each architecture doesn't have to worry about the issue of
incomplete resource release.

> 
> And since CMA support in kexec is quite new I think the entire set can be
> backported to stable then.

Make sense for me.

> 
> I'm planning to have a closer look at the refactoring Really Soon :) 

Thank you very much! Looking forward to your review.

> 
>> -- 
>> Best regards,
>> Jinjie
>>
> 

-- 
Best regards,
Jinjie


Reply via email to