[RFC PATCH 2/3] restartable sequences: x86 ABI

2015-10-22 Thread Dave Watson
Implements the x86 (i386 & x86-64) ABIs for interrupting and restarting execution within restartable sequence sections. Ptrace is modified to single step over the entire critical region. --- arch/x86/entry/common.c | 3 ++ arch/x86/entry/syscalls/syscall_64.tbl | 1 +

Re: [RFC PATCH 2/3] restartable sequences: x86 ABI

2015-06-26 Thread Paul Turner
On Fri, Jun 26, 2015 at 12:31 PM, Andy Lutomirski wrote: > On Fri, Jun 26, 2015 at 11:09 AM, Mathieu Desnoyers > wrote: >> - On Jun 24, 2015, at 6:26 PM, Paul Turner p...@google.com wrote: >> >>> Implements the x86 (i386 & x86-64) ABIs for interrupting and restarting >>> execution within rest

Re: [RFC PATCH 2/3] restartable sequences: x86 ABI

2015-06-26 Thread Andy Lutomirski
On Fri, Jun 26, 2015 at 11:09 AM, Mathieu Desnoyers wrote: > - On Jun 24, 2015, at 6:26 PM, Paul Turner p...@google.com wrote: > >> Implements the x86 (i386 & x86-64) ABIs for interrupting and restarting >> execution within restartable sequence sections. >> >> With respect to the x86-specific

Re: [RFC PATCH 2/3] restartable sequences: x86 ABI

2015-06-26 Thread Mathieu Desnoyers
- On Jun 26, 2015, at 2:09 PM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > - On Jun 24, 2015, at 6:26 PM, Paul Turner p...@google.com wrote: > >> Implements the x86 (i386 & x86-64) ABIs for interrupting and restarting >> execution within restartable sequence sections. >> >

Re: [RFC PATCH 2/3] restartable sequences: x86 ABI

2015-06-26 Thread Mathieu Desnoyers
- On Jun 24, 2015, at 6:26 PM, Paul Turner p...@google.com wrote: > Implements the x86 (i386 & x86-64) ABIs for interrupting and restarting > execution within restartable sequence sections. > > With respect to the x86-specific ABI: > On 32-bit: Upon restart, the interrupted rip is

[RFC PATCH 2/3] restartable sequences: x86 ABI

2015-06-24 Thread Paul Turner
Implements the x86 (i386 & x86-64) ABIs for interrupting and restarting execution within restartable sequence sections. With respect to the x86-specific ABI: On 32-bit: Upon restart, the interrupted rip is placed in %ecx On 64-bit (or x32): Upon restart, the interrupted rip is place