[Crash-utility] [PATCH] x86_64: Fix for move of per-cpu variables into struct pcpu_hot

HAGIO KAZUHITO(萩尾 一仁) k-hagio-ab at nec.com
Mon Dec 12 07:55:54 UTC 2022


On 2022/12/12 16:34, lijiang wrote:
> On Wed, Dec 7, 2022 at 8:47 AM HAGIO KAZUHITO(萩尾 一仁) <k-hagio-ab at nec.com> wrote:
>>
>> The following kernel commits (in linux-next now, to be updated)
>> introduced struct pcpu_hot and moved several per-cpu variables into it.
>>
>>     d7b6d709a76a x86/percpu: Move irq_stack variables next to current_task
>>     7443b296e699 x86/percpu: Move cpu_number next to current_task
>>     e57ef2ed97c1 x86: Put hot per CPU variables into a struct
>>
>> Without the patch, crash fails to start session with the following
>> error:
>>
>>     bt: invalid size request: 0  type: "stack contents"
>>     bt: read of stack at 0 failed
>>        <segmentation violation in gdb>
>>
> 
> Thank you for the early fix, Kazu.
> 
> This change looks good. So: Ack

Thanks for the review, I will update and apply this when the kernel
patches land on the mainline.

Thanks,
Kazu


More information about the Crash-utility mailing list