Re: [RFC 2/4] Restartable sequences: powerpc architecture support

2016-07-27 Thread Mathieu Desnoyers
- On Jul 27, 2016, at 11:05 AM, Boqun Feng boqun.f...@gmail.com wrote: > Call the rseq_handle_notify_resume() function on return to userspace if > TIF_NOTIFY_RESUME thread flag is set. > > Increment the event counter and perform fixup on the pre-signal when a > signal is delivered on top of a

[RFC 2/4] Restartable sequences: powerpc architecture support

2016-07-27 Thread Boqun Feng
Call the rseq_handle_notify_resume() function on return to userspace if TIF_NOTIFY_RESUME thread flag is set. Increment the event counter and perform fixup on the pre-signal when a signal is delivered on top of a restartable sequence critical section. Signed-off-by: Boqun Feng --- arch/powerpc/