Re: [RFC PATCH v1 1/1] arm64: Implement stack trace termination record

2021-03-29 Thread Madhavan T. Venkataraman
On 3/29/21 6:27 AM, Mark Rutland wrote: > Hi Madhavan, > > Overall this looks pretty good; I have a few comments below. > > On Wed, Mar 24, 2021 at 01:46:07PM -0500, madve...@linux.microsoft.com wrote: >> From: "Madhavan T. Venkataraman" >> >> The unwinder needs to be able to reliably tell

Re: [RFC PATCH v1 1/1] arm64: Implement stack trace termination record

2021-03-29 Thread Mark Rutland
Hi Madhavan, Overall this looks pretty good; I have a few comments below. On Wed, Mar 24, 2021 at 01:46:07PM -0500, madve...@linux.microsoft.com wrote: > From: "Madhavan T. Venkataraman" > > The unwinder needs to be able to reliably tell when it has reached the end > of a stack trace. One way

[RFC PATCH v1 1/1] arm64: Implement stack trace termination record

2021-03-24 Thread madvenka
From: "Madhavan T. Venkataraman" The unwinder needs to be able to reliably tell when it has reached the end of a stack trace. One way to do this is to have the last stack frame at a fixed offset from the base of the task stack. When the unwinder reaches that offset, it knows it is done. Kernel