Re: [PATCH 18/22] aarch64: libitm: Add GCS support

2024-10-31 Thread Yury Khrustalev
On Thu, Oct 24, 2024 at 05:53:45PM +0100, Richard Sandiford wrote: > Yury Khrustalev writes: > > From: Szabolcs Nagy > > > Don't we still need to pop from the current stack up to the switch point, > in case something further up the call frame wants to switch back to it? > > If so, don't we also

Re: [PATCH 18/22] aarch64: libitm: Add GCS support

2024-10-25 Thread Richard Sandiford
Yury Khrustalev writes: > From: Szabolcs Nagy > > Transaction begin and abort use setjmp/longjmp like operations that > need to be updated for GCS compatibility. We use similar logic to > libc setjmp/longjmp that support switching stack and thus switching > GCS (e.g. due to longjmp out of a makec