Re: [RFC PATCH for 4.21 01/16] rseq/selftests: Add reference counter to coexist with glibc

2018-10-23 Thread Mathieu Desnoyers
- On Oct 12, 2018, at 10:59 AM, Szabolcs Nagy szabolcs.n...@arm.com wrote: > On 11/10/18 20:42, Mathieu Desnoyers wrote: >> - On Oct 11, 2018, at 1:04 PM, Szabolcs Nagy szabolcs.n...@arm.com wrote: >> >>> On 11/10/18 17:37, Mathieu Desnoyers wrote: - On Oct 11, 2018, at 12:20

Re: [RFC PATCH for 4.21 01/16] rseq/selftests: Add reference counter to coexist with glibc

2018-10-23 Thread Mathieu Desnoyers
- On Oct 12, 2018, at 10:59 AM, Szabolcs Nagy szabolcs.n...@arm.com wrote: > On 11/10/18 20:42, Mathieu Desnoyers wrote: >> - On Oct 11, 2018, at 1:04 PM, Szabolcs Nagy szabolcs.n...@arm.com wrote: >> >>> On 11/10/18 17:37, Mathieu Desnoyers wrote: - On Oct 11, 2018, at 12:20

Re: [RFC PATCH for 4.21 01/16] rseq/selftests: Add reference counter to coexist with glibc

2018-10-12 Thread Szabolcs Nagy
On 11/10/18 20:42, Mathieu Desnoyers wrote: > - On Oct 11, 2018, at 1:04 PM, Szabolcs Nagy szabolcs.n...@arm.com wrote: > >> On 11/10/18 17:37, Mathieu Desnoyers wrote: >>> - On Oct 11, 2018, at 12:20 PM, Szabolcs Nagy szabolcs.n...@arm.com >>> wrote: On 11/10/18 16:13, Mathieu

Re: [RFC PATCH for 4.21 01/16] rseq/selftests: Add reference counter to coexist with glibc

2018-10-12 Thread Szabolcs Nagy
On 11/10/18 20:42, Mathieu Desnoyers wrote: > - On Oct 11, 2018, at 1:04 PM, Szabolcs Nagy szabolcs.n...@arm.com wrote: > >> On 11/10/18 17:37, Mathieu Desnoyers wrote: >>> - On Oct 11, 2018, at 12:20 PM, Szabolcs Nagy szabolcs.n...@arm.com >>> wrote: On 11/10/18 16:13, Mathieu

Re: [RFC PATCH for 4.21 01/16] rseq/selftests: Add reference counter to coexist with glibc

2018-10-11 Thread Mathieu Desnoyers
- On Oct 11, 2018, at 1:04 PM, Szabolcs Nagy szabolcs.n...@arm.com wrote: > On 11/10/18 17:37, Mathieu Desnoyers wrote: >> - On Oct 11, 2018, at 12:20 PM, Szabolcs Nagy szabolcs.n...@arm.com >> wrote: >>> On 11/10/18 16:13, Mathieu Desnoyers wrote: - On Oct 11, 2018, at 6:37 AM,

Re: [RFC PATCH for 4.21 01/16] rseq/selftests: Add reference counter to coexist with glibc

2018-10-11 Thread Mathieu Desnoyers
- On Oct 11, 2018, at 1:04 PM, Szabolcs Nagy szabolcs.n...@arm.com wrote: > On 11/10/18 17:37, Mathieu Desnoyers wrote: >> - On Oct 11, 2018, at 12:20 PM, Szabolcs Nagy szabolcs.n...@arm.com >> wrote: >>> On 11/10/18 16:13, Mathieu Desnoyers wrote: - On Oct 11, 2018, at 6:37 AM,

Re: [RFC PATCH for 4.21 01/16] rseq/selftests: Add reference counter to coexist with glibc

2018-10-11 Thread Szabolcs Nagy
On 11/10/18 17:37, Mathieu Desnoyers wrote: > - On Oct 11, 2018, at 12:20 PM, Szabolcs Nagy szabolcs.n...@arm.com wrote: >> On 11/10/18 16:13, Mathieu Desnoyers wrote: >>> - On Oct 11, 2018, at 6:37 AM, Szabolcs Nagy szabolcs.n...@arm.com >>> wrote: On 10/10/18 20:19, Mathieu

Re: [RFC PATCH for 4.21 01/16] rseq/selftests: Add reference counter to coexist with glibc

2018-10-11 Thread Szabolcs Nagy
On 11/10/18 17:37, Mathieu Desnoyers wrote: > - On Oct 11, 2018, at 12:20 PM, Szabolcs Nagy szabolcs.n...@arm.com wrote: >> On 11/10/18 16:13, Mathieu Desnoyers wrote: >>> - On Oct 11, 2018, at 6:37 AM, Szabolcs Nagy szabolcs.n...@arm.com >>> wrote: On 10/10/18 20:19, Mathieu

