lkml.org 
[lkml]   [2022]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [RFC PATCH] rseq: x86: implement abort-at-ip extension
Date
> That being said, there might be an architecture agnostic alternative available.
> On abort of a RSEQ_CS_FLAG_ABORT_AT_IP critical section, we could let the kernel
> decrement/increment the stack pointer to make room for a pointer (depending if the
> stack grows down or up). It would then store the abort-at-ip value at the top of
> stack.

Stack redzone in a leaf function?

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
\
 
 \ /
  Last update: 2022-01-07 23:28    [W:0.137 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site