Re: [RFC PATCH 1/2] rseq: Implement KTLS prototype for x86-64

2020-10-29 Thread Florian Weimer
* Mathieu Desnoyers: > - On Sep 29, 2020, at 4:13 AM, Florian Weimer fwei...@redhat.com wrote: > >> * Mathieu Desnoyers: >> So we have a bootstrap issue here that needs to be solved, I think. >>> >>> The one thing I'm not sure about is whether the vDSO interface is indeed >>> superior

Re: [RFC PATCH 1/2] rseq: Implement KTLS prototype for x86-64

2020-10-20 Thread Mathieu Desnoyers
- On Sep 29, 2020, at 4:13 AM, Florian Weimer fwei...@redhat.com wrote: > * Mathieu Desnoyers: > >>> So we have a bootstrap issue here that needs to be solved, I think. >> >> The one thing I'm not sure about is whether the vDSO interface is indeed >> superior to KTLS, or if it is just the

Re: [RFC PATCH 1/2] rseq: Implement KTLS prototype for x86-64

2020-09-29 Thread Andy Lutomirski
On Mon, Sep 28, 2020 at 8:14 AM Florian Weimer wrote: > > * Mathieu Desnoyers: > > > Upstreaming efforts aiming to integrate rseq support into glibc led to > > interesting discussions, where we identified a clear need to extend the > > size of the per-thread structure shared between kernel and

Re: [RFC PATCH 1/2] rseq: Implement KTLS prototype for x86-64

2020-09-29 Thread Florian Weimer
* Mathieu Desnoyers: >> So we have a bootstrap issue here that needs to be solved, I think. > > The one thing I'm not sure about is whether the vDSO interface is indeed > superior to KTLS, or if it is just the model we are used to. > > AFAIU, the current use-cases for vDSO is that an application

Re: [RFC PATCH 1/2] rseq: Implement KTLS prototype for x86-64

2020-09-28 Thread Mathieu Desnoyers
- On Sep 28, 2020, at 11:13 AM, Florian Weimer fwei...@redhat.com wrote: > * Mathieu Desnoyers: > >> Upstreaming efforts aiming to integrate rseq support into glibc led to >> interesting discussions, where we identified a clear need to extend the >> size of the per-thread structure shared

Re: [RFC PATCH 1/2] rseq: Implement KTLS prototype for x86-64

2020-09-28 Thread Florian Weimer
* Mathieu Desnoyers: > Upstreaming efforts aiming to integrate rseq support into glibc led to > interesting discussions, where we identified a clear need to extend the > size of the per-thread structure shared between kernel and user-space > (struct rseq). This is something that is not possible

[RFC PATCH 1/2] rseq: Implement KTLS prototype for x86-64

2020-09-25 Thread Mathieu Desnoyers
Upstreaming efforts aiming to integrate rseq support into glibc led to interesting discussions, where we identified a clear need to extend the size of the per-thread structure shared between kernel and user-space (struct rseq). This is something that is not possible with the current rseq ABI.