Re: [PATCH v5 3/6] crash: add phdr for possible CPUs in elfcorehdr

2022-11-23 Thread Sourabh Jain
On 22/11/22 23:28, Eric DeVolder wrote: On 11/20/22 17:25, Sourabh Jain wrote: On architectures like PowerPC the crash notes are available for all possible CPUs. So let's populate the elfcorehdr for all possible CPUs having crash notes to avoid updating elfcorehdr during in-kernel crash upda

Re: [PATCH v5 3/6] crash: add phdr for possible CPUs in elfcorehdr

2022-11-22 Thread Eric DeVolder
On 11/20/22 17:25, Sourabh Jain wrote: On architectures like PowerPC the crash notes are available for all possible CPUs. So let's populate the elfcorehdr for all possible CPUs having crash notes to avoid updating elfcorehdr during in-kernel crash update on CPU hotplug events. The similar tec

[PATCH v5 3/6] crash: add phdr for possible CPUs in elfcorehdr

2022-11-20 Thread Sourabh Jain
On architectures like PowerPC the crash notes are available for all possible CPUs. So let's populate the elfcorehdr for all possible CPUs having crash notes to avoid updating elfcorehdr during in-kernel crash update on CPU hotplug events. The similar technique was used in kexec-tool for kexec_load