Re: [RFC PATCH for 4.21 01/16] rseq/selftests: Add reference counter to coexist with glibc

2018-10-11 Thread Mathieu Desnoyers
- On Oct 11, 2018, at 12:20 PM, Szabolcs Nagy szabolcs.n...@arm.com wrote: > On 11/10/18 16:13, Mathieu Desnoyers wrote: >> - On Oct 11, 2018, at 6:37 AM, Szabolcs Nagy szabolcs.n...@arm.com wrote: >> >>> On 10/10/18 20:19, Mathieu Desnoyers wrote: In order to integrate rseq into

Re: [RFC PATCH for 4.21 01/16] rseq/selftests: Add reference counter to coexist with glibc

2018-10-11 Thread Mathieu Desnoyers
- On Oct 11, 2018, at 12:20 PM, Szabolcs Nagy szabolcs.n...@arm.com wrote: > On 11/10/18 16:13, Mathieu Desnoyers wrote: >> - On Oct 11, 2018, at 6:37 AM, Szabolcs Nagy szabolcs.n...@arm.com wrote: >> >>> On 10/10/18 20:19, Mathieu Desnoyers wrote: In order to integrate rseq into

Re: [RFC PATCH for 4.21 01/16] rseq/selftests: Add reference counter to coexist with glibc

2018-10-11 Thread Szabolcs Nagy
On 11/10/18 16:13, Mathieu Desnoyers wrote: > - On Oct 11, 2018, at 6:37 AM, Szabolcs Nagy szabolcs.n...@arm.com wrote: > >> On 10/10/18 20:19, Mathieu Desnoyers wrote: >>> In order to integrate rseq into user-space applications, add a reference >>> counter field after the struct rseq TLS ABI

Re: [RFC PATCH for 4.21 01/16] rseq/selftests: Add reference counter to coexist with glibc

2018-10-11 Thread Szabolcs Nagy
On 11/10/18 16:13, Mathieu Desnoyers wrote: > - On Oct 11, 2018, at 6:37 AM, Szabolcs Nagy szabolcs.n...@arm.com wrote: > >> On 10/10/18 20:19, Mathieu Desnoyers wrote: >>> In order to integrate rseq into user-space applications, add a reference >>> counter field after the struct rseq TLS ABI

Re: [RFC PATCH for 4.21 01/16] rseq/selftests: Add reference counter to coexist with glibc

2018-10-11 Thread Mathieu Desnoyers
- On Oct 11, 2018, at 6:37 AM, Szabolcs Nagy szabolcs.n...@arm.com wrote: > On 10/10/18 20:19, Mathieu Desnoyers wrote: >> In order to integrate rseq into user-space applications, add a reference >> counter field after the struct rseq TLS ABI so many rseq users can be >> linked into the same

Re: [RFC PATCH for 4.21 01/16] rseq/selftests: Add reference counter to coexist with glibc

2018-10-11 Thread Mathieu Desnoyers
- On Oct 11, 2018, at 6:37 AM, Szabolcs Nagy szabolcs.n...@arm.com wrote: > On 10/10/18 20:19, Mathieu Desnoyers wrote: >> In order to integrate rseq into user-space applications, add a reference >> counter field after the struct rseq TLS ABI so many rseq users can be >> linked into the same

Re: [RFC PATCH for 4.21 01/16] rseq/selftests: Add reference counter to coexist with glibc

2018-10-11 Thread Szabolcs Nagy
On 10/10/18 20:19, Mathieu Desnoyers wrote: > In order to integrate rseq into user-space applications, add a reference > counter field after the struct rseq TLS ABI so many rseq users can be > linked into the same application (e.g. librseq and glibc). The > reference count ensures that rseq

Re: [RFC PATCH for 4.21 01/16] rseq/selftests: Add reference counter to coexist with glibc

2018-10-11 Thread Szabolcs Nagy
On 10/10/18 20:19, Mathieu Desnoyers wrote: > In order to integrate rseq into user-space applications, add a reference > counter field after the struct rseq TLS ABI so many rseq users can be > linked into the same application (e.g. librseq and glibc). The > reference count ensures that rseq

[RFC PATCH for 4.21 01/16] rseq/selftests: Add reference counter to coexist with glibc

2018-10-10 Thread Mathieu Desnoyers
In order to integrate rseq into user-space applications, add a reference counter field after the struct rseq TLS ABI so many rseq users can be linked into the same application (e.g. librseq and glibc). The reference count ensures that rseq syscall registration/unregistration happens only for the

[RFC PATCH for 4.21 01/16] rseq/selftests: Add reference counter to coexist with glibc

2018-10-10 Thread Mathieu Desnoyers
In order to integrate rseq into user-space applications, add a reference counter field after the struct rseq TLS ABI so many rseq users can be linked into the same application (e.g. librseq and glibc). The reference count ensures that rseq syscall registration/unregistration happens only for the