Re: [PATCH v7 4/8] crash: add phdr for possible CPUs in elfcorehdr

2023-01-22 Thread Sourabh Jain
On 20/01/23 17:09, Laurent Dufour wrote: On 19/01/2023 19:29:52, Laurent Dufour wrote: On 15/01/2023 16:02:02, 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

Re: [PATCH v7 4/8] crash: add phdr for possible CPUs in elfcorehdr

2023-01-20 Thread Laurent Dufour
On 19/01/2023 19:29:52, Laurent Dufour wrote: > On 15/01/2023 16:02:02, 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

Re: [PATCH v7 4/8] crash: add phdr for possible CPUs in elfcorehdr

2023-01-19 Thread Laurent Dufour
On 15/01/2023 16:02:02, 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. > >

[PATCH v7 4/8] crash: add phdr for possible CPUs in elfcorehdr

2023-01-15 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 is used in kexec-tool for kexec_load