Re: [PATCH 03/14] arm: Add restartable sequences support

2018-05-22 Thread Mathieu Desnoyers
- On May 17, 2018, at 11:30 AM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: [...] > > Or as proposed by Boqun, we can simply call rseq_syscall in a > CONFIG_DEBUG_RSEQ > ifdef. Given that this is a debug option, is it worth it to add the > current->rseq > test for NULL in assemb

Re: [PATCH 03/14] arm: Add restartable sequences support

2018-05-17 Thread Mathieu Desnoyers
- On May 17, 2018, at 9:32 AM, Will Deacon will.dea...@arm.com wrote: > On Wed, May 16, 2018 at 04:13:13PM -0400, Mathieu Desnoyers wrote: >> - On May 16, 2018, at 12:18 PM, Peter Zijlstra pet...@infradead.org >> wrote: >> >> > On Mon, Apr 30, 2018 at 06:44:22PM -0400, Mathieu Desnoyers

Re: [PATCH 03/14] arm: Add restartable sequences support

2018-05-17 Thread Will Deacon
On Wed, May 16, 2018 at 04:13:13PM -0400, Mathieu Desnoyers wrote: > - On May 16, 2018, at 12:18 PM, Peter Zijlstra pet...@infradead.org wrote: > > > On Mon, Apr 30, 2018 at 06:44:22PM -0400, Mathieu Desnoyers wrote: > >> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > >> index a7f8e7f4b88f

Re: [PATCH 03/14] arm: Add restartable sequences support

2018-05-16 Thread Mathieu Desnoyers
- On May 16, 2018, at 12:18 PM, Peter Zijlstra pet...@infradead.org wrote: > On Mon, Apr 30, 2018 at 06:44:22PM -0400, Mathieu Desnoyers wrote: >> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig >> index a7f8e7f4b88f..4f5c386631d4 100644 >> --- a/arch/arm/Kconfig >> +++ b/arch/arm/Kconfig >>

Re: [PATCH 03/14] arm: Add restartable sequences support

2018-05-16 Thread Peter Zijlstra
On Mon, Apr 30, 2018 at 06:44:22PM -0400, Mathieu Desnoyers wrote: > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index a7f8e7f4b88f..4f5c386631d4 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -91,6 +91,7 @@ config ARM > select HAVE_PERF_USER_STACK_DUMP > select HA